What are the output of detection_predictor? #1619
Replies: 4 comments 6 replies
-
Hi @yumikim381 👋, Correct the format is |
Beta Was this translation helpful? Give feedback.
-
That helps so much! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello! I was wondering what exactly detection_predictor returns?
Let's say output is the return value from DetectionPredictor([npimg]).
I get that when you do output [0]["words"], you get an array with 4 coordinates of the bounding boxes and score,
but the coordinates seems to be all starting with "0. .. " .Like this :
[[0.6015625 0.9375 0.70898438 0.97265625 0.58779669] [0.484375 0.93847656 0.55566406 0.97265625 0.5817132 ] [0.22265625 0.93652344 0.29394531 0.97558594 0.56156856] [0.13085938 0.93847656 0.19238281 0.96777344 0.60816777]
My question is how are the coordinates ordered: i m guessing they are xmin, ymin, xmax, ymax but is the order correct?
Also why are the coordinates so small? How can i get the coordinate of bounding boxes in the original image?
Thank you and have a nice day!
kind regards,
Yumi
Beta Was this translation helpful? Give feedback.
All reactions