18th International Conference on Process Control

Simulation of 2D Physics of Objects Captured by Web Camera Using OpenCV and Box2D

M. Sedlák
Slovak University of Technology in Bratislava

Abstract

The paper presents one approach to simulation of physics applied on objects captured by web camera. Introduced approach utilise OpenCV library for image capturing and contour detection. Objects detected by OpenCV are reconstructed from its outlines in Box2D environment so the physics can be applied to it. Because of restrictions of Box2D was needed to do approximation and scaling of outlines and tessellation of objects with Delaunay triangulation algorithm.

Full paper

053.pdf

Session

Modelling, Simulation, and Identification of Processes (Poster)

Reference

Sedlák, M.: Simulation of 2D Physics of Objects Captured by Web Camera Using OpenCV and Box2D. Editors: Fikar, M. and Kvasnica, M., In Proceedings of the 18th International Conference on Process Control, Tatranská Lomnica, Slovakia, June 14 – 17, 238–242, 2011.

BibTeX
@inProceedings{pc2011-053,
author = {Sedl\'ak, M.},
title = {Simulation of 2D Physics of Objects Captured by Web Camera Using OpenCV and Box2D},
booktitle = {Proceedings of the 18th International Conference on Process Control},
year = {2011},
pages = {238-242},
editor = {Fikar, M. and Kvasnica, M.},
address = {Tatransk\'a Lomnica, Slovakia},
publisher = {Slovak University of Technology in Bratislava},
url = {http://www.kirp.chtf.stuba.sk/pc11/data/papers/053.pdf}}
© 2011 Institute of Information Engineering, Automation and Mathematics, FCFT STU in Bratislava. All rights reserved.