repa-v4l2-0.1.0.0: src/Graphics/Webcam/Linux.hs
{-| The Linux interface for accessing webcams via video4linux.
This module uses the lower-level bindings to v4l to provide for a simple
way to access a web camera from Haskell code using repa.
The module is meant to be used like shown in the file /example.hs/
in the root of the package.
For example:
> main = runCam (Webcam 0) $
> grab >>= saveBmp "1.bmp" >>
> grab >>= saveBmp "2.bmp" >>
> grab >>= saveBmp "3.bmp"
This example would take three pictures from the first webcam and
store them in three files.
-}
module Graphics.Webcam.Linux
(
-- * Data Types
Webcam (..)
, Image
, V4lCamT
, CamState
, liftIO
-- * Camera Actions
, runCam
, runCamWith
, grab
, grabF
, setSize
, getSize
, getState
, saveBmp
, getImageFormat
, findImageFormat
-- * Utility Functions
, rgbaToAbgr
, flipY
) where
import Graphics.Webcam.Linux.Internal