dmv

  • 所有者: rwaldron/dmv
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

DMV

See it live

Node.js powered, Jitsu Hosted, WebRTC connected, 100% JavaScript, Camera > Web > Server Photobooth-style image capture program.

Works in: Canary, Opera and Opera Mobile 12. Read More

Getting Started

Download the production version or the development version.

In your web page:

<script src="dmv.min.js"></script>
<script>

// ...when the dom is ready, with whatever your poison is...

DMV.init( selector, socket );

// `selector` is any valid CSS Selector to locate your empty container in the DOM

// `socket` is your socket.io object, which you're on your own for creating.

</script>

Run Application with:

$ node app

Development

Dependency: grunt

$ npm install grunt -g

Dependency: npm modules

$ npm install

Verify and Build code with:

$ 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, Lint and test your code using 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 waldron.rick@gmail.com
Licensed under the MIT license.

主要指標

概覽
名稱與所有者rwaldron/dmv
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2012-02-14 16:30:29
推送於2012-08-20 20:55:32
最后一次提交2012-08-20 16:55:20
發布數0
用户参与
星數118
關注者數6
派生數17
提交數84
已啟用問題?
問題數3
打開的問題數2
拉請求數1
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?