Annotations of the detections - layout #19
-
Hi, I have a question about the given format in review_object_detection_metrics/data/database/dets/abs_xyx2y2. I am trying to use this format (as i noticed in review_object_detection_metrics/data/database/dets/abs_xyx2y2): class_id, confidence, left, right, top, bottom. Here goes the annotation of my detection data: And I selected the option: "(*) <class_id> (ABSOLUTE)" Is that right? Because I formated my detection annotations like this, but when Ì try to run I received the following message in the dialog: "No detection of the selected type was found in the folder. I am using the voc.names (as you do) with just one class_id (mango that is the class 0) because I am predicting mangoes. Could you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Blyuger , You annotations are not in ABSOLUTE values. Neither in RELATIVE values, as the coordinates should have values between 0 and 1. The problem with your annotion is that your bounding box coordinates (17.73, 28.54, 71.39, 96.63) does not match the format (left, top, width, height). Your coordinates are not in absolute values. Note that your bounding box cannot be 17.73 pixels right from the origin, nor 71.39 pixels wide. You should either change your files with bounding box coordinates to absolute INTEGER values, as in: or fill the decimal places with zeros as the files in the folder database/dets/abs_xyx2y2. So your coordinates should be: Rafael |
Beta Was this translation helpful? Give feedback.
Hi @Blyuger ,
You annotations are not in ABSOLUTE values. Neither in RELATIVE values, as the coordinates should have values between 0 and 1.
The problem with your annotion is that your bounding box coordinates (17.73, 28.54, 71.39, 96.63) does not match the format (left, top, width, height). Your coordinates are not in absolute values. Note that your bounding box cannot be 17.73 pixels right from the origin, nor 71.39 pixels wide.
You should either change your files with bounding box coordinates to absolute INTEGER values, as in:
18 29 71 97
or17 28 71 96
or fill the decimal places with zeros as the files in the folder database/dets/abs_xyx2y2. So your coordinates should be:
18.00 29.00 …