vincentgong7 / VG_AlexeyAB_darknet

A forked AlexeyAB Darknet repo with extra convenient functions.
https://darknet.gong.im
Other
84 stars 41 forks source link

How to hide the label name in the output picture #15

Open slbai01 opened 4 years ago

slbai01 commented 4 years ago

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

vincentgong7 commented 4 years ago

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

panban-ux commented 3 years ago

@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.

vincentgong7 commented 3 years ago

Sorry, I did not understand your question. Could you elaborate it more clearly?

Regards,

Vincent X. Gong

On Tue, Dec 22, 2020 at 6:01 PM Panagiotis notifications@github.com wrote:

@vincentgong7 https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vincentgong7/VG_AlexeyAB_darknet/issues/15#issuecomment-749659183, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSXEI3S7LQWFOCETY3KZWDSWDGGTANCNFSM4M4WLCFA .

panban-ux commented 3 years ago

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.

vincentgong7 commented 3 years ago

It is possible, but I have t modify the code as there is no configuration directory doing this.

Regards,

Vincent X. Gong

On Wed, Dec 23, 2020 at 7:14 PM Panagiotis notifications@github.com wrote:

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vincentgong7/VG_AlexeyAB_darknet/issues/15#issuecomment-750416136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSXEIZKDBRBFG6FDTLR2QDSWIXQRANCNFSM4M4WLCFA .