Kagami Hiiragi
0c14797b4d
Close recognized file
2021-06-30 17:51:11 +03:00
Kagami Hiiragi
c482b0e1ac
Fix packages in readme
...
See #72
2021-06-04 21:26:30 +03:00
Kagami Hiiragi
6c87c71c30
Merge pull request #62 from marianrh/master
...
Return early when an error occurs to avoid accessing a nil pointer
2021-06-04 21:19:03 +03:00
Kagami Hiiragi
e5b5ad1b9b
Merge pull request #72 from feinedsquirrel/master
...
added explicit link to cblas
2021-06-04 21:18:07 +03:00
feinedsquirrel
d6114ae62e
add libatlas-base-dev to travis.yml
2021-06-04 12:07:52 -06:00
feinedsquirrel
0add0adab6
added explicit link to cblas
2021-06-04 11:17:21 -06:00
Marian Rainer-Harbach
56ee790209
Return early when an error occurs
2020-10-07 17:04:11 +02:00
Kagami Hiiragi
3dd2d74dcc
Merge pull request #61 from elonzh/master
...
fix #60
2020-08-25 09:57:30 +03:00
elonzhou
833c50d9ba
fix #60
2020-08-25 09:38:20 +08:00
Kagami Hiiragi
318228d7f2
Fix travis build
2020-08-24 17:11:47 +03:00
Kagami Hiiragi
d4af7c8eab
Fix testdata directory structure
2020-05-13 20:31:38 +03:00
Kagami Hiiragi
4c3eb8d32c
Don't require pkgconfig for dlib
...
Too much trouble.
Fixes #44
2020-05-11 12:59:16 +03:00
Kagami Hiiragi
cdce14551c
Use smaller number of elements for temporal array
...
Fixes #40
2020-05-11 12:39:42 +03:00
Kagami Hiiragi
fd24bba43a
go.mod
2020-05-09 02:56:42 +03:00
Kagami Hiiragi
5137a1de68
Don't recommend OpenBLAS implementation
...
Defaults to pthread version which hangs.
2020-05-09 02:54:44 +03:00
Kagami Hiiragi
01156987f9
Add hint
2019-10-05 14:05:46 +03:00
Kagami Hiiragi
fab496201e
Put shapes to go struct
2019-08-31 21:24:41 +03:00
Kagami Hiiragi
bab235b0ca
Merge pull request #35 from Danile71/master
...
Add static Squared_euclidean_distance, Shapes to face object and Jittering
2019-08-31 19:13:52 +03:00
Kagami Hiiragi
1de2cba417
Restor default padding and fix readme
2019-08-31 19:08:47 +03:00
danile71
12608770fa
SquaredEuclideanDistance to Go
2019-08-29 22:29:12 +03:00
danile71
1dec3dbedb
Format code
2019-08-29 21:47:13 +03:00
korekovtsevda
3b93344158
Add CNN support
...
* RecognizeSingle(0, buf)
* 0 - HOG
* 1 - CNN
2019-08-29 11:17:03 +03:00
danile71
475c1e972a
classifier.Config(150, 0.2, 10)
...
* size (will be 150), padding, jittering
2019-08-28 23:58:43 +03:00
danile71
dc5e69ff42
Add jittering
...
* jittering > 0 - make 'jittering' copies of img
* jittering <= 0 - jittering is off
2019-08-28 22:47:42 +03:00
korekovtsevda
30cce4af58
Add shapes to face object
2019-08-28 15:14:01 +03:00
korekovtsevda
df3604d793
Add Squared_euclidean_distance function
2019-08-28 15:04:16 +03:00
Kagami Hiiragi
be9c130aa5
Add faq
2019-08-25 15:34:18 +03:00
Kagami Hiiragi
0956e40d34
Fix stupid bug with comparing threshold
...
It was working backwards.
Fixes #33 #16
2019-08-18 12:30:04 +03:00
Kagami Hiiragi
ef56f89511
Simplify classify
...
We don't need additional level of indirection and can store category in
distances vector right away.
2019-08-18 11:43:46 +03:00
Kagami Hiiragi
84d557bef3
Fix classify when threshold was specified
...
Fixes #31
2019-08-18 11:06:03 +03:00
Kagami Hiiragi
17ff628fed
Update FUNDING.yml
2019-07-21 19:44:51 +03:00
Kagami Hiiragi
0e9752c722
Create FUNDING.yml
2019-07-21 18:46:02 +03:00
Kagami Hiiragi
97bf298c30
Fix compilation for old libjpeg
...
See: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/7222ec2717e16a54c9ea40ce90da00eca9fdfa2a
Fixes #26
2019-03-09 02:57:00 +03:00
Kagami Hiiragi
326b041020
Merge pull request #23 from aai/mangle
...
Don’t use mangled C names
2019-02-27 00:35:42 +03:00
Nathan Youngman
7c338c5174
Don’t use mangled C names
...
https://golang.org/doc/go1.12#cgo
Fixes #22
2019-02-26 10:29:21 -07:00
Kagami Hiiragi
c65049eef2
Clarify pkgconfig fix in readme
2019-02-09 23:25:22 +03:00
Kagami Hiiragi
4d258ca248
Add ClassifyThreshold
...
Fixes #9
2019-01-14 00:11:13 +03:00
Kagami Hiiragi
08b2496671
Add test for classify without samples set
2019-01-08 13:10:13 +03:00
Kagami Hiiragi
fbff52d2c2
Fix nested list
2018-11-25 17:50:37 +03:00
Kagami Hiiragi
968bbf9ddf
Add Windows instructions
...
Fixes #5
2018-11-25 17:45:26 +03:00
Kagami Hiiragi
863b26a640
Fix sed command for macOS
...
See: https://stackoverflow.com/q/4247068
Fixes #7
2018-09-22 11:05:25 +03:00
Kagami Hiiragi
10f4bdf01e
Fix macOS instructions
...
See #6
2018-08-27 10:45:44 +03:00
Kagami Hiiragi
ada47f9cb4
Add macOS instructions
...
Fixes #4
2018-08-17 10:08:40 +03:00
Kagami Hiiragi
eed406bbb4
Require SetSamples arguments to be rvalues
...
Per CppCoreGuidelines.
2018-08-17 03:09:26 +03:00
Kagami Hiiragi
b97cf0ae22
Use lock_guard for recognize locks
...
detector/net may throw.
2018-08-16 02:51:27 +03:00
Kagami Hiiragi
6b3e430c90
Use same descriptor type everywhere
...
It's not possible to use fixed size with loss_metric so use arbitrary
sized matrix. Explicit size should be more effecient but not much.
2018-08-16 00:03:07 +03:00
Kagami Hiiragi
f912bf419f
Add error tests
2018-08-15 23:43:44 +03:00
Kagami Hiiragi
e7ffd11260
Use std::tie to unpack recognize result
2018-08-15 19:18:36 +03:00
Kagami Hiiragi
4d34280e2b
Fix toolchain PPA source
...
Shortcut is not allowed for xenial.
2018-08-14 02:20:46 +03:00
Kagami Hiiragi
6acd528518
Install GCC 7 on travis
...
GCC 6+ is required for shared_mutex. C++14 shared_timed_mutex seems to
be much slower: https://redd.it/4xa8fw
Also shared_mutex might be ineffecient for frequent short reads
(https://stackoverflow.com/a/45580208 ) but it shouldn't be a bottleneck
because recognition takes several hundred ms.
2018-08-14 02:15:49 +03:00