HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.77k stars 6.31k forks source link

Feature Requests and ideas #218

Open kevinkit opened 6 years ago

kevinkit commented 6 years ago

I love working with this tool, however I have some ideas which I would like to contribute - or even implement if they are wanted by a larger audience. Thus, this issue is for discussing these ideas.

  1. Suggest class names based on the file name. Often a file name is already dog.jpg or cat.jpg, it is just missing the bounding box. So, one does not have to type in the class name, if it is already in the filename.

  2. Allow to copy several bounding boxes between images. Sometimes, there are several images where the objects are almost at the same area in the image. Hence, it could be helpful to copy the bounding boxes from one image to the other.

  3. Possibilty to delete Labels from the box. Sometimes, the user knows that he will no longer need the label / class, so it is just simply in the way or occpuying space in the desired class. So a delete button could maybe clean up the list.

  4. Auto-Suggestion of labels. The field for entering a new label could be also be used as a search field for already existing labels

Let me know what do you think of these improvements, or if they were discuessed in other issues (I could not find any).

tzutalin commented 6 years ago

Nice ideas. I shared some experiences I met before. About #1, the filename of most of the images is unpredictable like the number-only filenames. About #4, I have thought the same feature before, and the implementation is not difficult. However, it required to integrate other libraries like tensforflow, opencv, etc.(Even some native shared library). Then, I found it is the time-consuming task for me to integrate them to build binaries for different platforms.

kevinkit commented 6 years ago

I meant it a little bit different for the 4th point:

E.g. I have a list of 100 classes, which all have different names, e.g.: Person,Truck, Cat, Dog, and so on. When I am beginning to type in the label in the box, the shown classes could be sorted by the string typed in the field, so when one types: "D " there are only labels shown which start with a D, and then when it is typed further like "Do" only labels that have a Do in it are shwon and so on

PatrickBue commented 6 years ago

Hi, very nice UI indeed. Another suggestion for improvement could be around visualization of the bounding box annotations: the rectangles could have different colors for each class, and could show the annotated class e.g. in the top or bottom corner such as here: http://cvlab.postech.ac.kr/~mooyeol/pascal_voc_2012/layoutexamples/images/08_parts.jpg

kevinkit commented 6 years ago

@PatrickBue I do not know if you use the current code or the prebuilt binaries, but I think the prebuilt binaries are outdated, cause the different colors are actually already implemented in the current code version

PatrickBue commented 6 years ago

@kevinkit Thanks for letting me know. That's great. Any estimate when the prebuilt binaries will get updated?

kevinkit commented 6 years ago

@PatrickBue no - I have no idea, I am just a user nothing more. However, I compiled it into an .exe, you can download a more recent version here: https://dropfile.to/yxhuLpb or open another issue and aksing for a new built version

tzutalin commented 6 years ago

@PatrickBue , Show the annotated class https://github.com/tzutalin/labelImg/commit/deb8b844f9fe66daa9c4732f1b9c4ef2aa913fe7

PatrickBue commented 6 years ago

Thanks for adding this feature!!

7thstorm commented 5 years ago

Would love for this to have an option of deleting an image. Sometimes, I have a folder list of already annotated images in the thousands and I go ahead and delete the labels of a some. But then since the XML files still remain, I have to go through the folder to find ones without the tag and manually delete them. A KB shortcut to delete an image and also delete the xml/txt file would be really useful

talhakabakus commented 5 years ago

I would like to be able to see only the "not annotated images" when the image directory is opened. Between, thanks for this great tool, much appreciated. @tzutalin