AiueoABC / Play_with_DroidCam

Control camera on your Android from PC with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Play_with_DroidCam


SEE "ORIGINAL" BRANCH FOR CUI VERSION


Control camera on your Android from PC with Python3 (Perhaps, iPhone too. Not tested yet.)

You need "DroidCam" app for this in your Android phone.

(https://play.google.com/store/apps/details?id=com.dev47apps.droidcam)

How to use?

If you just want to try how it works, please check the release too. Windows executable file is available.

  • Clone this repo git clone https://github.com/AiueoABC/Play_with_DroidCam.git

  • Move to the cloned directory cd Play_with_DroidCam

  • Install requirements python -m pip install -r requirements.txt

  • Download DroidCam app on your phone and check IP and PORT.

  • Run capture.py to access your Android's camera. python capture.py App will ask your IP and PORT.

Small Tip

In case of you using same IP and PORT all the time, you can use "capture_setting.dat".
Set "ask_settings=False" to skip IP/PORT settings on the App.

Camera Control

You can control your camera with pushing buttons on a video window.
Save Photo button will save the frame shown in app.
UI_image

If you like,

Please feed me!
Buy Me A Coffee

About

Control camera on your Android from PC with Python


Languages

Language:Python 100.0%