Michael Vines
85b4542b7f
Work around bug in OpenCV3 FaceRecognizer::predict
...
Older versions of OpenCV3 incorrectly returned label=0 at confidence=DBL_MAX
instead of label=-1 on failure. This can be removed once the fix* becomes
more widespread.
* 0aa58ae9b3 (diff-d9c561bf45c255c5951ff1ab55e80473)
2016-02-25 10:46:16 -08:00
Michael Vines
2405bc5a59
Enable FaceRecognizer on OpenCV3
2016-02-24 21:31:49 -08:00
Michael Vines
2a81f236c5
Base OpenCV 3 port
2016-02-07 19:20:01 -08:00
Anshul Jain
3736e83aa0
Convert face training image to gray scale only if image has 3 channels
2015-11-05 16:02:26 +05:30
Anshul Jain
b66139e0ee
Add async versions of predict and train face recognition methods.
2015-10-15 10:54:08 -07:00
Anshul Jain
bb07fcdaf6
FaceRecognizer: convert to grayscale only if 3 channels are provided
2015-10-07 08:48:25 -07:00
Keegan Brown
a0faef9e65
Here goes nothing...
...
So apparently Nan v2 has removed Handle and uses Local instead. Not
sure wtf that’s all about. I have no idea if this works, but it builds
in both node v4.1.1 and v0.12.7 and passes the included tests in both.
2015-10-05 13:53:34 -05:00
Keegan Brown
0216128fb0
Builds fine in 4, Fails in 0.12.7
2015-10-01 18:15:10 -05:00
Keegan Brown
1974fd6d00
Revert "conversion + build + test passed... so far"
...
This reverts commit ea69fcc10b73a191e1d3dc6c9decdc1ebc8bc714.
2015-10-01 11:03:08 -05:00
Keegan Brown
ea69fcc10b
conversion + build + test passed... so far
2015-09-29 13:39:49 -05:00
Peter Braden
cbaff9a133
Make FaceRecognizer require OpenCV <= v2.4.8.
...
For some reason OpenCV shipped a broken branch build on Ubuntu 2.4.2 64
bit.
Thanks to @gluxon for noticing this:
https://github.com/peterbraden/node-opencv/issues/56#issuecomment-20263153
Rather than try and be clever, I'm just gonna up the version
requirements.
This fixes #56 #41 #105 #240 and #275
2015-09-22 11:24:40 -04:00
Anshul Jain
7c426bf69a
Fix code formatting for native code closes #295
2015-09-14 17:03:51 -07:00
Mark Moissette
a793f21561
- first pass migration of all relevant source done
...
* compiling ok under node 0.11.13
* missing a number of async methods
2014-09-21 12:42:55 +02:00
Mark kaosat-dev Moissette
cd303829de
- continued work migrating api to nan
2014-09-10 15:23:57 +02:00
Peter Braden
76f3847321
get mat etc
2013-03-15 15:28:58 -07:00
Peter Braden
8e55b380cd
add updateSync
2013-03-15 15:07:16 -07:00
Peter Braden
0efbd11d0c
Constructors for other algorithms
2013-03-15 14:48:43 -07:00
Peter Braden
b8ce5d0def
Correct basic case with feedback from jraadt
2013-03-15 13:55:01 -07:00
Peter Braden
053a693c9a
Basic version of Face recognition working
2013-03-13 18:08:05 -07:00
Peter Braden
64f933f2a9
WIP on face recognition
2013-03-13 17:42:05 -07:00
Peter Braden
b17fceca72
Initial work on face recognition using the FaceRecognizer class from opencv 2.4.4
2013-03-13 16:15:29 -07:00