"E"xtremly "S"imple video "C"apture API V3.
homepage: https://sol.gfxile.net/escapi/index.html
source code: https://github.com/jarikomppa/escapi/
download: escapi3.zip
Joshy
ESCAPI3 (Windows 32/64-bit)
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
ESCAPI3 (Windows 32/64-bit)
Last edited by D.J.Peters on Oct 12, 2022 18:54, edited 3 times in total.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: ESCAPI3 (Windows 32/64-bit)
added:
Code: Select all
type CAPTURE_PROPETY as ulong
const as CAPTURE_PROPETY CAPTURE_BRIGHTNESS=0
const as CAPTURE_PROPETY CAPTURE_CONTRAST=1
const as CAPTURE_PROPETY CAPTURE_HUE=2
const as CAPTURE_PROPETY CAPTURE_SATURATION=3
const as CAPTURE_PROPETY CAPTURE_SHARPNESS=4
const as CAPTURE_PROPETY CAPTURE_GAMMA=5
const as CAPTURE_PROPETY CAPTURE_COLORENABLE=6
const as CAPTURE_PROPETY CAPTURE_WHITEBALANCE=7
const as CAPTURE_PROPETY CAPTURE_BACKLIGHTCOMPENSATION=8
const as CAPTURE_PROPETY CAPTURE_GAIN=9
const as CAPTURE_PROPETY CAPTURE_PAN=10
const as CAPTURE_PROPETY CAPTURE_TILT=11
const as CAPTURE_PROPETY CAPTURE_ROLL=12
const as CAPTURE_PROPETY CAPTURE_ZOOM=13
const as CAPTURE_PROPETY CAPTURE_EXPOSURE=14
const as CAPTURE_PROPETY CAPTURE_IRIS=15
const as CAPTURE_PROPETY CAPTURE_FOCUS=16
' Gets value (0..1) of a camera property (see CAPTURE_PROPERTY, above)
type getCapturePropertyValueProc as function (deviceno as long, prop as CAPTURE_PROPETY) as single
dim shared as getCapturePropertyValueProc getCapturePropertyValue
' Gets whether the property is set to automatic (see CAPTURE_PROPERTY, above)
type getCapturePropertyAutoProc as function (deviceno as long, prop as CAPTURE_PROPETY) as long
dim shared as getCapturePropertyAutoProc getCapturePropertyAuto
' Set camera property to a value (0..1) and whether it should be set to auto.
type setCapturePropertyProc as function (deviceno as long, prop as CAPTURE_PROPETY, value as single, bAutoval as long) as long
dim shared as setCapturePropertyProc setCaptureProperty
-
- Posts: 3917
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: ESCAPI3 (Windows 32/64-bit)
@Joshy,
Thank you for the update.
Although it has been a long time recently I have being playing around again with visual code using the escapi.bi
Thank you for the update.
Although it has been a long time recently I have being playing around again with visual code using the escapi.bi