repa-v4l2: Provides high-level access to webcams.

[ graphics, library, program ] [ Propose Tags ]

The current state is that the library provides a monad for grabbing images from a webcam under Linux. In the future, more functionality like image processing functions and other input devices may be added. If anyone wants to help, please contact me! It has been pointed out on haskell-cafe that the v4l2 package that is needed by this package is not (yet?) on hackage. Therefore this library is not building on hackage.


[Skip to Readme]

Modules

[Last Documentation]

  • Graphics
    • Webcam
      • Graphics.Webcam.Linux

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0 (info)
Dependencies base (>=4 && <5), bmp (>=1.2.1), bytestring (>=0.9.2), containers (>=0.2), deepseq (>=1.3), gloss (>=1.7.2.1), mtl (>=2.0.1.0), repa (>=3.1.0.1), repa-v4l2 (>=0.1), transformers (>=0.2.2), v4l2 (>=0.1), vector (>=0.9.1) [details]
License LicenseRef-LGPL
Copyright 2011-2012, Christian Gosch
Author Christian Gosch
Maintainer Christian Gosch <github@goschs.de>
Category Graphics
Home page https://github.com/cgo/hsimage
Source repo head: git clone git://github.com/cgo/hsimage.git
Uploaded by ChristianGosch at 2012-05-25T21:46:52Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables example
Downloads 1627 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-24 [all 7 reports]

Readme for repa-v4l2-0.1.0.0

[back to package description]
Provides high-level access to webcams for Haskell programs.

The current state is that the library provides a monad for
grabbing images from a webcam under Linux. In the future, more functionality like 
image processing functions and other input devices may be added.

Last time I checked, the v4l2 package was not on hackage, 
but it can be retrieved from here:
 https://gitorious.org/hsv4l2

For images, repa arrays are used. Therefore, all the repa goodness
can be used with the data. It should also be possible without too much hassle 
to write a function which gets the data into a different type of array,
if that is necessary.

Getting an image with a v4l webcam works like this:

> import Graphics.Webcam.Linux
> main = runCam (grab >>= saveBmp "my_image.bmp") (Webcam 0)

If anyone wants to help, please contact me!