Attributes
- Companion
- class
- Source
- Camera.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Camera.type
Members list
Value members
Concrete methods
Opens a camera by device index. Left if the device does not exist, is busy, or no backend can drive it.
Opens a camera by device index. Left if the device does not exist, is busy, or no backend can drive it.
Attributes
- Source
- Camera.scala
Opens a video file, URL (rtsp://, http://), or frame_%04d.png sequence.
Opens a video file, URL (rtsp://, http://), or frame_%04d.png sequence.
Attributes
- Source
- Camera.scala
Opens camera index, runs use, and closes the camera afterwards — even on an exception.
Opens camera index, runs use, and closes the camera afterwards — even on an exception.
The whole use body runs inside Cv.attempt, as in Image.reading: a CvError.NativeCall thrown by an operation inside the block comes back as a Left rather than escaping past the Either. Programmer errors (IllegalArgumentException, use-after-close) still throw.
Attributes
- Source
- Camera.scala
Opens source, runs use, and closes the camera afterwards. The body runs inside Cv.attempt for the reason given on using.
Opens source, runs use, and closes the camera afterwards. The body runs inside Cv.attempt for the reason given on using.
Attributes
- Source
- Camera.scala