Simple Computer Vision

Timeframe Nov 2022
tools OpenCVComputer Vision
00. Overview

Simple Computer Vision/AR Project.

This application leverages edge detection to create obstacles based on contours captured by the camera. Users can drop objects, draw lines, and interact with a dynamic digital environment that reacts to the physical world, exemplifying the principles of augmented reality. By exploring the interplay between physical and digital elements, this project serves as a foundational example of augmented reality in action.

01. Implementation Details

OpenCV.

Contour Detection:
Utilizes ofxCvContourFinder for edge detection by analyzing pixel contrast and applying foreground detection to reduce computation.
User-drawn edges are detected as contours, interacting dynamically with objects.
Physics Simulation:
Built using ofxBox2d, a wrapper for the Box2D physics engine.
Customized object parameters, such as reduced gravity, provide smoother, more refined movement.
02. Report

Report PDF

03. Video

Video