Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 740 Bytes

File metadata and controls

23 lines (16 loc) · 740 Bytes

Android Camera Streaming

Stream camera feed of Android device via UDP using Java and Python.

Android.cam.stream.preview.mp4

Dependencies

  1. Numpy
  2. Pillow
  3. OpenCV

Usage

src folder contains the necessary files for Java Android app and a single Python script (server.py) for receiving camera frames.

Including these lines to your AndroidManifest.xml may be useful:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="true"/>

As frames are rendered using OpenCV, further image processing operations can also be done.