precision-sustainable-ag / Hotline-Issues

Current protocols for the on-farm trial network
MIT License
1 stars 0 forks source link

Ag Image Repo - camera image name duplication #440

Open zackgrzywacz opened 3 months ago

zackgrzywacz commented 3 months ago

Nav (Ag Image Repo user in Texas) tried uploading some sets of cover crop images he took in the field. The Ag Image Repo app told him that the images he was trying to to upload already existed in the database. He believes that something happened with his camera that reset the image counter and started back over from the beginning (e.g. TX00001.jpg). This shares the filename with files that are already in our database. I will have to circle back with him on Monday to find out the extent of this issue

If this is indeed the cause of the issue, how do we move the image counter in the camera forward? And how easily can Nav change the filenames of all the images he's taken in-app so that he can upload the sets of .jpg files with metadata attached?

elhenriq commented 3 months ago

I don't know if it is possible to update the files he has already collected, as the app matches the current name of the pictures that you told it to. and changing the name of the file would make it so it does not know. what I had to do when this happened to me was change the name of the camera to something not being used in the network, allowing me to start from counter "1" and not have to worry about it finding duplicates.

zackgrzywacz commented 3 months ago

I just found this issue on my end too. I have about 90 sets we took last week that are failing to upload because of name duplication. I'll change the code to "MDC" or something for the time being (it was MDA and MDB before) but it would be nice to find a way to get this data off of my tablet as well as Nav's

zackgrzywacz commented 3 months ago

@marialauracangiano any thoughts on this?