Add support for native VFW implementation on Windows

This commit is contained in:
Milan Nikolic
2018-10-29 16:27:46 +01:00
parent 72f12931da
commit d5870110d9
12 changed files with 500 additions and 57 deletions

View File

@@ -0,0 +1,21 @@
// +build !cv2,!cv3
package camera
import (
"github.com/korandiz/v4l"
)
// Property identifiers.
const (
PropBrightness = v4l.CtrlBrightness
PropContrast = v4l.CtrlContrast
PropSaturation = v4l.CtrlSaturation
PropHue = v4l.CtrlHue
PropGain = v4l.CtrlGain
PropExposure = v4l.CtrlExposure
PropWhiteBalanceU = v4l.CtrlWhiteBalance
PropSharpness = v4l.CtrlSharpness
PropWhiteBalanceV = v4l.CtrlDoWhiteBalance
PropBacklight = v4l.CtrlBacklightCompensation
)