Skip to content

Repository files navigation

BATCAM FX Python Example

Overview

This repository provides an example for developing with BATCAM FX, including methods for connecting via WebSocket and visualizing BF Data transmitted from BATCAM FX.

Please refer to the provided documentation along with the code.

Getting Started

Make sure Python is installed, then install required dependencies:

pip install -r requirements.txt

Open main.py and update the following variables:

USER="your_username"PASSWORD="your_password"CAMERA_IP="your_camera_ip"

After setting the credentials, run the script:

python main.py

Limitations

This example code has the following limitations:

  • Does not support automatic reconnection after WebSocket disconnection
  • Unable to maintain 25 FPS due to performance issues with matplotlib’s imshow

Development Environment

  • macOS Sequoia 15.3.2 (Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64)
  • Python 3.10.16

For additional dependencies, refer to the requirements.txt file.

About

A Python example for handling data from BATCAM FX using Protobuf.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages