# Annotation procedure: ## Annotation Tool: Tool: https://github.com/tzutalin/labelImg Installation: Follow README file ### Note: - Use the tool in Yolo mode - ![](https://i.imgur.com/KMApRtA.png) ## Script to convert from csv files to yolo format accepted by Annotation tool: - run `python csv_2_yolo.py` - i/p args: -c `result.csv` -i `frames_dir` -s `save_dir` - o/p: `save_dir` contains frames and its metadata in .txt files - In labelImg tool click on Open Dir icon and select save_dir folder with images and respective text files in it. - In the canvas the image and bbox for images should load. - Adjust the boox coordinates and click Save icon to overwrite the bbox coordinates in the .txt file to the updated ones. ## Script to convert from Annotation tool's format to kids_ai_tracking pipeline csv format: - run `python yolo_2_csv.py` - I/p args: -c `result.csv` -i `save_dir` -o `output_file.csv` - O/p: output_file.csv - Use output_file.csv for evaluation