Image annotation tool LabelImg download and installation tutorial

Link: https://blog.csdn.net/jesse_mx/article/details/53606897

      The labelimg software is a free image labeling tool , which can easily create your own data set and facilitate deep learning training. The operating environment of the tool is python+lxml, FasterR-CNN, YOLO, SSD. The download version provided in the link is WINDOWS The platform version does not need to be compiled, and friends who need it download it.

       I am preparing some training data sets for YOLO, so I need to use this tool to frame some objects in the picture, and automatically obtain the position and size information of the frame and know the generic label of the object.

       In fact, the download and installation link of the tool is very clear, but there is still a problem when I download and install it according to the link. Here are some personal experiences:

     1. First download the LabelImg tool: link: https://pan.baidu.com/s/1ZxVWJyScEOEdXzW9jHWNyQ Password: uysx

     2. Download the version of Anconda python2.7: https://blog.csdn.net/jesse_mx/article/details/53606897

       And also attach the use of Anaconda: https://blog.csdn.net/ztf312/article/details/65448597

     In fact, here, the downloaded things are downloaded, but I enter the Labelimg folder in the terminal or Anaconda Prompt to execute

When the first command found that pyrrc4 was not an internal command, it suggested that it was not an internal command, so I checked the extension package with conda list, and found that the version of pyqt that comes with conda is 5.6.0. And you will find that the downloaded labelImg package is written based on pyqt4, so you need to uninstall pyqt5.6, and then download version 4.11. I encountered the problem of windowerror5 when I uninstalled, because the permissions are not enough, and I need to run the windows shell as an administrator. Right-click in [Start], select windows powershell (administrator), and then run here in sequence:

conda remove pyqt

conda install pyqt=4

In this way, when looking at the extension package (conda list command), I found that the pyqt version has dropped to 4.11. At this time, it should be possible to execute the three commands on the screenshot in sequence, but I still can't execute the first one, so I changed 4 to 4. In 5, it is found that the execution of Chenggong is performed. When executing the second item, you need to modify the pyqt5 in a certain file to pyqt4 according to the error prompt. There will not be too many. When you can successfully execute the second command, the Labelimg interface will pop up, as shown below:


For the use of this tool, it should be very simple, I believe everyone can! ! !

Thanks to the bloggers in the link for the article guidance! ! !


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324504696&siteId=291194637
Recommended