Instructions for operating the cameras from ddpi-mk2. As of October 25, 2020 only the right camera can be recorded.
Make sure the power for the light sources are plugged in.
Terminal commands for activating the camera and previewing image:
Updated February 6, 2021. These scripts used to be in /opt/drivers/bitflow, but there are now shortcuts for the command to be called from any working directory.
- Open the terminal and use the following commands from any working directory.
- activate (To start using the camera)
- deactivate (When done using the camera
To open camera view window: BitflowPreview. Press "disconnect" before closing bitflow
To record eye image
- cd /home/aplab/exp/Ruei/bfRecord1/build
- ./bfRecord -h (to see usage)
- ./bfRecord -f filename.dat
PRESS ENTER
wait for image screen to appear
Q to quit, S to start
automatically records 10000 buffer samples (about 10 seconds at 1016Hz)
.dat file is saved into Ruei/bfRecord1/build if you do not specify a path like some_path/filename.dat
Convert to avi File
- cd /home/aplab/exp/Ruei/bfRecord1
- ./convert.sh filename.dat filename.avi
How to switch to left eye camera?