- Cap_captureFrame(Pointer, int, Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
this function copies the most recent RGB frame data
to the given buffer.
Original signature : CapResult Cap_captureFrame(CapContext, CapStream, void*, uint32_t)
native declaration : openpnp-capture/include/openpnp-capture.h:182
- Cap_closeStream(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Close a capture stream
- Cap_createContext() - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Initialize the capture library
- Cap_getAutoProperty(Pointer, int, int, IntByReference) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
- Cap_getAutoProperty(Pointer, int, int, IntBuffer) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
get the automatic flag of a camera/stream property (e.g.
- Cap_getDeviceCount(Pointer) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Get the number of capture devices on the system.
note: this can change dynamically due to the
pluggin and unplugging of USB devices.
- Cap_getDeviceName(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Get the name of a capture device.
This name is meant to be displayed in GUI applications,
i.e.
- Cap_getDeviceUniqueID(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Get the unique name of a capture device.
The string contains a unique concatenation
of the device name and other parameters.
These parameters are platform dependent.
Note: when a USB camera does not expose a serial number,
platforms might have trouble uniquely identifying
a camera.
- Cap_getFormatInfo(Pointer, int, int, CapFormatInfo) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Get the format information from a device.
- Cap_getLibraryVersion() - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Return the version of the library as a string.
In addition to a version number, this should
contain information on the platform,
e.g.
- Cap_getNumFormats(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Returns the number of formats supported by a certain device.
returns -1 if device does not exist.
- Cap_getProperty(Pointer, int, int, IntByReference) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
- Cap_getProperty(Pointer, int, int, IntBuffer) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
get the value of a camera/stream property (e.g.
- Cap_getPropertyLimits(Pointer, int, int, IntByReference, IntByReference) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
- Cap_getPropertyLimits(Pointer, int, int, IntBuffer, IntBuffer) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
get the min/max limits of a camera/stream property (e.g.
- Cap_getStreamFrameCount(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
returns the number of frames captured during the lifetime of the stream.
- Cap_hasNewFrame(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
returns 1 if a new frame has been captured, 0 otherwise
Original signature : uint32_t Cap_hasNewFrame(CapContext, CapStream)
native declaration : openpnp-capture/include/openpnp-capture.h:185
- Cap_isOpenStream(Pointer, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Check if a stream is open, i.e.
- Cap_openStream(Pointer, int, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Open a capture stream to a device with specific format requirements
Although the (internal) frame buffer format is set via the fourCC ID,
the frames returned by Cap_captureFrame are always 24-bit RGB.
- Cap_releaseContext(Pointer) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Un-initialize the capture library context
- Cap_setAutoProperty(Pointer, int, int, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
set the automatic flag of a camera/stream property (e.g.
- Cap_setLogLevel(int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
Set the logging level.
LOG LEVEL ID | LEVEL
------------- | -------------
LOG_EMERG | 0
LOG_ALERT | 1
LOG_CRIT | 2
LOG_ERR | 3
LOG_WARNING | 4
LOG_NOTICE | 5
LOG_INFO | 6
LOG_DEBUG | 7
LOG_VERBOSE | 8
Original signature : void Cap_setLogLevel(uint32_t)
native declaration : openpnp-capture/include/openpnp-capture.h:256
- Cap_setProperty(Pointer, int, int, int) - Method in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
set the value of a camera/stream property (e.g.
- CapFormatInfo - Class in org.openpnp.capture.library
-
- CapFormatInfo() - Constructor for class org.openpnp.capture.library.CapFormatInfo
-
- CapFormatInfo(int, int, int, int, int) - Constructor for class org.openpnp.capture.library.CapFormatInfo
-
- CapFormatInfo(Pointer) - Constructor for class org.openpnp.capture.library.CapFormatInfo
-
- CapFormatInfo.ByReference - Class in org.openpnp.capture.library
-
- CapFormatInfo.ByValue - Class in org.openpnp.capture.library
-
- CAPPROPID_BRIGHTNESS - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_CONTRAST - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_EXPOSURE - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_FOCUS - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_GAIN - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_GAMMA - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_LAST - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_SATURATION - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_WHITEBALANCE - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPPROPID_ZOOM - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPRESULT_DEVICENOTFOUND - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPRESULT_ERR - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPRESULT_FORMATNOTSUPPORTED - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPRESULT_OK - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- CAPRESULT_PROPERTYNOTSUPPORTED - Static variable in interface org.openpnp.capture.library.OpenpnpCaptureLibrary
-
native declaration : openpnp-capture/include/openpnp-capture.h
- capture() - Method in class org.openpnp.capture.CaptureStream
-
- CaptureDevice - Class in org.openpnp.capture
-
- CaptureDevice(Pointer, int) - Constructor for class org.openpnp.capture.CaptureDevice
-
- CaptureException - Exception in org.openpnp.capture
-
- CaptureException(int) - Constructor for exception org.openpnp.capture.CaptureException
-
- CaptureFormat - Class in org.openpnp.capture
-
- CaptureFormat(int, CapFormatInfo) - Constructor for class org.openpnp.capture.CaptureFormat
-
- CaptureProperty - Enum in org.openpnp.capture
-
- CaptureStream - Class in org.openpnp.capture
-
- CaptureStream(Pointer, int, CaptureFormat) - Constructor for class org.openpnp.capture.CaptureStream
-
- close() - Method in class org.openpnp.capture.CaptureStream
-
- close() - Method in class org.openpnp.capture.OpenPnpCapture
-