Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
/ oncrop Public archive

A Flask-based web application for live cropping photos into media streams

Notifications You must be signed in to change notification settings

thearchitector/oncrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oncrop

Oncrop is a web app that will crop a missing's friend face into the photo in real time. You place the photo by moving your phone around in the frame; the camera will track your phone using a provided ARUCO code. Don't worry, the web app is user friendly and will walk you through the steps.

example image

Installation

Oncrop requires several dependencies to run. To make lives easier, dependency installation and configuration is all handled automatically by setup.py. Simply open a shell and run the following commands:

	$ python setup.py

Note: Oncrop makes use of OpenCV's aruco detection capabilities, which seems to require opencv-contrib-python instead of just opencv-python. Even if you already have OpenCV installed, the setup script will download the opencv-contrib-python package.

Use

After running the setup file above, cd into the ./source directory and run:

	$ python app.py

When the application server starts, follow the link output to the terminal. It should look something like this:

	$ * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)

The web app contains all of the instructions from there on out.

© 2019 Elias Gabriel, Duncan Mazza