Hello,
I want to use Prodigy to correct annotation of a vision ml algorithm.
I currently have a json file that is constructed almost like what's indicated in the documentation. The only difference is that the key of each bracket correspond to the frame of the video.
{
"0": [
{
"x": 309,
"y": 380,
"width": 73,
"height": 37,
"points": [
[
309,
380
],
[
309,
453
],
[
346,
380
],
[
346,
453
]
],
"center": [
327.5,
416.5
],
"label": 3
},
{
[...]
}
],
"1": [
[...]
]
}
I have every frame of that video exported in a folder (with their name being "[FrameNumber].png").
I want to use image.manual to review the annotations and correct them.
I face two different problems:
- How to format the json file in order to import it in the prodigy database ?
Prodigy doesn't seems to like the way I use dictionnary to link the frame number to its annotation.
Instead of using a dictionnary, I'm gonna be forced to stock every image (through its base 64 encoded image data) directly in that json imported file ? Isn't there any way to link it directly for a local file ?
- How to export the database without the base64 image associated to each annotation ?
When I try to use the db-out command on some annotation, it gives me the annotation in the correct format but also the base 64 image data in that file.
Is there any way to only export annotation data from the database and not the image data ?
Thanks,
Best,
Gautier