├── __init__.py ├── icon.c4d ├── icon.icns ├── faces ├── v.png ├── bean.png ├── mask.png ├── hannibal.png ├── norton.png └── watson.png ├── other ├── qt.conf ├── mask.png └── libqcocoa.dylib ├── assets ├── next.png ├── play.png ├── pause.png ├── refresh.png └── detection_icon.png ├── docs ├── epydoc │ ├── crarr.png │ ├── frames.html │ ├── index.html │ ├── toc-detection-module.html │ ├── toc-clustering-module.html │ ├── toc-clustering.setup-module.html │ ├── toc-detection.tree-module.html │ ├── toc-clustering.voronoi-module.html │ ├── toc-detection.window_ui-module.html │ ├── toc-clustering.voronoi1-module.html │ ├── toc-detection.detector-module.html │ ├── toc-clustering.clusterer-module.html │ ├── toc-detection.detection-module.html │ ├── toc-clustering.clustering-module.html │ ├── toc-detection.setup-module.html │ ├── toc-detection.common-module.html │ ├── redirect.html │ ├── toc.html │ ├── detection-pysrc.html │ ├── clustering-pysrc.html │ ├── module-tree.html │ ├── epydoc.css │ ├── detection.tree-module.html │ ├── detection.window_ui-module.html │ ├── detection.detector-module.html │ ├── clustering-module.html │ ├── detection-module.html │ ├── detection.common.CustomException-class.html │ ├── toc-everything.html │ ├── detection.detector.ClassifierParameters-class.html │ ├── clustering.voronoi1-module.html │ ├── clustering.setup-module.html │ ├── clustering.voronoi-module.html │ ├── detection.detection-module.html │ ├── detection.tree.Node-class.html │ ├── clustering.clustering-module.html │ ├── clustering.clusterer-module.html │ ├── clustering.setup-pysrc.html │ └── detection.common.EmittingStream-class.html ├── epydoc.conf └── epydoc.css ├── haarcascades ├── haarcascade_mcs_leftear.xml └── haarcascade_mcs_rightear.xml ├── clean.sh ├── .gitignore ├── src ├── flip.py ├── createsamples.pl └── mergevec.cpp ├── setup.py ├── tree.py ├── common.py └── README.md /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icon.c4d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/icon.c4d -------------------------------------------------------------------------------- /icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/icon.icns -------------------------------------------------------------------------------- /faces/v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/v.png -------------------------------------------------------------------------------- /other/qt.conf: -------------------------------------------------------------------------------- 1 | ; Qt Configuration file 2 | [Paths] 3 | Plugins = PlugIns 4 | -------------------------------------------------------------------------------- /assets/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/assets/next.png -------------------------------------------------------------------------------- /assets/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/assets/play.png -------------------------------------------------------------------------------- /faces/bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/bean.png -------------------------------------------------------------------------------- /faces/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/mask.png -------------------------------------------------------------------------------- /other/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/other/mask.png -------------------------------------------------------------------------------- /assets/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/assets/pause.png -------------------------------------------------------------------------------- /assets/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/assets/refresh.png -------------------------------------------------------------------------------- /faces/hannibal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/hannibal.png -------------------------------------------------------------------------------- /faces/norton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/norton.png -------------------------------------------------------------------------------- /faces/watson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/faces/watson.png -------------------------------------------------------------------------------- /docs/epydoc/crarr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/docs/epydoc/crarr.png -------------------------------------------------------------------------------- /other/libqcocoa.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/other/libqcocoa.dylib -------------------------------------------------------------------------------- /assets/detection_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/assets/detection_icon.png -------------------------------------------------------------------------------- /haarcascades/haarcascade_mcs_leftear.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/haarcascades/haarcascade_mcs_leftear.xml -------------------------------------------------------------------------------- /haarcascades/haarcascade_mcs_rightear.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xsyann/detection/HEAD/haarcascades/haarcascade_mcs_rightear.xml -------------------------------------------------------------------------------- /docs/epydoc.conf: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | 3 | name: OCR 4 | url: https://github.com/xsyann/ocr 5 | modules: ./ 6 | 7 | output: html 8 | target: docs/epydoc/ 9 | 10 | css: docs/epydoc.css 11 | 12 | graph: all 13 | 14 | 15 | verbosity: 3 16 | debug: 1 17 | -------------------------------------------------------------------------------- /clean.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # clean.sh 3 | # 4 | # Author: Yann KOETH 5 | # Created: Tue Jul 22 20:27:47 2014 (+0200) 6 | # Last-Updated: Tue Jul 22 20:30:43 2014 (+0200) 7 | # By: Yann KOETH 8 | # Update #: 12 9 | # 10 | 11 | sudo rm -rvf *.egg *.pyc illum/ build/ *~ 12 | -------------------------------------------------------------------------------- /docs/epydoc/frames.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 |
6 |When javascript is enabled, this page will redirect URLs of 22 | the form redirect.html#dotted.name to the 23 | documentation for the object with the given fully-qualified 24 | dotted name.
25 | 26 | 27 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /docs/epydoc/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 || Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 47 | | 48 |
49 | |
59 |
63 | 1 64 | 2 69 |70 |
| Home | 78 | 79 | 80 |Trees | 82 | 83 | 84 |Indices | 86 | 87 | 88 |Help | 90 | 91 | 92 |
93 |
|
97 |
|---|
| 102 | Generated by Epydoc 3.0.1 103 | on Thu Jul 24 14:05:41 2014 104 | | 105 |106 | http://epydoc.sourceforge.net 108 | | 109 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 47 | | 48 |
49 | |
59 |
63 | 1 64 | 2 69 |70 |
| Home | 78 | 79 | 80 |Trees | 82 | 83 | 84 |Indices | 86 | 87 | 88 |Help | 90 | 91 | 92 |
93 |
|
97 |
|---|
| 102 | Generated by Epydoc 3.0.1 103 | on Wed Jun 18 16:59:40 2014 104 | | 105 |106 | http://epydoc.sourceforge.net 108 | | 109 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | |
45 | |
55 |
| Home | 81 | 82 | 83 |Trees | 85 | 86 | 87 |Indices | 89 | 90 | 91 |Help | 93 | 94 | 95 |
96 |
|
100 |
|---|
| 105 | Generated by Epydoc 3.0.1 106 | on Thu Jul 24 14:05:41 2014 107 | | 108 |109 | http://epydoc.sourceforge.net 111 | | 112 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | Tree 84 | | 85 ||||
| 88 | Node 89 | | 90 ||||
98 |
|
108 | |||
| 111 | 112 | |
113 | __package__ =
114 | |
115 | ||
| Home | 124 | 125 | 126 |Trees | 128 | 129 | 130 |Indices | 132 | 133 | 134 |Help | 136 | 137 | 138 |
139 |
|
143 |
|---|
| 148 | Generated by Epydoc 3.0.1 149 | on Thu Jul 24 14:05:41 2014 150 | | 151 |152 | http://epydoc.sourceforge.net 154 | | 155 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | QTreeView 84 | | 85 ||||
| 88 | WindowUI 89 | | 90 ||||
98 |
|
108 | |||
| 111 | 112 | |
113 | __package__ =
114 | |
115 | ||
| Home | 124 | 125 | 126 |Trees | 128 | 129 | 130 |Indices | 132 | 133 | 134 |Help | 136 | 137 | 138 |
139 |
|
143 |
|---|
| 148 | Generated by Epydoc 3.0.1 149 | on Thu Jul 24 14:05:41 2014 150 | | 151 |152 | http://epydoc.sourceforge.net 154 | | 155 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | ClassifierParameters 84 | | 85 ||||
| 88 | Detector 89 | | 90 ||||
98 |
|
108 | |||
| 111 | 112 | |
113 | __package__ =
114 | |
115 | ||
| Home | 124 | 125 | 126 |Trees | 128 | 129 | 130 |Indices | 132 | 133 | 134 |Help | 136 | 137 | 138 |
139 |
|
143 |
|---|
| 148 | Generated by Epydoc 3.0.1 149 | on Thu Jul 24 14:05:41 2014 150 | | 151 |152 | http://epydoc.sourceforge.net 154 | | 155 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 47 | | 48 |
49 | |
59 |
69 |
|
79 | |||
81 |
| |||
96 |
|
106 | |||
| 109 | 110 | |
111 | __package__ = None
112 | |
113 | ||
| Home | 122 | 123 | 124 |Trees | 126 | 127 | 128 |Indices | 130 | 131 | 132 |Help | 134 | 135 | 136 |
137 |
|
141 |
|---|
| 146 | Generated by Epydoc 3.0.1 147 | on Wed Jun 18 16:59:40 2014 148 | | 149 |150 | http://epydoc.sourceforge.net 152 | | 153 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 47 | | 48 |
49 | |
59 |
69 |
|
79 | |||
81 |
| |||
98 |
|
108 | |||
| 111 | 112 | |
113 | __package__ = None
114 | |
115 | ||
| Home | 124 | 125 | 126 |Trees | 128 | 129 | 130 |Indices | 132 | 133 | 134 |Help | 136 | 137 | 138 |
139 |
|
143 |
|---|
| 148 | Generated by Epydoc 3.0.1 149 | on Thu Jul 24 14:05:41 2014 150 | | 151 |152 | http://epydoc.sourceforge.net 154 | | 155 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 49 | | 50 |
51 | |
61 |
75 |
|
85 | |||
|
88 | Inherited from Inherited from |
105 | |||
113 |
|
123 | |||
|
126 | Inherited from |
131 | |||
| Home | 140 | 141 | 142 |Trees | 144 | 145 | 146 |Indices | 148 | 149 | 150 |Help | 152 | 153 | 154 |
155 |
|
159 |
|---|
| 164 | Generated by Epydoc 3.0.1 165 | on Thu Jul 24 14:05:41 2014 166 | | 167 |168 | http://epydoc.sourceforge.net 170 | | 171 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 49 | | 50 |
51 | |
61 |
71 |
|
81 | |||
| 84 | 85 | |
86 |
|
110 | ||
| Home | 119 | 120 | 121 |Trees | 123 | 124 | 125 |Indices | 127 | 128 | 129 |Help | 131 | 132 | 133 |
134 |
|
138 |
|---|
| 143 | Generated by Epydoc 3.0.1 144 | on Thu Jul 24 14:05:41 2014 145 | | 146 |147 | http://epydoc.sourceforge.net 149 | | 150 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
123 |
|
133 | |||
| 136 | 137 | |
138 | __package__ =
139 | |
140 | ||
| Home | 149 | 150 | 151 |Trees | 153 | 154 | 155 |Indices | 157 | 158 | 159 |Help | 161 | 162 | 163 |
164 |
|
168 |
|---|
| 173 | Generated by Epydoc 3.0.1 174 | on Tue Jun 3 22:26:42 2014 175 | | 176 |177 | http://epydoc.sourceforge.net 179 | | 180 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
65 | 66 | This is a setup.py script generated by py2applet 67 | 68 | Usage: 69 | python setup.py py2app 70 | 71 |72 | 73 | 74 | 75 |
79 |
|
89 | |||
| 92 | 93 | |
94 | APP = ['clustering.py']
95 | |
96 | ||
| 99 | 100 | |
101 | DATA_FILES = []
102 | |
103 | ||
| 106 | 107 | |
108 | OPTIONS = {'argv_emulation': True, 'includes': ['PyQt5'], 'pli
110 | |
111 | ||
119 |
|
129 | |||
136 | OPTIONS137 | 138 |
|
| Home | 158 | 159 | 160 |Trees | 162 | 163 | 164 |Indices | 166 | 167 | 168 |Help | 170 | 171 | 172 |
173 |
|
177 |
|---|
| 182 | Generated by Epydoc 3.0.1 183 | on Wed Jun 18 16:59:40 2014 184 | | 185 |186 | http://epydoc.sourceforge.net 188 | | 189 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | 84 | |
85 |
|
98 | ||
| 101 | 102 | |
103 |
|
115 | ||
123 |
|
133 | |||
| 136 | 137 | |
138 | __package__ =
139 | |
140 | ||
| Home | 149 | 150 | 151 |Trees | 153 | 154 | 155 |Indices | 157 | 158 | 159 |Help | 161 | 162 | 163 |
164 |
|
168 |
|---|
| 173 | Generated by Epydoc 3.0.1 174 | on Wed Jun 18 16:59:40 2014 175 | | 176 |177 | http://epydoc.sourceforge.net 179 | | 180 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | MediaThread 84 | | 85 ||||
| 88 | Window 89 | | 90 ||||
98 |
|
108 | |||
| 111 | 112 | |
113 |
|
124 | ||
132 |
|
142 | |||
| 145 | 146 | |
147 | __package__ =
148 | |
149 | ||
| Home | 158 | 159 | 160 |Trees | 162 | 163 | 164 |Indices | 166 | 167 | 168 |Help | 170 | 171 | 172 |
173 |
|
177 |
|---|
| 182 | Generated by Epydoc 3.0.1 183 | on Thu Jul 24 14:05:41 2014 184 | | 185 |186 | http://epydoc.sourceforge.net 188 | | 189 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 49 | | 50 |
51 | |
61 |
71 |
|
81 | |||
| 84 | 85 | |
86 |
|
99 | ||
| 102 | 103 | |
104 |
|
115 | ||
| 118 | 119 | |
120 |
|
132 | ||
| 135 | 136 | |
137 |
|
148 | ||
| Home | 157 | 158 | 159 |Trees | 161 | 162 | 163 |Indices | 165 | 166 | 167 |Help | 169 | 170 | 171 |
172 |
|
176 |
|---|
| 181 | Generated by Epydoc 3.0.1 182 | on Thu Jul 24 14:05:41 2014 183 | | 184 |185 | http://epydoc.sourceforge.net 187 | | 188 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | EmittingStream 84 | | 85 ||||
| 88 | ClustererThread 89 | | 90 ||||
| 93 | Window 94 | | 95 ||||
103 |
|
113 | |||
| 116 | 117 | |
118 |
|
129 | ||
137 |
|
147 | |||
| 150 | 151 | |
152 | __package__ =
153 | |
154 | ||
| Home | 163 | 164 | 165 |Trees | 167 | 168 | 169 |Indices | 171 | 172 | 173 |Help | 175 | 176 | 177 |
178 |
|
182 |
|---|
| 187 | Generated by Epydoc 3.0.1 188 | on Wed Jun 18 16:59:40 2014 189 | | 190 |191 | http://epydoc.sourceforge.net 193 | | 194 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
70 |
|
80 | |||
| 83 | Graph 84 | | 85 ||||
|
88 | Clusterer 89 | Extract image clusters. 90 | |
91 | |||
99 |
|
109 | |||
| 112 | 113 | |
114 | __package__ =
115 | |
116 | ||
| 119 | 120 | |
121 | __warningregistry__ =
125 | |
126 | ||
134 |
|
144 | |||
151 | __warningregistry__152 | 153 |
|
| Home | 175 | 176 | 177 |Trees | 179 | 180 | 181 |Indices | 183 | 184 | 185 |Help | 187 | 188 | 189 |
190 |
|
194 |
|---|
| 199 | Generated by Epydoc 3.0.1 200 | on Wed Jun 18 16:59:40 2014 201 | | 202 |203 | http://epydoc.sourceforge.net 205 | | 206 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 48 | | 49 |
50 | |
60 |
64 | 1 """
65 | 2 This is a setup.py script generated by py2applet
66 | 3
67 | 4 Usage:
68 | 5 python setup.py py2app
69 | 6 """
70 | 7
71 | 8 from setuptools import setup
72 | 9
73 | 10 APP = ['clustering.py']
74 | 11 DATA_FILES = []
75 | 12 OPTIONS = {'argv_emulation': True, 'includes': ['PyQt5'],
76 | 13 'plist': {'CFBundleShortVersionString':'0.1.0',},
77 | 14 'iconfile':'icon.icns'}
78 | 15
79 | 16 setup(name='Clustering',
80 | 17 app=APP,
81 | 18 data_files=DATA_FILES,
82 | 19 options={'py2app': OPTIONS},
83 | 20 setup_requires=['py2app'],
84 | 21 )
85 | 22
90 |
91 | | Home | 99 | 100 | 101 |Trees | 103 | 104 | 105 |Indices | 107 | 108 | 109 |Help | 111 | 112 | 113 |
114 |
|
118 |
|---|
| 123 | Generated by Epydoc 3.0.1 124 | on Wed Jun 18 16:59:40 2014 125 | | 126 |127 | http://epydoc.sourceforge.net 129 | | 130 |
| Home | 20 | 21 | 22 |Trees | 24 | 25 | 26 |Indices | 28 | 29 | 30 |Help | 32 | 33 | 34 |
35 |
|
39 |
|---|
| 44 | 49 | | 50 |
51 | |
61 |
75 |
|
85 | |||
| 88 | 89 | |
90 |
|
101 | ||
| 104 | 105 | |
106 |
|
118 | ||
|
121 | Inherited from Inherited from |
170 | |||
178 |
|
188 | |||
|
191 | Inherited from |
195 | |||
| Home | 204 | 205 | 206 |Trees | 208 | 209 | 210 |Indices | 212 | 213 | 214 |Help | 216 | 217 | 218 |
219 |
|
223 |
|---|
| 228 | Generated by Epydoc 3.0.1 229 | on Thu Jul 24 14:05:41 2014 230 | | 231 |232 | http://epydoc.sourceforge.net 234 | | 235 |