Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Javascript/Coffeescript companion library to SimpleCV
JavaScript CoffeeScript CSS
branch: master

README.md

SimpleCV.js - a port of the SimpleCV Framework to Javascript

Currently a Skeleton

CHECK OUT THE LIVE DEMO (Chrome only!)

Requirements

Coffee Script Node.js ~ v0.6.10 Node Package Manager

Quick Start Guide

Note that this quickstart guide is tested and works for Ubuntu 12.04 LTS

  • Install brunch.
  • Install coffe-script-brunch which adds support for Coffee Script.
  • Install a coffee script build environment.
  • Optional Install SimpleCV and its dependencies.
  • Run npm install to install missing dependencies
  • Add the following command to your .bashrc file and source the file: alias http "python -m SimpleHTTPServer"
  • Run the following commands in the shell
    • > cd simplecv-js
    • > brunch build
    • > brunch watch &
    • > http
  • Using Chrome go to locahost:8000/public/ and check out the results.
  • Most of the action happens in /simplecv-js/app/models/Image.coffee
  • Enjoy!

To test the javascript to python functionality do the following:

  • cd ./simplecv-js/webrtc-2-python
  • python server.py
  • Using Chrome go to localhost:8080
  • Allow the camera.
  • Enjoy!

Wraps the following:

Something went wrong with that request. Please try again.