Image Annotation Project in Python
Budget: $10 – $30 USD
Below are the steps to take - I'm looking to annotate probably 200 images - there are two views so we'll need 100 images from each side
Directions to follow:
### Using LabelImg
#### Step 1: Install LabelImg
1. **Install Python**: Make sure Python is installed on your system.
2. **Install LabelImg**: Open a command prompt and run:
```bash
pip install labelImg
```
#### Step 2: Launch LabelImg
1. **Open LabelImg**: Run the following command in your command prompt:
```bash
labelImg
```
#### Step 3: Annotate Images
1. **Open Directory**: Click "Open Dir" and select the folder containing your images.
2. **Create RectBox**: Click "Create RectBox" or press `W` to draw a bounding box around the jersey number.
3. **Label the Box**: After drawing the box, a dialog will prompt you to enter a label. Use a generic label like "jersey_number".
4. **Save Annotation**: Click "Save" or press `Ctrl + S` to save the annotation. Ensure you select the YOLO format if you're planning to use YOLO for training.
5. **Next Image**: Use the right arrow key or the "Next Image" button to move to the next image and repeat the process.
#### Step 4: Export Annotations
1. **Export Format**: Ensure your annotations are saved in the desired format (e.g., YOLO, Pascal VOC).
2. **Verify Files**: Check that each image has a corresponding annotation file with the same name but a `.txt` extension (for YOLO).
### Using VoTT
#### Step 1: Download and Install VoTT
1. **Download VoTT**: Visit the [VoTT GitHub Releases page](https://github.com/microsoft/VoTT/releases) and download the installer for your operating system.
2. **Install VoTT**: Run the installer and follow the instructions to install VoTT.
#### Step 2: Create a New Project
1. **Launch VoTT**: Open the VoTT application.
2. **New Project**: Click "New Project" and set up your project by specifying the source and target connections (local file system, Azure Blob Storage, etc.).
3. **Add Tags**: Define your tags (e.g., "jersey_number") in the project settings.
#### Step 3: Annotate Images
1. **Open Images**: Load your images into the project.
2. **Draw Bounding Boxes**: Use the rectangle tool to draw bounding boxes around the jersey numbers.
3. **Assign Tags**: Click on each bounding box and assign the appropriate tag from your defined list.
#### Step 4: Export Annotations
1. **Export Settings**: Click "Export" and choose the desired export format (e.g., YOLO, Pascal VOC).
2. **Specify Location**: Select the export location and any additional settings required for the chosen format.
3. **Export**: Execute the export process to generate annotation files.
### General Tips
- **Consistency**: Ensure consistent labeling across all images.
- **Backup**: Regularly save and back up your annotations to prevent data loss.
- **Quality Check**: Review annotations for accuracy and completeness before exporting
Directions to follow:
### Using LabelImg
#### Step 1: Install LabelImg
1. **Install Python**: Make sure Python is installed on your system.
2. **Install LabelImg**: Open a command prompt and run:
```bash
pip install labelImg
```
#### Step 2: Launch LabelImg
1. **Open LabelImg**: Run the following command in your command prompt:
```bash
labelImg
```
#### Step 3: Annotate Images
1. **Open Directory**: Click "Open Dir" and select the folder containing your images.
2. **Create RectBox**: Click "Create RectBox" or press `W` to draw a bounding box around the jersey number.
3. **Label the Box**: After drawing the box, a dialog will prompt you to enter a label. Use a generic label like "jersey_number".
4. **Save Annotation**: Click "Save" or press `Ctrl + S` to save the annotation. Ensure you select the YOLO format if you're planning to use YOLO for training.
5. **Next Image**: Use the right arrow key or the "Next Image" button to move to the next image and repeat the process.
#### Step 4: Export Annotations
1. **Export Format**: Ensure your annotations are saved in the desired format (e.g., YOLO, Pascal VOC).
2. **Verify Files**: Check that each image has a corresponding annotation file with the same name but a `.txt` extension (for YOLO).
### Using VoTT
#### Step 1: Download and Install VoTT
1. **Download VoTT**: Visit the [VoTT GitHub Releases page](https://github.com/microsoft/VoTT/releases) and download the installer for your operating system.
2. **Install VoTT**: Run the installer and follow the instructions to install VoTT.
#### Step 2: Create a New Project
1. **Launch VoTT**: Open the VoTT application.
2. **New Project**: Click "New Project" and set up your project by specifying the source and target connections (local file system, Azure Blob Storage, etc.).
3. **Add Tags**: Define your tags (e.g., "jersey_number") in the project settings.
#### Step 3: Annotate Images
1. **Open Images**: Load your images into the project.
2. **Draw Bounding Boxes**: Use the rectangle tool to draw bounding boxes around the jersey numbers.
3. **Assign Tags**: Click on each bounding box and assign the appropriate tag from your defined list.
#### Step 4: Export Annotations
1. **Export Settings**: Click "Export" and choose the desired export format (e.g., YOLO, Pascal VOC).
2. **Specify Location**: Select the export location and any additional settings required for the chosen format.
3. **Export**: Execute the export process to generate annotation files.
### General Tips
- **Consistency**: Ensure consistent labeling across all images.
- **Backup**: Regularly save and back up your annotations to prevent data loss.
- **Quality Check**: Review annotations for accuracy and completeness before exporting