Page
Library
Module
Module type
Parameter
Class
Class type
Source
Zbar.Videoval create : unit -> tCreate the video device structure.
val request_size : t -> int -> int -> unitRequest a preferred size for the video image from the device. Must be called before open_.
val request_interface : t -> int -> unitRequest a preferred driver interface version for debug/testing. Must be called before open_.
val request_iomode : t -> int -> unitRequest a preferred I/O mode for debug/testing. Must be called before open_.
val open_ : t -> string -> unitopen_ h dev opens the video device dev.
val opendev : ?dev:string -> unit -> topendev ~dev () creates a video device reading its frames from ~dev (default /dev/video0) and opens it with the default settings. It is equivalent to call create, then open_.
val closedev : t -> unitstream d starts the video capture and returns the stream of images from the video device structure d.
val disable : t -> unitdisable d stops the video capture on device structure d.