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

Question regarding box label #62

Open
YumTaha opened this issue Dec 4, 2024 · 3 comments
Open

Question regarding box label #62

YumTaha opened this issue Dec 4, 2024 · 3 comments

Comments

@YumTaha
Copy link

YumTaha commented Dec 4, 2024

I am working on understanding the yolo_ros Python file and its functions, going through each line to identify where things are defined and how to modify them. For instance, I want to edit the label text, colors, and other parameters, as well as understand the calculation process. However, there is limited documentation and comments explaining the functionality of each method or function. Is there a video or more detailed documentation available for these Python files?

image

@mgonzs13
Copy link
Owner

mgonzs13 commented Dec 5, 2024

@YumTaha there is no more doc for now.

For instance, I want to edit the label text, colors

The debug node is in charge of publishing the image with the 2B boxes, labels, and scores.

@YumTaha
Copy link
Author

YumTaha commented Dec 5, 2024

Is there a way to display the (x, y, z) coordinates instead of the scores when the 3D node is enabled (use_3d:=True), and keep the scores displayed when use_3d:=False?

@mgonzs13
Copy link
Owner

mgonzs13 commented Dec 6, 2024

Labels are drawn here

cv2.putText(cv_image, label, pos, font, 1, color, 1, cv2.LINE_AA)

You can modify the label before this line.

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