-
Notifications
You must be signed in to change notification settings - Fork 44
/
opencv-extra.cabal
161 lines (145 loc) · 4.68 KB
/
opencv-extra.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
name: opencv-extra
version: 0.2.0.1
homepage: https://github.com/LumiGuide/haskell-opencv
bug-reports: https://github.com/LumiGuide/haskell-opencv/issues
license: BSD3
license-file: LICENSE
author: Roel van Dijk <roel@lambdacube.nl>, Bas van Dijk <v.dijk.bas@gmail.com>
maintainer: Roel van Dijk <roel@lambdacube.nl>, Bas van Dijk <v.dijk.bas@gmail.com>
build-type: Custom
cabal-version: >=1.23
category: AI, Graphics
synopsis: Haskell binding to OpenCV-3.x extra modules
description: <<https://raw.githubusercontent.com/LumiGuide/haskell-opencv/master/data/haskell-opencv-logo-200x82.png>>
.
This is a Haskell library providing a binding to the OpenCV-3.x contrib modules.
It binds directly with the C++ API using the @inline-c@ Haskell library.
.
The library is far from complete but the framework is there to easily
bind missing functionality.
.
Make sure to checkout the
<https://github.com/LumiGuide/haskell-opencv/tree/master/opencv-extra-examples opencv-extra-examples>.
extra-source-files:
CHANGELOG.md
data/*.png
data/*.jpg
data/*.mp4
data/*.xml
extra-doc-files:
doc/generated/*.png
doc/generated/examples/*.png
source-repository head
type: git
location: git://github.com/LumiGuide/haskell-opencv.git
subdir: opencv-extra
flag internal-documentation
description: Enables documentation generation for internal modules.
default: False
manual: True
custom-setup
setup-depends: base, Cabal >= 1.23
library
hs-source-dirs: src
include-dirs: include
install-includes:
aruco.hpp
bgsegm.hpp
tracking.hpp
white-ballance.hpp
xfeatures/surf.hpp
aruco-namespace.hpp
if impl(ghc < 8.2)
build-depends:
inline-c >= 0.5.5.5
, inline-c-cpp >= 0.1
c-sources:
src/OpenCV/Extra/ArUco.cpp
src/OpenCV/Extra/Bgsegm.cpp
src/OpenCV/Extra/Tracking.cpp
src/OpenCV/Extra/XPhoto.cpp
src/OpenCV/Extra/XPhoto/WhiteBalancer.cpp
src/OpenCV/Extra/XFeatures2d.cpp
else
build-depends:
inline-c >= 0.6
, inline-c-cpp >= 0.2.1
cc-options: -Wall -std=c++11
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields
if flag(internal-documentation)
cpp-options: -DENABLE_INTERNAL_DOCUMENTATION
build-depends:
base >= 4.8 && <5
, bindings-DSL >= 1.0.23
, bytestring >= 0.10.6
, containers >= 0.5.6.2
, linear >= 1.20.4
, opencv >= 0.0.0.0
, primitive >= 0.6.1
, template-haskell >= 2.10
, transformers >= 0.4.2
, vector >= 0.11
exposed-modules:
OpenCV.Extra
OpenCV.Extra.ArUco
OpenCV.Extra.Bgsegm
OpenCV.Extra.XFeatures2d
OpenCV.Extra.Tracking
OpenCV.Extra.XPhoto
OpenCV.Extra.XPhoto.WhiteBalancer
OpenCV.Extra.Internal.C.Inline
OpenCV.Extra.Internal.C.Types
default-extensions:
BangPatterns
DataKinds
FlexibleContexts
FlexibleInstances
LambdaCase
OverloadedStrings
PackageImports
PolyKinds
ScopedTypeVariables
TupleSections
TypeFamilies
TypeOperators
default-language: Haskell2010
pkgconfig-depends: opencv >= 3.0.0
extra-libraries: stdc++
test-suite doc-images-opencv-extra
type: exitcode-stdio-1.0
hs-source-dirs: doc
main-is: images.hs
other-modules:
ExampleExtractor
Language.Haskell.Meta.Syntax.Translate
default-language: Haskell2010
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -rtsopts
cpp-options: -DHAVE_OPENCV_EXTRA
build-depends:
base >= 4.8 && < 5
, bytestring >= 0.10.6
, containers >= 0.5.6.2
, data-default >= 0.7.1.1
, directory >= 1.2.2
, Glob >= 0.7.5
, haskell-src-exts >= 1.18.2
, JuicyPixels >= 3.2.8.1
, linear >= 1.20.4
, opencv
, opencv-extra
, primitive >= 0.6.1
, template-haskell >= 2.10
, text >= 1.2.2.1
, transformers >= 0.4.2
, vector >= 0.11
default-extensions:
BangPatterns
DataKinds
LambdaCase
OverloadedStrings
PackageImports
PolyKinds
ScopedTypeVariables
TupleSections
TypeFamilies
TypeOperators