[BREAKGLASS] Append-only mirror of github.com/sparrowwallet/openpnp-capture
Go to file
2017-07-11 09:41:33 -05:00
common Added missing deviceinfo.h file 2017-07-11 16:24:20 +02:00
doc Updated documentation to reflect the availability of exposure control. 2017-07-11 01:26:01 +02:00
include Library now has working exposure calls. 2017-07-11 01:22:16 +02:00
java list devices now fully working in C and Java 2017-02-20 23:07:54 -06:00
mac Refactored all variable names to be cleaner. 2017-02-21 10:09:04 -06:00
win Added more platform separation between libmain.cpp, Context and PlatformContext. 2017-07-11 16:17:44 +02:00
.gitignore Beginning to make a little progress. C API is shaping up but can't figure out how to access it via Java yet. 2017-02-17 00:13:29 -06:00
bootstrap.bat * Created CMAKE build file (windows only for now). 2017-07-06 18:25:57 +02:00
CMakeLists.txt Created platform dependent and independent classes for better separation. 2017-07-11 00:49:29 +02:00
Doxyfile * changed Stream interface to accept a DeviceID (int) instead of a Device pointer. 2017-07-10 13:53:17 +02:00
LICENSE.txt Create LICENSE.txt 2017-07-11 09:41:33 -05:00
README.md Update README.md 2017-07-11 09:39:31 -05:00

OpenPNP Logo

OpenPnP Capture is a cross platform video capture library with a focus on machine vision. It's goals are:

  • Native camera access on Windows, Linux and Mac. Implemented with DirectShow, V4L2 and AVFoundation respectively.
  • Named device enumeration.
  • Strong, repeatable unique IDs.
  • Format control with support for at least YUV and MJPEG. MJPEG will allow the use of multiple USB cameras on a single hub.
  • Auto and manual exposure control.
  • Auto and manual focus control.
  • Simple, common C wrapper for the listed APIs.

Status

Working in the windows version:

  • device enumeration.
  • capturing from a device (using default frame size and format).
  • partial c interface.
  • exposure control.

Not working in the windows version:

  • setting of frame size.
  • setting of video format, e.g. MJPG etc.
  • supported format enumeration.
  • focus control.

Build instructions (Windows)

Run the batch file 'bootstrap.bat' and choose the desired build system (VisualStudio/nmake or Ninja). Make sure the compiler (Visual Studio) is in the search path.

Go to the build directory and run nmake or ninja to build the library and the test application.

Build instructions (OSX)

TODO

Build instructions (Linux)

TODO