Differences between revisions 13 and 14
Revision 13 as of 2023-12-20 15:45:29
Size: 1170
Editor: BinYang
Comment:
Revision 14 as of 2023-12-20 15:46:49
Size: 1228
Editor: BinYang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
.avi file is saved into Ruei/bfRecord/build .dat file is saved into Ruei/bfRecord1/build if you do not specify a path like some_path/filename.dat

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?

DDPIMK2-VideoRecording (last edited 2023-12-20 15:46:49 by BinYang)

MoinMoin Appliance - Powered by TurnKey Linux