One of us had prior experience with openCV, the other had an intrigue with AR. This is the fun app that was born from this combination of thoughts.

What it does

A user can draw a game world with their own desired platforms and objects. The app captures their hand-drawn world and adds Mario to it! Mario can jump and run around on the drawn shapes.

How we built it

We used openCV's Android SDK to detect the boundaries of the game word and platforms/objects within via image manipulation and contour methods. We made a physics engine for Mario to move around in the environment.

Challenges we ran into

OpenCV was a tricky library to work with in java, as it was originally built for lower level languages. We had a tough time finally rendering the stage in the correct orientation

Accomplishments that we're proud of

We are proud of having our idea come to fruition. Tying up all the difficulties we had with stage rendering and edge detection was very satisfying.

What we learned

We learned alot about image manipulation and intricacies of openCV.

What's next for Mario Sketchbook

Some fun possibilities include: Enemies, collecting coins as an objective, different color objects having different effects on Mario, etc.

Built With

Share this project: