FeiGeChuanShu / ncnn-android-yolov8

Real time yolov8 Android demo by ncnn
408 stars 83 forks source link

modify the bounding box #22

Closed ClintJoey closed 12 months ago

ClintJoey commented 1 year ago

Thanks for this @FeiGeChuanShu, I managed to make it work. I want to modify the color of the bounding box for each class predicted like for example: person = blue bounding box, car = orange bounding box, tv = red bounding box, etc. Does anyone know how to do this? Thanks in advance (I'm still a newbie).

NovaShen555 commented 12 months ago

yolo.cpp line373 u can change the rgb number to change the color