Giter VIP home page Giter VIP logo

usb-camera's Introduction

UsbCamera Class

This is the code block for using a USB camera with Windows 10 IoT Core.

Methods

The UsbCamera class has these methods:

  • InitializeAsync: Initializes the first detected camera device asynchronously.
  • StartCameraPreview: Begins live USB camera feed asynchronously.
  • StopCameraPreview: Ends live USB camera feed asynchronously.
  • CapturePhoto: Captures photo from camera feed and stores it in local storage asynchronously. Returns image file as a StorageFile. File is stored in a temporary folder and could be deleted by the system at any time.
  • Dispose: Performs tasks associated with freeing, releasing, or resetting unmanaged resources.

Setup

To use this block in your project, you need to perform the following steps:

  1. Navigate to your git project folder using Command Prompt and run git submodule add https://github.com/ms-iot/usb-camera
  2. Next, run git submodule update
  3. Open your project solution on Visual Studio and right click on Solution -> Add -> Existing Project. Select usb-camera -> UsbCamera -> UsbCamera.csproj.
  4. Once usb-camera is added to the solution explorer, right click on References on your project -> Add Reference -> Projects -> Solution. Check UsbCamera and select OK.
  5. You should now be able to use UsbCamera objects in your project.

Note: Everytime you clone your project after it's initial creation, you must run the following commands in the project's root folder:

  • git submodule init
  • git submodule update

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

usb-camera's People

Contributors

apdutta avatar bfjelds avatar ooeygui avatar

Stargazers

farlongwater avatar  avatar Chuck Shen avatar  avatar Jackie avatar Yitzchok Gottlieb avatar  avatar Herbert avatar wordin avatar FooFather avatar Mohd Nazri Kasuan avatar Brook Studio avatar  avatar  avatar Nick McGill-Gardner avatar 楼兰碎叶 avatar  avatar Jiankai Li avatar  avatar Le Qu avatar Peter Ullrich avatar critic avatar SeattleFreeze Sheen Hunter avatar BENM avatar

Watchers

Ali Sanjabi avatar James Cloos avatar wordin avatar Anthony N avatar Matt McKee avatar  avatar Ale Contenti avatar Paul McDaniel avatar Marcus Russell avatar 楼兰碎叶 avatar Ben Thomas avatar Neil Shipp avatar Wesley Witt avatar Paul Monson avatar Anthony Ngu avatar Herbert 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.