developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO
MIT License
490 stars 114 forks source link

Visualize class names on the bounding box #56

Closed e8035669 closed 1 year ago

e8035669 commented 1 year ago

I also need class names on the bounding box, just like #43 says. So I try my best to made one, and mimic the "Darknet style". Hope you like it. 😊

By the way, I found QImage::scaled() returned an image with different format. It returned an image with QImage::Format_RGB32 format, then gamma transform would not work perfectly. I has fixed this problem.

These function has been tested on my Manjaro Linux, with Qt 5.15.6

developer0hye commented 1 year ago

@e8035669 Thanks for your contribution!

I am too busy recently so that I can't check this pr right now. I will check and merge it after I finish my missions.

Kazox61 commented 1 year ago

Hello, I also have some really nice ideas for future updates. A important one to me is a toggle button for each label to hide the rects of one class and for that purpose also a button to toggle all on and off. Zooming would be also an insane feature. Also a way to save your path of the images folder and class name file. I lopen every day the application and need to select the folders. It doesnt take that long but could be a nice feature. Maybe a statistic how many labels for each class is on a image. I have often 100 labels on 1 image which will make it really messy. You could go deeper and also show stastics about all images in the folder. Most feeatures i need to due to using a early state of my model to locate objects. I fix them quickly and use them for training in the future I would add it on my own. Can you explain a bit how you developed the tool. Which framework did you use? Programming language is c++ i saw

e8035669 commented 1 year ago

hey @Kazox61 I agree. Zooming functional, hide some classes, history list and some statistics are great ideas. especially when you have lots of images to deal with, these feature will help them very much. If you want to implement these feature, You need Qt framework installed, Qt designer IDE is also an important tool to work with GUI design.

developer0hye commented 1 year ago

Please wait for me, I will come back on this December!!

developer0hye commented 1 year ago

@e8035669 @Kazox61

I started reviewing this PR.

Thanks for your works and opinions to make a better labeling program.

I think that users can turn off plotting label function because label can occlude objects to be labeled.

So I wanted to turn on and off this option by a shortcut or checkbox. What do you think of this proposal?

Plus, if you agree with my opinion, what shortcut should we choose for this option?

developer0hye commented 1 year ago

image

Using radio button for this function is more intuitive??...

e8035669 commented 1 year ago

Thanks for your reply.

It will be great if users can turn on or off this function when they need.

I think making shortcut > checkbox > ratio button

If make a shortcut on the left hand side, users can press it easily by there left hand. Your work already has some shortcut function, add a new shortcut is more consistent I think.

Makeing a checkbox is also good, maybe a checkbox is intuitive than a shortcut. The main window usually has some empty space on the bottom right, we can put the checkbox there.

If make a ratio button, it will need a pair of ratio button, for one is turn on, another one is turn off. I think a checkbox is enough for now.

developer0hye commented 1 year ago

@e8035669

Your code for exceptions is amazing!