-
Notifications
You must be signed in to change notification settings - Fork 108
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
how to visualise the bounding_box.txt file in an image? #9
Comments
@thtang does this repo has any method for that or do I have to create one for my self? |
Once you have the coordinates, functions in OpenCV could deal with the bounding box visualization. |
How do I create bounding boxes for that, can you provide an example? |
@rajdeinno I know the code is very roughly patched but it does the job. It takes an image input , checks if it's bboxes are defined in bbox actual file then draws boxed regions (predicted and actual ones). This code only draws bbox of first class of an input images. You can add further checks to work it for all class labels. |
@Sadam1195 @thtang Two questions please: a. How did you get the bounding_box.txt in output folder? Is it the ground truth? Appreciate your help! |
a. Hope it helps. :) |
@Sadam1195 please how to replicate I am getting issue during replication of this study. Please help me if possible thanks |
It is impossible to help you out without you providing any details of what kind of issue you are having. If that issue is related to this particular issue post your error here otherwise create a new issue. |
@Sadam1195 thank you for your quick feedback. |
@Sadam1195 @thtang |
You probably have low GPU memory. Try Colab or Kaggle Kernels. Please do not tag me, this is not facebook. If you face any issues create a new issue and comment your problem along with the error you are getting. |
I am able to generate the bound_box.txt file after I execute the denseNet_localization.py file.
how to visualize the bound box text file into the input image? as you mentioned in ground-truth label (red) and its prediction (blue).
Thanks in advance..
The text was updated successfully, but these errors were encountered: