Page 1 of 1

Reading SD card from computer

Posted: Wed Sep 20, 2017 4:11 pm
by bghende
Is it possible to read an image stored to the SD card from the computer without disconnecting and reconnecting the camera? What I would like to do is save an image from my script on the camera to the SD card and read it back on the computer. Whenever I write to the SD card, I can't see the new file on the drive from the computer unless i disconnect and reconnect the camera. Any suggestions would be appreciated.

Thanks,
Brian

Re: Reading SD card from computer

Posted: Wed Sep 20, 2017 4:19 pm
by kwagyeman
In OpenMV IDE under tools there's a reset OpenMV Cam button. Click that and it will have the same affect of disconnecting and reconnecting the camera.

All OSes don't expect flash drives to create files... So, there's really nothing we can do to get the OS to rescan the flash drive. I've looked into system calls OpenMV IDE can execute but there's nothing available.

Re: Reading SD card from computer

Posted: Thu Sep 21, 2017 4:22 pm
by bghende
Okay. Thanks for the quick reply.