Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stuartpb/osnap

A simple webcam snapshooter
https://github.com/stuartpb/osnap

Last synced: 7 days ago
JSON representation

A simple webcam snapshooter

Awesome Lists containing this project

README

        

# osnap: a simple webcam snapshooter

## Requirements

To run osnap.wlua, you'll need:

- [Lua](http://lua.org)
- [IUPLua](http://www.tecgraf.puc-rio.br/iup/)
- [IMLua](http://www.tecgraf.puc-rio.br/im/)
- [CDLua](http://www.tecgraf.puc-rio.br/cd/)
- [LuaGL](http://luagl.sourceforge.net/)

On Windows, you can get all this and more by installing [Lua for Windows](http://code.google.com/p/luaforwindows/downloads/detail?name=LuaForWindows_v5.1.4-45.exe).

Outside of Windows, check your local package manager (which will most likely have packages for Lua) and/or Sourceforge (there are some good tips out there for setting up the files you can get from Sourceforge if you search for them).

## Running

Run osnap.wlua with a Lua interpreter like wlua.exe for Windows.

## Usage

Press the "oh snap" buttons on either side of the frame (or the spacebar) to take a picture. (It will be saved as an epoch-time-named JPEG in the working directory.)

Drag across the center of the preview horizontally (or press the H key) to flip it.

Press F11 to toggle fullscreen.

## Roadmap

- Sooner:
- Fancy canvas-based buttons
- Smarter keyboard input / focus handling
- Right now I just giving all canvases the same key handler.
- Access to camera options dialog
- Later:
- Overlay(s)

## Footer

[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=stuartpb&url=https://github.com/stuartpb/osnap&title=osnap&language=en_GB&tags=github&category=software)