Reading SD card from computer

Discussion related to "under the hood" OpenMV topics.
bghende
Posts: 5
Joined: Wed Aug 30, 2017 3:41 pm

Reading SD card from computer

Postby bghende » Wed Sep 20, 2017 4:11 pm

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
User avatar
kwagyeman
Posts: 1175
Joined: Sun May 24, 2015 2:10 pm

Re: Reading SD card from computer

Postby kwagyeman » Wed Sep 20, 2017 4:19 pm

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.
Nyamekye,
bghende
Posts: 5
Joined: Wed Aug 30, 2017 3:41 pm

Re: Reading SD card from computer

Postby bghende » Thu Sep 21, 2017 4:22 pm

Okay. Thanks for the quick reply.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest