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