Fastest method for data transfer - Raspberry Pi Forums


hello,

first time poster. wondering if had ideas on how speed process of transfering images rpi android phone using wired connection such usb-tethering, or serial connection. background:

i'm using creative live! usb webcam capture images via fswebcam , saving them local directory on rpi. i'm using default resolution on fswebcam. on rpi i've assigned static ip address usb0. on phone i'm enabling usb-tethering using jsch api ssh , download images rpi android device using sftp.

issues:
seem have 2 potential bottle-necks need rid of. first being fswebcam, i've noticed capturing/saving captured image onto local directory taking half second. way slow i'm trying do. ideally capturing images @ around 30fps. i'm in process of installing opencv , seeing how compares. question if has alternatives or work arounds avoiding excess overhead time fswebcam seems impose. second bottle-neck seems stem overhead imposed encryption/decryption of sftp. i'm trying avoid using wire[less] connection communication between rpi , android device being done either via usb-tethering or sort of wired serial connection guys may know about. question if knows alternative api has fast file transfer speeds between rpi , android devices?

thanks!

use usb file transfer (or ptp or mtp).

phone should pop-up this

image

, can open in pcmanfm (aka file manager).


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'