human-computer-interface

gaze estimation from an image of an eye

…衆ロ難τιáo~ 提交于 2020-01-10 08:26:07
问题 I've been able to detect pupil and the eye corners accurately so far. You can see a few snaps i uploaded in my answer to my own question here: Performing stable eye corner detection Here's what i've done so far. I calibrated the gaze of the user by looking at TLCP, TRCP and BLCP where CP = calibration point; a screen point used for calibration B = bottom T = top L= left R = right gaze_width = TRCP.x - TLCP.x gaze_height = BLCP.y- TLCP.y And the corresponding gaze points i get by looking at

Is there a standard file naming convention for key-value pairs in filename?

懵懂的女人 提交于 2019-12-25 11:57:20
问题 I have multiple data files that are named after what they contain. For example machine-testM_pid-1234_key1-value1.log There are keys and values separated by - and _. Is there a better syntax for this? Are there parsers that automatically read these kinds of files/filenames? The idea here is that the filenames are human and machine readable. 回答1: There seems to be no standard file naming convention for key-values. 来源: https://stackoverflow.com/questions/10087079/is-there-a-standard-file-naming

Is there a standard file naming convention for key-value pairs in filename?

▼魔方 西西 提交于 2019-12-25 11:57:06
问题 I have multiple data files that are named after what they contain. For example machine-testM_pid-1234_key1-value1.log There are keys and values separated by - and _. Is there a better syntax for this? Are there parsers that automatically read these kinds of files/filenames? The idea here is that the filenames are human and machine readable. 回答1: There seems to be no standard file naming convention for key-values. 来源: https://stackoverflow.com/questions/10087079/is-there-a-standard-file-naming

Controlling mouse pointer through camshift algorithm of OpenCV (or how mouse basically functions)

故事扮演 提交于 2019-12-01 01:27:25
I have written a program in C# using EmguCV (wrapper of openCV). The program tracks an object using camshift algorithm. A rectangle is drawn around the object. The cursor is moved by center of the rectangle. Input is taken from a webcam. Initially the problem was that the cursor couldn't cover the entire screen. Its movement was limited to frame size. And so i applied a multiplication factor: screenwidth/framewidth for movement in X direction. screenheight/frameheight for movement in Y direction With this the mouse covers entire area. But the mouse movement is not smooth any more. I am unable

Controlling mouse pointer through camshift algorithm of OpenCV (or how mouse basically functions)

冷暖自知 提交于 2019-11-30 20:21:24
问题 I have written a program in C# using EmguCV (wrapper of openCV). The program tracks an object using camshift algorithm. A rectangle is drawn around the object. The cursor is moved by center of the rectangle. Input is taken from a webcam. Initially the problem was that the cursor couldn't cover the entire screen. Its movement was limited to frame size. And so i applied a multiplication factor: screenwidth/framewidth for movement in X direction. screenheight/frameheight for movement in Y

gaze estimation from an image of an eye

拈花ヽ惹草 提交于 2019-11-30 05:13:14
I've been able to detect pupil and the eye corners accurately so far. You can see a few snaps i uploaded in my answer to my own question here: Performing stable eye corner detection Here's what i've done so far. I calibrated the gaze of the user by looking at TLCP, TRCP and BLCP where CP = calibration point; a screen point used for calibration B = bottom T = top L= left R = right gaze_width = TRCP.x - TLCP.x gaze_height = BLCP.y- TLCP.y And the corresponding gaze points i get by looking at those CPs are called GPs calculation of a gaze point GP: I subtract the TLGP's ordinates' values from the