Code Monkey home page Code Monkey logo

camcanvas-api-'s Introduction

Webcam to Canvas JavaScript API 0.2
===
This API allows you to capture webcam images and use it in the canvas tag to do whatever you like. This version depends on a flash-based SWF file. The .as source is also part of this project and can be compiled with Mtasc. You can also simply use the less than 5K swf binary. This is a client side library and once you have the webcam image in the canvas, you can do anything. 

Online Projects using CamCanvas and Demos
====
http://remixpic.taboca.com/co/mozilla/
http://cam.mamulti.com/ ( Bruno Barreto Face Detection Algorithm ) 
http://www.taboca.com/p/camcanvas/

Roadmap
====

* PENDING= Cam Gestures - higher level edge/pattern detection
* More image manipulation samples ( eliminate background, chromakey etc ) 

If you want to compile the as and change the SWF 
===

Mtasc - http://www.mtasc.org/#download 
SwfMill - http://swfmill.org/
Put mtasc and swfmill binary in this directory and use the build script. 
You will also need ./lib/* from mtasc : ./lib/std and ./lib/std8
./build.sh
Cp the binary ./swf/* to the ./samples/ and enjoy the samples. 

Release Notes
===

* 0.2
 + ccList function returns strings of camera names separated by comma
 + ccInit(index) 
 + ccCapture() works as the same

* 0.1 - basic function ccCapture() only;  Default was 320x240; Once the flash is active the webcam was initialized; expected JS callback needs to be called passLine. A line of 320 pixels is tranfered to JavaScript - all pixels in a string; 

camcanvas-api-'s People

Stargazers

 avatar

Watchers

 avatar  avatar

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.