Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isuue with the sizes of bounding boxes #39

Open
eladpar opened this issue Mar 7, 2024 · 1 comment
Open

Isuue with the sizes of bounding boxes #39

eladpar opened this issue Mar 7, 2024 · 1 comment

Comments

@eladpar
Copy link

eladpar commented Mar 7, 2024

Hey! so when I publish images by the size 640x640 everything seems to be OK.
But when I publish an image with dimensions 1280x720 the bounding boxes get "smooshed" they don't fit not the 640x640 image nor do they fit 1280x720 image.
Of course I'm using the image dimension parameters in the launch file, but is there a hardcover dimensions somewhere? Except for the fact yolo works with 640x640..

In yolov5 issac ros I just used to push the 1280x720 image and it would get resized in the input of the yolonn

@mstiehm-NF
Copy link

mstiehm-NF commented Mar 31, 2024

I think I fixed this in my fork.
I only tested using 640x480, but I think it should work with bigger images.
I added target_image dims to this file: here
I also added a num_classes param which you'll have to set back to default if you want to use the stock model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants