Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Online Demo
WEBRTC may be the most watched HTML5 standard of the next year, and Mozilla has developed a set of APIs to help you control your hardware, such as a camera, a microphone, or an accelerator table. You can not rely on other plug-ins to invoke the native 11585.html "> Hardware device you need."
In today's article, we'll introduce the photobooth.js from Wolfram Hempel, which can help you quickly call the camera feature, and you can easily add camera features to the site. and quick to help you take pictures, you can use this feature to achieve the user's head shots, is not very good?
Main Features:
Contrast settings
Color settings
Brightness settings
Tonal settings
Photo button
Support the latest Chrome, Firefox, Opera and other browsers
Support for jquery plug-in mode and JavaScript code
After using Chrome to open an online demo, make sure to allow your browser to call your webcam as follows:
JavaScript code:
$ (' #webcam '). Photobooth (). On ("Image", function (event, Dataurl) {$ ('. Nopic '). Hide (); $ ("#pictures"). Prepend (' < IMG src= "' + Dataurl + '" > ");
The above code passes the generated picture data to the Id=picture label. Please refer to the relevant API for specific instructions.
Hope you like us to provide this online demo and demo, if you have any questions, please give us a message, thank you!
Source: Super Cool camera based on HTML5 (HTML5 webcam) Photo function-Photobooth.js
Date: 2012-12-10 Source: gbin1.com