color-counter-0.1.2.1: color-counter.cabal
name: color-counter
version: 0.1.2.1
synopsis: Count colors in images
description: This Haskell package contains functions for counting colors in images, either from a file or a camera feed. The input image must in a standard format like JPEG or PNG. The analyze function outputs the RGB and CIE-LAB values for each pixel, along with the color detected there. The tally function outputs a histogram of the colors detected. The quantize function outputs an image where the pixels have been replaced by the colors detected there.
license: MIT
license-file: LICENSE
author: Brian W Bush <consult@brianwbush.info>
maintainer: Brian W Bush <consult@brianwbush.info>
copyright: (c) 2016 Brian W Bush
category: Graphics
build-type: Simple
cabal-version: >= 1.10
homepage: https://bitbucket.org/functionally/color-counter
bug-reports: https://bwbush.atlassian.net/projects/HCC/issues/
package-url: https://bitbucket.org/functinally/color-counter/downloads/color-counter-0.1.2.1.tar.gz
extra-source-files: ReadMe.md
data-dir: data
data-files: configuration.yaml
sample.jpg
R/quantized.png
R/observations.png
R/classifications.png
source-repository head
type: git
location: https://bwbush@bitbucket.org/bwbush/color-counter.git
flag nocapture
description: Compile without support for image capture. (Capture support requires the "v4l2" package which is only available on Linux.)
default: False
library
build-depends: base >= 4.8 && < 5
, aeson
, colour
, containers
, data-default
, directory
, friday
, friday-devil
, split
, vector
, vector-space
, yaml
exposed-modules: Vision.Image.Color.Detection
Vision.Image.IO
hs-source-dirs: src
exposed: True
buildable: True
ghc-options: -Wall
default-language: Haskell2010
if !flag(nocapture) && os(linux)
cpp-options: -DCAPTURE
build-depends: v4l2
exposed-modules: Vision.Image.IO.Capture
executable color-counter
main-is: Main.hs
build-depends: base
, aeson
, colour
, cmdargs
, containers
, data-default
, directory
, friday
, friday-devil
, split
, vector
, vector-space
, yaml
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if !flag(nocapture) && os(linux)
cpp-options: -DCAPTURE
build-depends: v4l2