jdesbonnet / terabee_3dcam_tools

Tools relating to Terabee 3Dcam 80x60 ToF Time-of-Flight camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terabee_3dcam_tools

Tools relating to Terabee 3Dcam 80x60 ToF Time-of-Flight camera

Copying raw data frames from 3Dcam:

ffmpeg -f video4linux2 -input_format yuyv422 -i /dev/video0 -c:v copy raw.avi

Extract frames:

ffmpeg -i raw.avi -f image2 image-%05d.raw

Make a PGM (gray map):

./terabee_3dcam < ../image-0001.raw  > 3d.pgm

Question: how to flip between close range mode (0.2 - 1.2m) and standard mode (1-4m)?

Real time dept analysis:

ffmpeg -f video4linux2 -input_format yuyv422 -i /dev/video1 -c:v copy -f image2pipe - | ./terabee_3dcam -o f%05d.pgm

Real time depth display:

ffmpeg -f video4linux2 -input_format yuyv422 -i /dev/video1 -c:v copy -f image2pipe - \
 | ./terabee_3dcam -d 9 -f pgm \
 | ffplay -f image2pipe -i pipe:.pgm

About

Tools relating to Terabee 3Dcam 80x60 ToF Time-of-Flight camera


Languages

Language:C 74.6%Language:Dockerfile 19.7%Language:Shell 3.2%Language:Makefile 2.6%