mirror of
https://github.com/gen2brain/cam2ip.git
synced 2025-12-16 04:18:39 +00:00
Move encoder
This commit is contained in:
@@ -57,8 +57,8 @@ type Camera struct {
|
||||
camera *opencv.Capture
|
||||
}
|
||||
|
||||
// NewCamera returns new Camera for given camera index.
|
||||
func NewCamera(index int) (camera *Camera, err error) {
|
||||
// New returns new Camera for given camera index.
|
||||
func New(index int) (camera *Camera, err error) {
|
||||
camera = &Camera{}
|
||||
camera.Index = index
|
||||
|
||||
|
||||
Reference in New Issue
Block a user