You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project leverages the versatility of Intel RealSense cameras, enabling high-quality tracking of passive IR sphere markers without the need for large and expensive equipment like NDI trackers.
5
+
This project leverages the versatility of Microsoft Azure Kinect cameras, enabling high-quality tracking of passive IR sphere markers without the need for large and expensive equipment like NDI trackers.
6
6
7
7
<palign="center">
8
8
<img width="80%" src="image/overview.gif">
9
9
</p>
10
10
11
11
12
12
## Project Highlights
13
-
***Compact and Cost-Effective**: Break free from the constraints of traditional tracking systems. Our project utilizes the small, affordable Intel RealSense camera for efficient tracking.
13
+
***Compact and Cost-Effective**: Break free from the constraints of traditional tracking systems. Our project utilizes the small, affordable Azure Kinect camera for efficient tracking.
14
14
***Versatile and User-Friendly**: Efficiently handle simultaneous tracking of various markers. Enjoy robust features such as multiple marker tracking, occlusion resistance, and support for various marker types and sizes.
15
15
***Smooth and Stable Tracking**: Integrate Kalman and low-pass filters for stable tracking.
16
16
***Enhanced Communication and Compatibility**: Utilize UDP messaging for transmitting tracking results and support for NDI .rom files
17
17
***Simple Calibration**: A simple marker array calibration is provided if the marker configuration is not known beforehand
18
-
***Cross-Platform Availability**: Works across Linux, Windows, and MacOS environments.
18
+
***Cross-Platform Availability**: Works across Linuxand Windows environments.
19
19
20
20
## Installation
21
21
**Quick Start with Precompiled Binary (Windows):** Download the latest precompiled binary from our releases section for immediate use.
@@ -24,14 +24,14 @@ This project leverages the versatility of Intel RealSense cameras, enabling high
24
24
25
25
## Prerequisites
26
26
27
-
*Intel RealSense SDK (MacOS users, please refer to the FAQ for installation guidance)
27
+
*Azure Kinect SDK
28
28
* OpenCV 4
29
29
* CMake
30
30
31
31
## Building
32
32
Ensure all the prerequisites are installed before proceeding with the build process.
33
33
34
-
### For Linux and MacOS:
34
+
### For Linux:
35
35
36
36
```bash
37
37
mkdir build &&cd build
@@ -49,32 +49,10 @@ Note: I have only tested this build process with Visual Studio 2022.
49
49
```bash
50
50
./ir-tracking-app
51
51
```
52
-
### For MacOS
53
-
Due to certain permissions and security features in MacOS, you might need to run the application with elevated privileges.
52
+
### Offline Processing from Recording
54
53
```bash
55
-
sudo ./ir-tracking-app
54
+
./ir-tracking-app -i path_to_recording.mkv
56
55
```
57
-
## RealSense Camera Modification: Adding a Light Diffuser
58
-
59
-
The laser projector of the RealSense camera emits a sharp, focused IR dot pattern. While this is generally beneficial for depth sensing, it is not ideal for doing thresholding on IR stream to find retroreflective surfaces.
60
-
61
-
Therefore, a crucial modification is required: the addition of a physical light diffuser filter in front of the camera's laser projector. This softens the laser dot pattern in the IR stream.
62
-
<table>
63
-
<tr>
64
-
<tdalign="center"width="45%">
65
-
<imgsrc="image/light_diffuser.jpg"alt="RealSense with light diffuser"><br>
Without Light Diffuser, the visible dot pattern can interfere with detecting retroreflective surfaces in the IR stream.
71
-
</td>
72
-
</tr>
73
-
</table>
74
-
</p>
75
-
76
-
77
-
78
56
79
57
## Usage Guide
80
58
@@ -101,7 +79,14 @@ Upon launching the RealSense Tool Tracker, the application will attempt to load
101
79
* Transmission Rate: Confirm the "Frequency" of tracking updates to suit your needs.
102
80
* UDP Enable: Ensure the "UDP" checkbox is selected to activate network transmission.
103
81
104
-
### 3. Start Tracking
82
+
### 3. Save Tracking Results Locally to CSV
83
+
84
+
* Rate: Input the "Frequency" of writing the CSV file.
85
+
* Duration: Input how long in seconds to save the file
86
+
* Save Location: Click "Save To" to select the name and location for the CSV file.
87
+
* Record Enable: Ensure the "Record" checkbox is selected to activate recording to file.
88
+
89
+
### 4. Start Tracking
105
90
* Initiate Tracking: With all parameters set, initiate tracking by clicking "Start Tracking."
106
91
* Real-Time Adjustments: You can tweak the Tracking Parameters in real-time to adapt to varying conditions.
107
92
- Infrared Sensitivity: Adjust the "IR Threshold" to optimize infrared tracking sensitivity.
@@ -115,17 +100,9 @@ A sample Python and a C# Unity scripts is provided for receiving and processing
115
100
Contributions are welcome! When submitting a pull request, please include a description of your improvements and reference any relevant issue numbers.
116
101
117
102
## Frequently Asked Questions (FAQs)
118
-
### Can I use Azure Kinect Cameras for this project?
103
+
### Can I use Intel RealSense Cameras for this project?
119
104
120
-
Currently, Azure Kinect Cameras are not supported due to an issue with marker overexposure, which affects the retrieval of valid depth values. For more insights, please refer to the discussion on [Azure-Kinect-Sensor-SDK Issue #1349](https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1349)
121
-
122
-
### I'm encountering issues while installing the Intel RealSense SDK on MacOS. What should I do?
123
-
124
-
Installation issues on MacOS can be tricky due to Intel dropping support for newer MacOS and Mac with Apple silicon. I recommend this comprehensive guide on [setting up Intel RealSense on MacOS](https://lightbuzz.com/realsense-macos/).
125
-
126
-
### What are the future plans for this project?
127
-
128
-
My next big goal is to implement support for a multi-camera setup, enabling marker tracking over larger areas. However, as this project is a part-time endeavor, progress might be gradual. Stay tuned for updates!
105
+
Yes, please refer to the [RealSense Tool Tracker](https://github.com/stytim/RealSense-ToolTracker)
129
106
130
107
131
108
## License and Citation
@@ -157,9 +134,8 @@ A significant portion of the tracking code is adapted from Andreas Keller's work
0 commit comments