No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
euphy Now fills the page in reverse order, bottom to top.
This is so it's easier to cut pictures out for people to take away.
Latest commit 4e0e02f Apr 7, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
polarweb Now fills the page in reverse order, bottom to top. Apr 7, 2015
svg_samples Add new svg sample. Apr 1, 2014
.gitignore Added bundle stuff for javascript/CSS Mar 17, 2014
README.md Tidy up some noisy log messages. Mar 31, 2015

README.md

POLARWEB

Work in progress. This is software produced as part of the emerging Polargraph Pro project.

Architecture

The central artefact here is a couple of Polargraph machine "model" objects, and a web UI for controlling it. This is all pretty simple stuff, but is the core of the new Polargraph control software.

Secondarily, there are fairly sophisticated helper routines that are interested in capturing faces from a webcam (image_grabber), and converting them into vector artwork (pathfinder, contributed by nat-n) that are drawable using the polargraph machine.

These are in this repo, but are entirely separate to the central polarweb project in the sense that they have their own requirements and libraries, and getting one working doesn't necessarily mean the rest are working.

Automatic

The first project goal is to make the machine automatic. It will hunt for faces when idle, and then draw what it finds into a set of available panels on a page. When all the panels are full, then it will beg for attention (new sheet, please).

Requirements

Mercifully, it's all turned out to be in Python. It is targetting a Windows environment, but I think it's pretty cross-platform in reality.

Core:

  • pyserial
  • numpy
  • euclid
  • requests
  • flask
  • flask-assets
  • jsmin

http://pyserial.sourceforge.net/

Image Grabber:

  • OpenCV 2.* (cv2)

Pi: sudo apt-get update sudo apt-get install libopencv-dev sudo apt-get install python-opencv

http://opencvpython.blogspot.in/2012/05/install-opencv-in-windows-for-python.html

http://stackoverflow com/questions/10417108/what-is-different-between-all-these-opencv-python-interfaces

Pathfinder:

  • Pillow

http://www.lfd.uci.edu/~gohlke/pythonlibs/

http://stackoverflow.com/questions/7133193/what-is-going-on-with-pil-and-the-import-statement

Resources

[Scriptdraw SVG test renderer] (http://scriptdraw.com/)