Skip to content

sszxc/MultiCam-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiCam-Simulation · GitHub license

  • simulate the imaging process for multiple cameras in 3D space
  • adjust internal and external coefficients freely
  • simulate lens distortion in real time
  • support keyboard and Xbox controller
  • add AprilTag for additional experiments

Dependencies

This project is written in Python and relies on OpenCV, numpy.

The pupil_apriltags library is used for the detection of AprilTag, and the pygame library is used for compatibility with Xbox controllers. Both of these are optional if you don't need the relevant function.

Quick Start

Follow the commands below to install and start the simulation.

git clone https://github.com/sszxc/MultiCam-Simulation.git
cd MultiCam-Simulation/
python -m pip install -r requirements.txt
python main.py

Now use your keyboard or Xbox controller to control the cameras and images from each camera will be displayed in real time.

XY axis Z axis Optical-axis Reset Switch Cameras Exit
Keyboard WASD ZX UJ IK OL 1 2, 3 Q
XBox Controller L-Thumbstick D-Pad R-Thumbstick, LT, RT B L, R A

Screenshots

demo1

demo2

About

A simulation environment for multiple cameras

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages