Closed winter2897 closed 3 years ago
This script resize the polygon and update the imageWidth and imagePath. However, it does not update the hash of the image in the json file. So, when you open the json file in labelme, it reads the hashed image with its original size and loads the polygons with the resized one.
So, if you want to visualize this, you can write script to load the resized polygon on resized images or update the hash image in the json file.
Thank you!
Resize image script has a problem
Hi @R3ab, Can you give me some advice?
Resize command
Sized_data Folder
Images have been resized!
View on labelme
But, when I show dataset on
labelme
.Labelme Error Logs
reason
I think this error is caused by the
"imageData"
in the.json
file of the image is encrypted.