- CMake
- Visual Studio
- OpenCV (Recommended for C# version in order to use the example app with preview)
Use CMake version 3.13 or above:
Default build:
- Download or Clone the repository.
- In cloned folder, open command line and run the following:
> mkdir build
> cd build
> cmake ..
Build with OpenCV (for C# preview):
-
Install precompiled OpenCV on Windows:
- Download opencv-4.3.0-vc14_vc15.exe
- Extract installation to: C:\openCV_4.3
- Set Environment variable OpenCV_DIR pointing to C:\openCV_4.3\opencv\build folder.
-
Build as following:
> mkdir build
> cd build
> cmake -D RSID_PREVIEW=1 ..
- In build folder you should have full visual studio solution. run RealSenseID.sln.
- Build solution.
- Copy from *C:\openCV_4.3\opencv\build\x64\vc15\bin* the files: [opencv_world430.dll, opencv_world430d.dll] to your sample binary location <rsid_staging>/build/bin/ <Debug/Release>
- After building solution you will find in \build\bin<Debug/Release> three executables:
- rsid_csharp_example.exe
- rsid_cpp_example.exe
- rsid_c_example.exe
Done!
Make sure you have connected the Intel RealSense ID F450 / F455 device to your PC.
Run Windows "Device Manager" and check in which COM port the device was recognized (It should appear under Ports (COM & LPT) (For example: COM3)
- Edit "rsid_csharp_example.exe.config" file located in bin folder (where .exe files are located) as following:
- Edit COM number to like the one you saw previously at Device Manager
- Edit USB Type - to USB or UART depends of the connection you choose to connect the device to.
- Simply Run: rsid_csharp_example.exe
At bin folder (where .exe files are located) run command line and run the app as following:
rsid_cpp_example.exe <port> <usb/uart>
For Example:
rsid_cpp_example.exe COM3 usb
At bin folder (where .exe files are located) run command line and run the app as following:
rsid_c_example.exe <port> <usb/uart>
For Example:
rsid_c_example.exe COM3 usb
*** instructions for Ubuntu 18.4 ***
- CMake - 3.13.0 or higher.
- Download or Clone the repository.
- In main folder, Open Terminal and run the following:
> mkdir build
> cd build
> cmake ..
> make
- After building solution you will find in \build\bin\ two executables:
- rsid_c_example
- rsid_cpp_example
Done!
First make sure you have connected the Intel RealSense ID F450 / F455 Camera to your PC.
-
Check in which Port the device was recognized by running:
dmesg
(you should see something like: ACM#<# port number>)
-
Grant permission to that USB port by running the following command (# - Port number):
sudo chmod 777 /dev/ttyACM#
At bin folder (where .exe files are located) run command line and run the app as following:
./rsid_cpp_example <port> <usb/uart>
For Example:
./rsid_cpp_example.exe COM3 usb
At bin folder (where .exe files are located) run command line and run the app as following:
./rsid_c_example <port> <usb/uart>
For Example:
./rsid_c_example.exe COM3 usb