headtrackr
GitHub describes it as Javascript library for headtracking via webcam and WebRTC/getUserMedia. The repository metadata lists JavaScript as its primary language. This article stays within the project description and details documented in the GitHub repository README.
auduno/headtrackr: README details
GitHub describes it as Javascript library for headtracking via webcam and WebRTC/getUserMedia. The repository metadata lists JavaScript as its primary language. This article stays within the project description and details documented in the GitHub repository README.
Repository scope
GitHub describes it as Javascript library for headtracking via webcam and WebRTC/getUserMedia. The repository metadata lists JavaScript as its primary language. The README describes the project this way: headtrackr is a javascript library for real-time face tracking and head tracking , tracking the position of a users head in relation to the computer screen, via a web camera and the webRTC/getUserMedia standard.
README details
The README section "README details" states: For a demonstration see this video or try out some of the examples with a laptop that has a camera and a browser that has camera webRTC/getUserMedia support. For an overview of browsers supporting the getUserMedia standard see http://caniuse.com/stream.
Usage
The README section "Usage" states: The following code initiates the headtrackr with a video element which will be used for the mediastream, and a canvas element we will copy the videoframes to.
Usage
The README section "Usage" states: When the headtracker is started, this will now regularly generate the events headtrackingEvent and facetrackingEvent on the document. The event headtrackingEvent has the attributes x , y , z , which tells us the estimated position of the users head in relation to the center of the screen, in centimeters. The event facetrackingEvent has the attributes x , y , width , height and angle , which tell us the estimated position and size of the face on the video.
Editorial conclusion
The repository README is the source for this review. It does not replace a local installation or an independent test.
Community notes