Skip to content
Re-projecting Projector Image from Camera Image
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Projector_Camera_Re-projection
LICENSE
README.md

README.md

Projector_Camera_Re-projection from Normal

Re-projecting Projector Image from Camera Image

Python 3.6

OpenCv 3.4.0

GoProCam

Process

This project used a GoPro Camera and a Pico Projector to calibrate the camera and projector.

  1. First, the camera is calibrated using checkerboard pattern to reduce the GoPro distortion

  2. Then, the camera is used to capture projected image pattern (in this case dot pattern) on an normal 2D plane and uses OpenCv contour and bounding box to understand where the projector is projecting in the real world. The bounding box estimation is created through cv2.boundingRect(cnt) function.

  3. The captured image from the camera is cropped using the x, y, width, height given the bounding box.

  4. This processed image is reprojected onto the normal 2D plane.

Libraries Used

OpenCv 3.4.0: https://opencv.org/

GoProCam: https://github.com/KonradIT/gopro-py-api

To Do

Make it work on non-normal plane and 3D surfaces.

You can’t perform that action at this time.