Category : eye-tracking

I would like to use 2 threads: one for display (void showCalibration()) and the other for processing (void CaptureFrame()). These threads access a global variable (temp_pupil). The display thread will clear the variable after a specific time to get the data (pupil) from processing thread (during that time): #include <iostream> #include <thread> #include <string> #include ..

Read more