Safe Haskell | Safe-Infered |
---|
Documentation
newtype Capture
newtype VideoWriter
withVideoWriter :: VideoWriter -> (Ptr VideoWriter -> IO b) -> IO b
type VideoStream c d = Stream IO (Image c d)
captureFromFile :: String -> IO Capture
captureFromCam :: Integral a => a -> IO (Maybe Capture)
data CapProp
getCapProp :: Fractional b => Capture -> CapProp -> IO b
getFrameRate :: Fractional a => Capture -> a
getFrameSize :: (Integral t1, Integral t) => Capture -> (t, t1)
numberOfFrames :: Integral a => Capture -> a
frameNumber :: Integral a => Capture -> a
createVideoWriter :: (Integral t1, Integral t) => String -> Codec -> CDouble -> (t, t1) -> IO VideoWriter
writeFrame :: VideoWriter -> Image RGB D32 -> IO ()
cvCreateCameraCapture :: CInt -> IO (Ptr Capture)
cvGrabFrame :: Ptr Capture -> IO CInt
wrapCreateVideoWriter :: Ptr CChar -> CInt -> CDouble -> CInt -> CInt -> CInt -> IO (Ptr VideoWriter)
cvWriteFrame :: Ptr VideoWriter -> Ptr BareImage -> IO CInt