Comments (3)
Note that Azure follows COCO's annotation format, which is x_relative, y_relative, width_relative, height_relative
.
In our repository, the BoundingBox object in the format XYWH RELATIVE refers to YOLO's relative format:
The difference is that YOLO's format has the first two coordinates (x,y) as the center of the bounding box.
I hope that helped. :)
from review_object_detection_metrics.
Hi @dmesquita ,
Thank you for your message.
The values are correct. Please, see the explanation below:
When you create the following bounding box:
bbox = BoundingBox(
"img_filename",
"category_class",
(
0.04287003610108303,
0.04801829268292683,
0.22021660649819497,
0.11178861788617887,
),
CoordinatesType.RELATIVE,
(540, 960),
None,
BBType.GROUND_TRUTH,
BBFormat.XYWH,
)
- you are setting the following bounding box coordinates in the relative format:
x_center = 0.04287003610108303
y_center = 0.04801829268292683
width = 0.22021660649819497
height = 0.11178861788617887
- you are considering the resolution of your image as
width=540
andheight=960
Note that the relative coordinates you are providing are in the following format (x_center, y_center, width, height)
:
So, when you convert the relative coordinates into absolute coordinates, you will have the following values:
X = -36.3086
Y = -7.9024
width = 118.9169
height = 107.3170
Best regards,
Rafael
from review_object_detection_metrics.
Thanks! It' seems strange, I'm using a dataset from the Azure Custom Vision export and it says the coordinates are "bbox": [x,y,width,height]"
. When I plot them using x and y with bbox (instead of Xc and Yc) the bb seem to be ploted correctly. I'll dig deep to see what's going on, thanks!
from review_object_detection_metrics.
Related Issues (20)
- Equation (9) and (11) in publication HOT 3
- how to use commond line ? HOT 1
- Do you have the detection results of different detection models in coco json format. HOT 1
- could't open detected the annotation file made by yolov4 darknet HOT 2
- How to calculate the general Precision x recall curve of the detection model? HOT 1
- Coordinates format has repeated option HOT 4
- Can you share commands on how to run the coco and PascalVOC evaluators via terminal to generate the outputs? HOT 3
- No results HOT 4
- Feature request: Docker containerization HOT 3
- move(self, int, int): argument 1 has unexpected type 'float' HOT 5
- ModuleNotFoundError: No module named 'src' HOT 4
- Bug in the converter.py while looking for images folder ? HOT 1
- AttributeError: 'list' object has no attribute 'items' HOT 1
- Please provide command line to evaluate on terminal HOT 1
- Issue during start: TypeError: arguments did not match any overloaded call HOT 3
- np.bool is deprecated HOT 5
- numpy: set_window_title moved to manager HOT 3
- Building the conda environment causes an endless loop HOT 2
- Result is 0 HOT 3
- Getting precision, recall, F1 values HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from review_object_detection_metrics.