mirror of
https://github.com/gen2brain/cam2ip.git
synced 2026-01-09 08:08:33 +00:00
Drop support for cv2, rename tag
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build !cv2 && !cv4 && !android
|
||||
// +build !cv2,!cv4,!android
|
||||
//go:build !opencv && !android
|
||||
|
||||
// Package camera.
|
||||
package camera
|
||||
@@ -19,6 +18,20 @@ import (
|
||||
im "github.com/gen2brain/cam2ip/image"
|
||||
)
|
||||
|
||||
// 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
|
||||
)
|
||||
|
||||
// Camera represents camera.
|
||||
type Camera struct {
|
||||
opts Options
|
||||
|
||||
Reference in New Issue
Block a user