The reference of the emulation project is Graffiti Research Lab.
Initially, we used findbounds to track the colour of the laser light but it did not work well for laser light but it could be used for object.
Tracking -jit. blobs.centroid. The threshold value is the blob size to track the laser pointer’s size. If the value is bigger than certain number, it can’t track the dot of the light. Blobs with smaller area than the threshold, value will be rejected.
Calibration -We lifted up the computer’s camera and used jit.rota to zoom in by increasing the x and y.
Projection -use paintoval by adjusting the stroke size and colour. The output is transferred to the mirror screen of Mac, so we could control the patch by the main screen and also watch the output that is being played from the projector.
The most important thing is, blobs.centroid is very sensitive but the most accurate, hence the environment is completely dark. The dimension of the projection must be the same as the dimension of the image that the camera is being received.
By Danning and Yi Ting