We are creating .vec file of positive images through opencv_createsamples.exe where we are inputting the positive images within the -info command through .dat file, we are specifying co-ordinates for each of the images within the .dat file. Kindly elaborate on what those co-ordinates are and what is the purpose of putting them into .dat file?
According to my understanding the upper left corner is the 0,0 co-ordinate of the image. The data we put in the .dat file is like: image_path/image_name.jpg 1 250 180 350 200 here the 1 denotes the number of cropping we want to do from a single image 250 is the x co-ordinate value to the right side of 0,0 180 is the y co-ordinate value downwards to 0,0 350 denoted the width of the image 200 denotes the height of the image
Please let me know whether its correct or not and explain the same. Thanks in advance