1. Home
  2. Docs
  3. Cameras for Raspberry Pi
  4. PTZ Camera
  5. Software User Guide

Software User Guide

Install the OpenCV

  • sudo apt-get install python-opencv

Download the source code

  • https://github.com/ArduCAM/PTZ-Camera-Controller.git
get the source code
  • Run the FocuserExample.py
  • cd PTZ-Camera-Controller/pyCode
  • python FocuserExample.py
Application demo

Code introduction

  • Focuser.py
  • zoom-lens basic control component.
  • AutoFocus.py
  • Provide two autofocus methods are available, depending on Focuser.py, opencv, picamera. Use the sudo apt-get install python-opencv command to install opencv.

Was this article helpful to you? Yes 1 No 5