satojkovic / DeepLogo

A brand logo detection system using tensorflow object detection API.
MIT License
512 stars 157 forks source link

Bounding Boxes for Logos #39

Closed wilschmidtt closed 4 years ago

wilschmidtt commented 4 years ago

Hi, I have a question about the output images in the 'detect_results' directory. I see that there is both a bounding box around the logo and a confidence score for which brand the logo belongs to. I want to ask if the bounding box is determined during the testing process, or is the bounding box simply drawn using the coordinates from the annotation.txt file? I am asking this because I am wondering if I run DeepLogo on my own dataset, will it be able to identify and draw the bounding boxes automatically, or do I need to provide these in a .txt file? I am less interested in the classification, but more interested in potentially using DeepLogo to automate the process of locating a logo within an image. Is this possible? Thanks.

wilschmidtt commented 4 years ago

Hi, to clarify the above question, I want to ask if it is possible to run the trained model along with logo_detection.py on my own collection of images if I do not have bounding box annotations for the images? I see that in the inference step when we ran the program we needed to include the --test_annot_text parameter. I understand why this is necessary for evaluating the model's performance, but is there a way to use logo_detection.py without including image annotations? If so, what would the command look like? Thank you.