Skip to content

Some (very bad) code snippets I'm putting together while attempting to develop an visual positioning system (a.k.a. Motion Capture software).

Notifications You must be signed in to change notification settings

fisis/openvps-dev

 
 

Repository files navigation

openvps-dev

Some (very bad) code snippets I'm putting together while attempting to develop an visual positioning system (a.k.a. Motion Capture software). This is nowhere near a finished, used-frendly thing - I'm just dumping some ideas. Feel free to join in.

Wait, what?

This is an early attempt at creating a simple "visual positioning system" (VPS). A more detailed blog post can be found here.

openVPS dev test

Using it

Compiling

You'll need OpenCV 3.1.0 and the aRUco contrib_module - which is totally overkill but I was lazy. I've used Qt Designer (that's why I've kept the .pro files there) but there's no dependency to the Qt libraries.

Each .cpp file is a separate utility:

  • setup.cpp : Computes the rotation and translation between adjacent pairs of cameras. Will compute intrisics, but it's best if they're provided. Saves all to a configuration file.
  • epilines.cpp : Based on the configuration file, draws epilines on the right view, corresponding to markers seen in the left view of any given pair of cameras.
  • exto.cpp : Show an "extrinsic origin" (exto) so that the system can compute the position of the cameras relative to each other.
  • vpsrun.cpp : Runs the whole thing, an optionally streams points over TCP if you want to view them (e.g., with the provided MATLAB script).

Most probably, nothing here will work out of the box, I'm telling you.

Using it

I may never get around writing this. Who knows. Get in touch if you care.

About

Some (very bad) code snippets I'm putting together while attempting to develop an visual positioning system (a.k.a. Motion Capture software).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.8%
  • QMake 4.7%
  • MATLAB 1.5%