资源说明:
# DMV ## [See it live](http://dmv.nodejitsu.com) Node.js powered, Jitsu Hosted, WebRTC connected, 100% JavaScript, Camera > Web > Server Photobooth-style image capture program. Works in: [Canary](http://tools.google.com/dlpage/chromesxs), [Opera](http://dev.opera.com/articles/view/labs-more-fun-using-the-web-with-getusermedia-and-native-pages/) and [Opera Mobile 12](http://my.opera.com/chooseopera/blog/2012/02/27/opera-mini-7-next-and-opera-mobile-12). [Read More](http://weblog.bocoup.com/javascript-webrtc-opera-mobile-12/) ## Getting Started Download the [production version][min] or the [development version][max]. [min]: https://raw.github.com/rwldrn/dmv/master/public/javascripts/dmv.min.js [max]: https://raw.github.com/rwldrn/dmv/master/public/javascripts/dmv.js In your web page: ```html ``` Run Application with: ```bash $ node app ``` ## Development Dependency: `grunt` ```bash $ npm install grunt -g ``` Dependency: npm modules ```bash $ npm install ``` Verify and Build code with: ```bash $ grunt ```## YAY! These were taken with **dmv**. When you click on the camera display surface, the image is captured and sent to a Node.js server via Socket.IO where a png is created and saved in the ./saved/ directory.
![]()
## Archaic Browsers Suck And Ruin The Web
## What - ✔ take a picture with a web cam. - ✔ Put it on the browser screen (canvas I hope). - Do face-recognition if easy. (SEE: http://wesbos.com/html5-video-face-detection-canvas-javascript/) - Allow operator to position a square if the face-recognition goes batty. - ✔ Click to capture - ✔ Upload pic to server. (Auto with socket.io) - ✔ Save captured image on server! Built With: grunt, express, socket.io and love ## Contributing Style guide: [idiomatic.js](https://github.com/rwldrn/idiomatic.js), Lint and test your code using [grunt](https://github.com/cowboy/grunt). _Also, please **don't** edit files in the **"dist"** or **"/public/javascript/"** subdirectories as they are generated via grunt. You'll find source code in the "lib" subdirectory!_ ## License Copyright (c) 2012 Rick Waldron
Licensed under the MIT license.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。