Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stuartpb/osnap
- Owner: stuartpb
- Created: 2011-09-29T23:13:43.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-05T10:11:04.000Z (about 13 years ago)
- Last Synced: 2024-04-09T22:14:50.430Z (9 months ago)
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)