IntelRealSense / RealSenseID

Intel® RealSense™ ID SDK
https://intelrealsense.com/facial-authentication/
Apache License 2.0
100 stars 58 forks source link

self-built rsid_csharp_example from source code does not display preview #22

Closed UnaNancyOwen closed 3 years ago

UnaNancyOwen commented 3 years ago

The self-built rsid_csharp_example from source code does not display preview. The pre-built RealSense ID Viewer included in installer is works fine. All other functions are working fine. But, preview is not display. 2021-03-16_16h57_39

_preview.Start(OnPreview); returns False. https://github.com/IntelRealSense/RealSenseID/blob/v0.13.0/examples/csharp_example/MainWindow.xaml.cs#L1159

Could you give me some advice? Thanks,

gabime commented 3 years ago

To build with preview support, use the -DRSID_PREVIEW=ON CMake option (and install opencv).

Please refer to the instructions in https://github.com/IntelRealSense/RealSenseID/tree/master/examples#how-to-build

UnaNancyOwen commented 3 years ago

@gabime Thanks! I had missed that one. It works fine. :)