vincentgong7 / VG_AlexeyAB_darknet

A forked AlexeyAB Darknet repo with extra convenient functions.

Home Page:https://darknet.gong.im

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to hide the label name in the output picture

slbai01 opened this issue · comments

Hi,

I have a special need. I only need to judge a category in the picture, so I want to remove the label name in the picture and keep the box in the result, so that I can easily check the result, how can I do it?

Thanks

Hi,
If you only want to check whether a number of images containing one object (for example people) and maybe count the number of people in each image, you can do it by parsing the JSON result exported by the detector (please see the sample command in the README). If this is not the case, and if you want to only keep the bounding box on people in the images and remote the label name (such as "people"), this requires to modify source files.

BR,
Vincent

@vincentgong7
So even temporarily it is not possible disable the labelin in the opencv window after recognition. Asking as i want to count manually my objects on a single image. I have more than 100 counted in JSON and i want to compare it with my original photo. Where the bounding boxes are located and not overlapping ones.

Simply if its possible to disable even temporarily the label name in output as others suggest above. Reason is i have 100+ counts of the same object class in JSON and i want to compare with the original photo(no labels) if my model reflects the reality in count.