GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hacst/sandbox: OpenCV based augmented reality sandbox

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
media
media
 
 
sandbox
sandbox
 
 
README.md
README.md
 
 
colorband0.png
colorband0.png
 
 
colorband1.png
colorband1.png
 
 
colorband2.png
colorband2.png
 
 
colorband3.png
colorband3.png
 
 
colorband4.png
colorband4.png
 
 
colorband5.png
colorband5.png
 
 
colorband6.png
colorband6.png
 
 
colorband7.png
colorband7.png
 
 
colorband8.png
colorband8.png
 
 
sandbox.sln
sandbox.sln
 
 
sandbox.suo
sandbox.suo
 
 
treasure.png
treasure.png
 
 
treasure.wav
treasure.wav
 
 
treasureOrig.png
treasureOrig.png
 
 

Repository files navigation

sandbox

What is it?

A OpenCV based augmented reality sandbox implementation. This repository contains the code created by our three person team during this 5 day university project. The basic idea is to sense the height map of a sand surface the user can interact with in the real world and project a corresponding elevation map of the surface right back onto it.

While there are a lot of better implementations of this concept already out there we nevertheless are quite pleased about what we could achieve in 5 days without any previous knowledge of either OpenCV nor image processing. We even had some time left over on the last day to implement a treasure hunting Easter egg in which you can dig for a hidden treasure chest. All in all this was way to much fun ;) Playing with sand all day and getting credits for it.

The code has not been touched after the projects conclusion so expect rough edges.

Pictures

Unfortunately the images don't really do justice to how vivid the colors look when projected onto the white sand but here are some anyways:

Sandbox with a few mountains and valleys to show off the colorband: Sandbox with a few mountains and valleys to show off the colorband

Another picture with the same colorband: Another picture with the same colorband

Getting creative with a different colorband: Getting creative with a different colorband

Yet another example with different colors: Yet another example with different colors.

And another one: And another one

Picture of the cropped and undistorted B/W depth field picked up by the sensor. Picture of the cropped and undistorted B/W depth field picked up by the sensor

Picture of the sandbox setup in the lab: Picture of the sandbox setup in the lab

Animation of the auto-calibration method which detects the extent of the projection area as well as distortion. It does so by projecting circles into the edges in a specific order: Animation of the auto-calibration methods which detects the extent of the projection area as well as distortion by projecting circles into the edges in a specific .order

Requirements

Hardware

  • ASUS XTion PRO Live
    • In theory any OpenCV/OpenNI compatible sensor like Kinect might do with a bit of work
  • Beamer
    • Ours had a 1024x768 resolution
  • Box with white sand
    • We had approximately 9cm of sand
  • Some shovels to play with the sand

Software

  • OpenCV 2.4.0
    • Needs OpenNI support compiled in
  • Visual Studio 2010
  • Git

Authors

In no specific order:

  • Aleksej Lednev
  • Patrick Hillert <[email protected]>
  • Stefan Hacker <[email protected]>

About

OpenCV based augmented reality sandbox

Resources

Readme
Activity

Stars

13 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.