This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Ti
When trying to run hand tracking camera is identified and profile is successfully set but binary matrix is getting blank,as blow.
init done
opengl support available
INFO: TintinCDKCamera: Board revision = 2.0
INFO: ParameterDMLParser: Found register map with name 'OPT9221' (vPG1P0)
INFO: HardwareSerializer: Received 44716 bytes from hardware in 2.03482 s
INFO: Data2DCodec: Original number of 8-bit offsets = 2061
INFO: Data2DCodec: Number of invalid pixels in original data = 0
INFO: Data2DCodec: Current number of 8-bit offsets = 2061
INFO: CameraSystem: Successfully refreshed parameters for TintinCDKCamera(0::0451:9105::922463918652).
4, MetrliusHighAmbient (HW)
3, MetrilusShortRange (HW)
2, MetrilusLongRange (HW)
1, MetrilusLenseOnly (HW)
132, No Calibration
131, High Ambient
130, Long Range
129, Short Range
128, Lens Only
Profile ID = 2
INFO: DepthCamera: Setting parameter 'op_clk_freq'
INFO: DepthCamera: Setting parameter 'unambiguous_range'
INFO: DepthCamera: Setting parameter 'sub_frame_cnt_max'
INFO: DepthCamera: Setting parameter 'quad_cnt_max'
INFO: DepthCamera: Setting parameter 'intg_duty_cycle'
INFO: DepthCamera: Setting parameter 'illum_power_percentage'
INFO: DepthCamera: Setting parameter 'delay_fb_corr_mode'
INFO: DepthCamera: Setting parameter 'delay_fb_dc_corr_mode'
Profile setting succeeded.
INFO: ToFCameraBase: Starting with 320x240@30.0001fps
_dealiasedPhaseMask = 2, _dealiasedPhaseMaskInPhaseOffset = 4
Help us to solve this issue
Thanks
Lee
Lee,
The binary image should show hand "blobs" when you put your hand in front of the camera. It would be that threshold values are improper.
Try to display other image maps in the system and see what maybe going on, or tweak the thresholds.
-Larry
Hi,Larry. Thank you for your help.
The problem is solved. I think I made a very low level mistake.
When I build the people_tracking app, I got an error report. It says ' ../TOFApp.h:19:26: fatal error: CameraSystem.h: No such file or directory #include <CameraSystem.h> ' .
I'm sure I have already installed voxelsdk successfully. Because when I run 'VoxelCLI' in terminal, everything is fine. So I checked the CMakelists.txt of this app. I found this 'set(VOXEL_INCLUDE_DIRS . /usr/include/voxel /usr/include/voxel/pcl /usr/include/voxel/ti3dtof /usr/include/voxel/Filter ) '. But actually, in '/usr/include' directory, the voxel dir name is 'voxel-0.6.9', not 'voxel'.
I have two choice to avoid this error. Change the voxel-0.6.9 dir name to voxel or add '-0.6.9' after '../voxel ' in CMakelists.txt. At last, I chosed the former one(Because I don't want to copy-paste '-0.6.9' many times -_-). This time, I built this app successfully, but when I run ' ./SimplePeopleTracking' , it says 'Failed to get configuration file 'TintinCDKCamera.conf'. I tried 'VoxelCLI', also got the same error.
At this time, I reliazed my mistake.
I run 'make install' in voxelsdk build dir again and 'VoxelCLI' is normal. This time, I choosed the latter one, add '-0.6.9' after '../voxel ' in CMakelists.txt. After rebuilt people_tracking app and run './PeopleTracking' in terminal, everything is fine!