3

So I have a project with my Raspberry Pi, and I was wondering if it were possible to tether (connect via usb or bluetooth) your Android smartphone to the Pi and receive camera input from the phone.

I basically need the Pi to "see" through my phone. It needs to stream live video.

For this project I am trying to have my phone on my RC car record as it goes along. It will send the raw video to the Pi from my phone and the Pi will interpret what it sees and control the car accordingly.

  • Be interesting if you could :) You could try streaming the video file, but having tried transferring media files via Bluetooth you probably won't get a very high quality picture. Also due to android phone permissions etc it may be simpler to work it out on a computer first, then translate the method to work on the phone - still may require a lot of coding though, as I don't think there is a app for this. – Wilf Dec 3 '15 at 0:46
  • Check UV4L at linux-projects.org. It offers two-way WebRTC audio/video streaming. Another option is install an MJPEG streaming server on Android and use uv4l-mjpegstream driver on the Rpi to create a virtual device which takes its input from the MJPEG stream coming from your Android phone. You ll probably need a wireless card on the Rpi or ethernet over USB. – prinxis Dec 4 '15 at 0:20
2

You can use this application on android to stream video from camera to the Raspberry Pi using http: https://play.google.com/store/apps/details?id=com.pas.webcam

If RPi have WiFi you can stream using WiFi but if not then you have to setup your phone to USB tethering mode.

You can download from that app HQ photo, single video frame or stream video.

  • @MalachiBazar was my answer helpful? if yes you can accept and/or upvote it. – rav_kr Dec 8 '15 at 10:33
  • It was good but not exactly what I was looking for. Thanks though for your input. – Malachi Bazar Dec 11 '15 at 18:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.