Don't answer to my last question. I know where is the bug: in using Qt for displaying images - it is just to slow. Could you tell my what is the simplest way to display captured image on the screen with position marked (I detect the pupil in the eye image, so I detect pupil area using rectangle and want to draw rectangle on the image before I draw image on the screen). Are there any libries to do this? Jacek