- Move all images into one folder.
- Create a CSV Report with the following:
Image Name "with the prefix discarded"
Image Size
Image Last Modification Date
- Convert the given txt file "image1.txt" to a JSON file with the required structure:
{
"image rotation": 0,
"value": {
"x": 0.634286,
"y": 0.175238,
"width": 0.0914286,
"height": 0.190476,
"rotation": 0,
"rectangleLabels": [
"object"
]
}
}
If you want to run the code, open the attached notebook in Google Colab.