Showing posts with label GogoEyeTracking. Show all posts
Showing posts with label GogoEyeTracking. Show all posts

Wednesday, 12 September 2012

Using two web cams with Open CV


From the archive Discourse for the Processing (ALPHA) software: "I am trying to use two web cams. In theory, OpenCV allows us to address different cameras. I have two cameras in two USB ports, and Amcap can show either one. The OpenCV capture command can take three args, the last one being the camera index. However, the code below does not seem to work. I'm not sure what indexs to put in the third arg, and chose -1 only because I found this on a java thread about OpenCV." http://processing.org/discourse/beta/num_1237253804.html "It appears to me that the video library in processing currently only supports reading a stream from one camera. Am I correct or does anyone know of a way to read from multiple cameras within the processing environment? " http://www.processing.org/discourse/alpha/board_VideoCamera_action_display_num_1081365206.html from http://forum.processing.org/search/multiple%20cameras Multiple Cameras with JMyron and/or video library: http://forum.processing.org/topic/multiple-cameras-with-jmyron-and-or-video-library key-words: multiple cameras example: Re: 2 Webcams... Individual function 1 year ago I managed to take an image from both camera by mixing some of my own code with some I found from another user. import processing.video.*; Capture cam1; Capture cam2; int currX, currY; int capWidth, capHeight; boolean isCapturing; PFont font; void setup() { size(640,240); String[] devices = Capture.list(); println(devices); currX = 0; currY = 0; capWidth = 320; capHeight = 240; cam1 = new Capture(this, 320, 240, devices[0]); cam2 = new Capture(this, 320, 240, devices[1]); isCapturing = true; } void draw() { image(cam1, currX, currY); image(cam2, 320, currY); } void captureEvent(Capture c) { c.read(); } void keyPressed() { if (key == ' ') { isCapturing = !isCapturing; saveFrame("####.jpg"); } } This creates one image using a capture from both webcams when one button is pressed. Does anyone know how I could make it that each camera has an individual button, and when it is pressed it captures an image from just that webcam?

Wednesday, 21 March 2012

polygraph and


Voight Kampff Machine
from: http://thecreatorsproject.com/pt-br/blog/um-breve-passeio-pelos-bastidores-de-blade-runner

http://en.wikipedia.org/wiki/Polygraph

A polygraph (popularly referred to as a lie detector) measures and records several physiological indices such as blood pressure, pulse, respiration, and skin conductivity while the subject is asked and answers a series of questions. The belief is that deceptive answers will produce physiological responses that can be differentiated from those associated with non-deceptive answers.
The polygraph was invented in 1921 by John Augustus Larson, a medical student at the University of California at Berkeley and a police officer of the Berkeley Police Department in Berkeley, California.[1] According to Encyclopædia Britannica, the polygraph was on its 2003 list of greatest inventions, described by the company as inventions that "have had profound effects on human life for better or worse."[2]
Many members of the scientific community consider polygraphy to be pseudoscience.[3] Nonetheless, in some countries polygraphs are used as an interrogation tool with criminal suspects or candidates for sensitive public or private sector employment. US federal government agencies such as the FBI and the CIA and many police departments such as the LAPD use polygraph examinations to interrogate suspects and screen new employees. Within the US federal government, a polygraph examination is also referred to as a psychophysiological detection of deception (PDD) examination.


Saturday, 11 June 2011

EyeTracking :the ITU Gaze Tracker



ITU Gaze Tracker
According to the development team, The ITU Gaze Tracker is an open-source eye tracker that aims to provide a low-cost alternative to commercial gaze tracking systems and to make this technology more accessible. It is developed by the Gaze Group at the IT University of Copenhagen and other contributors from the community, with the support of the Communication by Gaze Interaction Association (COGAIN).The eye tracking software is video-based, and any camera equipped with infrared nightvision can be used, such as a videocamera or a webcam.

To download the eyetracker:
http://www.gazegroup.org/downloads/23-gazetracker



For more information about the ITU Gaze Tracker, you can access a brief users guide here:
http://www.gazegroup.org/software/GT_Users_Guide.pdf

And here a work I found teaching how to build low cost eye tracking glasses for head mounted system:


The eye image obtained from a camera: A) without modification, B) without the filter of visible light, C) with IR filter (image by by Michał Kowalik)


How to build low cost eye tracking glasses for head mounted system
by Michał Kowalik
e-mail: michal@mkowalik.pl
Faculty of Computer Science and Information Technology, The West Pomeranian University of Technology, Szczecin Poland, September 2010
http://www.mkowalik.pl/et/How%20to%20build%20low%20cost%20eyetracking%20glasses.pdf


To keep update with the latest Eye Tracking new and trends:

http://eyetrackingupdate.com/2010/06/15/biometric-devices-microsoft-unveils-kinect/

and here images of the tests I made today using the ITU Gaze Tracker and webcam I changed to IR: