-
Notifications
You must be signed in to change notification settings - Fork 189
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
Is there a way to display object name over the bounding box in the GUI? #108
Comments
As a workaround, I have tried implementing this function which creates the bounding box by finding corners using homography Matrix but it STILL DOESN'T WORK.( I referenced Here, I am not sure why this is happening. It would be really helpful if someone can provide some reference or solution to this problem.
Thanks, |
Okay, so I was able to resolve this issue! The first row in the matrix was supposed to be: |
Hi, sorry for delay to answer, I will re-open this issue as it could be indeed an option to add in the standalone ui. |
Hi @jasmeet0915, how did you manage to get the names of your different objects from the "filePaths"? I have tried the solution suggested in #71 but I could not get the result. I created a folder called "images" which contains "can.png" and "bottle.png". I set the "objects_path" in the launchfile to this folder. When I launch it I get the preloaded images and detect them, but the output is still "Object1 is detected" instead of "Can is detected". Can you tell me which files and lines you edited? I only edited the launch file which looks like this:
|
Hi @ican9595, sorry for the delayed response. I did not edit the find_object_2d files for this. I implemented this using python for one of my projects where I wanted to display a single image with the bounding boxes and object names. You don't need to make any changes to your launch file for this I guess. The only find_object_2d file I changed was this where I set the |
Hi @jasmeet0915, Thanks |
Hi!
I am using find_object_2d for a perception task where I have to detect 6 different types of objects. Samples of those objects are stored inside an 'objects' directory in subdirectories with names of the objects as suggested in issue #71 and then I am using the
DetectionInfo msg
frominfo topic
to get the name from'filePaths'
.Is it possible to display that name over the respective bounding box in the main find-object GUI?
If not, is there any workaround to display an image with the bounding box and the name when the objects are detected?
Cheers,
Jasmeet
The text was updated successfully, but these errors were encountered: