Date: Fri, 19 Aug 2016 17:41:19 -0700
From: Toby Schachman
Subject: Re: Camera tracking and projection for pseudo-screen
Here is the latest pseudoscreen test.

[2016-08-19 17.10.30.mov]

Inline image 5


I have a projector, an RGB camera, and an IR (for retroreflectors) camera all mounted to each other, mounted on the ceiling over the in-progress token table.

Inline image 2
Inline image 3
Inline image 4


I mark the borders of each pseudoscreen with retroreflective tape. Here's a sample of what the IR camera sees:

Inline image 1

To find the quads, I take the convex hull of each contour and then approximate to a quad. Taking the convex hull makes it robust to edge occlusions, though it currently will fail if you cover up a corner. I'm sure this can be improved.

The RGB camera is not used for this prototype (except during the calibration procedure), but I would eventually want to use it for visually ID'ing the pseudoscreens and other tokens.


Calibration procedure

First the RGB camera and IR camera are calibrated to each other using the green calibration thingy.

RGB:
Inline image 3

IR:
Inline image 2



Then the RGB camera is calibrated to the projector by projecting the calibration pattern onto a large piece of foamcore.

Projection:
Inline image 5

RGB:
Inline image 1