Giter Site home page Giter Site logo

winimagesnap's Introduction

WinImageSnap

Command line utility to snap a frame from your webcam. Ideal for taking a pretty picture of your face when you git commit!

Git setup

Add the following line to post-commit in .git\hooks :

<path-to-executable>/WinImageSnap.exe -o <output-folder> -r <repository-name> -w 2 -v -c <pipe-separated-list-of-webcams-in-preferred-order>

Example

I have two webcams, one internal and one attached to the monitor. I set the latter as preferred, and winimagesnap will fall back to the former when needed (e.g when the MS cam isn't connected). I also have winimagesnap "installed"in (xcopyed to) c:\winimagesnap, and my snaps are placed in subfolders of c:\gitshots.

/c/WinImageSnap/WinImageSnap.exe -o /c/gitshots -r WinImageSnap -w 2 -v -c "Microsoft LifeCam Studio|HP HD Webcam [Fixed]"

Command line parameters

'c', "cameraNames"	The device (camera) names to use for snapping, in preferred order.
'r', "repositoryName"	The current repository name
'w', "maxWaitTime"	The max time to wait for a snap to be taken.
'o', "outputFolder"	The root output folder. Snaps will be put in repository-named subfolders of this folder.
'v', "verbose"		Verbose output.
'l', "list"		A list of the camera winimagesnap can detect. These names can be used with the 'c' argument.

winimagesnap's People

Contributors

joachiml avatar

Watchers

 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.