Git Product home page Git Product logo

jquery-camera's Introduction

[jQuery Camera Plugin] - Simple camera snapshot using HTML5! By 7republic.com

The jQuery Camera Plugin provides a snapshot camera for your application. You can set resolution eg. "HD", "VGA", "QVGA".

Help the project

This project is looking for help! You can donate to the ongoing pledgie campaign and help spread the word. If you've used the plugin, or plan to use, consider a donation - any amount will help.

Getting Started

Include jQuery and the plugin on a page. Then select a form to camera and call the cameara method. You must run this on localhost or web server.

<!DOCTYPE html>
<html>
  <head>
    <title>jQuery Camera</title>
    <link href="jquery.camera.css" media="all" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="camera"></div>
    <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
    <script src="jquery.camera.js"></script>
    <script>
      $(document).ready(function(){
        $("#camera").camera({
          resolution: "QVGA", // "QVGA", "VGA", "HD"
          snap: function(result){
            console.log(result);
          },
          reset: function(result){
            console.log(result);
          },
        });
      });
    </script>
  </body>
</html>

Reporting an Issue

  1. Make sure the problem you're addressing is reproducible.
  2. Use http://jsbin.com or http://jsfiddle.net to provide a test page.
  3. What version of the plug-in is the issue reproducible in. Is it reproducible after updating to the latest version.

License

Copyright (c) 2013 Sakol Assawasagool Licensed under the MIT license.

jquery-camera's People

Contributors

koobitor avatar

Watchers

James Cloos avatar Tirapong Chaiyakun 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.