genecurie
Posts: 2
Joined: Sat Jun 01, 2019 5:51 am

Image Transfer from rpi to pc

Sat Jun 01, 2019 6:53 am

i am working on a project using raspberry pi camera v2 module and i would like to know How to transfer my images from raspberry pi to pc automaically as soon as the file arrives .

Thanks

RattusRattus
Posts: 67
Joined: Sat Sep 29, 2018 11:27 am

Re: Image Transfer from rpi to pc

Sat Jun 01, 2019 4:59 pm

Well if you are controlling WHEN each picture is taken then you know when a file is available (because your take picture function has returned - look at the return code :roll: )
If you are running separate programs to take your pictures and transfer them you could always poll the directory into-which it saves the picture or better use IONOTIFY [0]

/Rattus

[0] http://man7.org/linux/man-pages/man7/inotify.7.html

genecurie
Posts: 2
Joined: Sat Jun 01, 2019 5:51 am

Re: Image Transfer from rpi to pc

Mon Jun 03, 2019 4:08 am

Thanks for the reply.i will look into it.But now i am trying to do it using socket programming using python.but i am stuck at some point where the whole image data has not completely transferrring only a certain amount of data is transferred and it's stuck there forever.if you have any idea where i might be wrong any help would be appreciated.


Thanks.

Return to “Camera board”