Yes the values of the bounding boxes are stored in the same csv file. Well what I wanted to do (not sure if this is the right approach) is load the images, labels and bounding boxes into a dataloader for training. I tried some basic examples using the matplotlib and openCV. What I’m stuck on is on how to load the data in a way that the network will know that it is a bounding box. is there a basic formula/method for something like this? if my approach is wrong, please do let me know. I’m sorry if this confusing.
These are some of the examples I was referring to:
https://www.programcreek.com/python/example/89437/cv2.boundingRect 95

  
      
      PyImageSearch – 3 Apr 17
  
  
    

Facial landmarks with dlib, OpenCV, and Python - PyImageSearch 60

Learn how to detect and extract facial landmarks from images using dlib, OpenCV, and Python.


  
  
    
    
  
  


https://www.programcreek.com/python/example/102281/matplotlib.pyplot.Rectangle 19