Code Monkey home page Code Monkey logo

polarweb's Introduction

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/)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.