Project

General

Profile

Actions

Support #379

closed

AR set webcam HD resolution

Added by Frankieo almost 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
OS3D_PlugIT
Target version:
Start date:
01/25/2012
Due date:
% Done:

100%

Estimated time:

Description

I would like to make use of a HD camera (1280x720 / 1920x1080 pixels) in my AR project, but only standard resolution is currently supported (I assume it is 800x600?). How to do this?

edit
With some email help I am now able to diplay 1280x720 webcam! By adding a line to the ARcapture plugIt (carcapture.pkg)
-> Added in the connectCapture function (about line 172), just before the _GETcaptureSize call):

_SETcaptureSize capstr.CAP_Device 1280 720;

problem
The program runs OK, but the 3D model gets dislocated (see added picture). I think this is because there are othe OpenSpace3D settings that are still making use of the 800x600 settings. How to solve this?


Files

HDwebcam.jpg (443 KB) HDwebcam.jpg Illustration of the problem: wrong model position Frankieo, 01/25/2012 09:35 AM
calibration.rar (1.44 MB) calibration.rar calibration tool from openCV but modified with new vh vw parameter for capture size arkeon, 01/25/2012 11:17 AM
camera_1280_720.yml (21.3 KB) camera_1280_720.yml calibration file for 16/9 cameras arkeon, 01/25/2012 11:17 AM
HDweb_withYML.jpg (417 KB) HDweb_withYML.jpg 1280x720 no_mirrormode with camera_1280_720.yml Frankieo, 01/31/2012 03:33 PM
pattern.pdf (4.75 KB) pattern.pdf arkeon, 02/06/2012 03:56 PM
HDwebcam_withYML_andMirror_OK.jpg (356 KB) HDwebcam_withYML_andMirror_OK.jpg HDcam with MirrorMode OK Frankieo, 02/07/2012 11:18 AM
Actions

Also available in: Atom PDF