Arducam PTZ camera (SKU:B01678MP) is an advance IMX219 camera for Jetson boards. Different from the standard fixed focus lens, the Arducam PTZ IMX219 camera uses a zoom lens which has x4 optical zoom capability. With the PTZ controller board, you can connect two servos to move the camera with two-dimensional movement. The IRCUT control also helps both the daylight and night vision.
The following image is the Arducam PTZ controller board hardware setup for Jetson Nano, Xavier NX will be similar. The jumping wire color is only for illustration, you have to check the wire order to determine the correct signal wiring.
Download the code from GitHub. The PTZ controller codes are in the
- zoom-lens basic control component.
- Provide two autofocus methods are available, depending on Focuser.py, opencv, picamera
- Use the
sudo apt-get install python-opencvcommand to install opencv.
- Example of using autofocus, depending on AutoFocus.py
This example illustrates how to use the keypad to control the pan/tilt and zoom/focus functions.
bash [email protected]:~/JetsonNano_PTZ$ python FocuserExample.py