Use anaconda to install labelimg under the window10 system (simple, no need to download the independent installation package)

As a rookie, record some routine operations in the learning process as a record of your own learning.

The steps to install labelimg using anaconda under window10 are as follows (labelme is the same, but the dependent environment is different)

1. Download and install anaconda: Anaconda | The World's Most Popular Data Science Platform

 During the installation process, the path should not contain Chinese, and the specified installation folder needs to be empty

During installation, both options must be selected. (Because I reinstalled the system on my computer, everything is missing, including the python environment). For the rest, just follow the steps.

2. Download labelimg

1 ) Enter the Anaconda prompt and create a new labelImg environment

conda create --name=labelImg python=3.8

2) Activate the environment just created

conda activate labelImg

3) Install dependent libraries

pip install pyqt5

4) Install the labelImg library

pip install labelImg

 After the installation is successful, it will look like the following

Finally, enter labelimg directly to enter the software.

But next time we re-enter, we need to re-activate the environment, and then enter, after activation, you can see that the base has changed to labelimg. You can enter in cmd with win+r, or enter in the anaconda prompt, which is the same.

conda activate labelimg
labelimg

The subsequent use is very simple. When marking, the location of the folder must be selected, otherwise there will be a situation where the picture and the label do not correspond.

3. Use labelimg

  1. Folder to choose the save path
  2. Determine the format of the label, there are two options
  3. If you determine the name of the label, you can use the default option
  4. Select the auto-save option, press A or D to switch left and right is very convenient
  5. The selection mode is automatic, so that you don't need to manually create a label box every time

Guess you like

Origin blog.csdn.net/weixin_59978471/article/details/128388317