38 Commits

Author SHA1 Message Date
Simon Hailes
6d09f70367 opencv:readimage Async - change newed mat to local class to try to prevent mem leak; also try-catch to signal failure through callback 2017-11-10 14:07:20 +00:00
Simon Hailes
bc62d03f84 Add cv.readImageAsync. same interface as readImage, only the callbacks are really Asynchronous, except for matrix creation.
Introduces two Asyn Wrokers, one for readin images from disk, and one for decoding images from buffers.
2017-11-04 14:53:44 +00:00
Simon Hailes
2dd3745c81 cv.readImage: add flags arguments plus update example 2017-11-04 14:50:01 +00:00
Simon Hailes
5d05f22d55 cv.readImage: Add verison which returns mat (i.e. no callback fn). Fix create with width & height. Add readimage.js to examples folder. 2017-11-04 13:20:39 +00:00
Michael Thomas Schmidt
633f5162ca Addressed deprecation warning in Node 7.9 with Nan abstractions. 2017-04-18 14:17:54 -05:00
Nathan Graves
592b70a3c2 Fixed testing for imreadmulti on OpenCV < 3, added distanceTransform function to imgproc module. 2017-02-20 11:08:11 -08:00
Nathan Graves
cfeb82d9fc Added check for mats.empty() on failed image load. 2017-02-16 16:46:55 -08:00
Nathan Graves
2e48ea0a61 Removed unnecessary v8:: prefixes 2017-02-16 16:43:37 -08:00
Nathan Graves
d90fcf78e0 Added binding to imreadmulti with test case for included .tif file. 2017-02-16 16:38:51 -08:00
Matt Hackmann
5ae998becf loading image by file/buffer now has same behaviour 2016-05-02 10:21:39 -07:00
Keegan Brown
8b3e747c35 Eliminated deprecation warnings while building in Node v4.1.2 2015-10-06 12:46:44 -05:00
Keegan Brown
ec09e0bdde Swapped out all "handle" for "local"
Now building and passing tests locally in node v0.10.40 v0.12.7 and
v4.1.1. Other modules would not build at node lower than v0.10, so I
stopped there.
2015-10-05 14:33:12 -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
Anshul Jain
7c426bf69a Fix code formatting for native code closes #295 2015-09-14 17:03:51 -07:00
dropfen
e2cabf1305 Allow UTF8 Filenames in readImage 2015-08-20 19:09:36 +02:00
Emanuel
0905ab4035 Fixes error trying to load an image that is not an image.
Fixes error trying to detect faces in some images.
2015-07-21 02:12:30 -03:00
Adrian Zankich
77b72dc350 Return error instead of throw 2015-06-09 17:27:18 -07:00
Max Ehrlich
e35698ac16 Moved findChessboardCorners to calib3d source file 2015-01-20 09:37:52 -05:00
Max Ehrlich
97715a8048 Added findChessboardCorners function 2015-01-19 15:15:05 -05:00
Peter Braden
3ad181019f Fix a few compiler warnings 2014-10-11 18:03:44 +02:00
Mark Moissette
d0351f336f - migration of OpenCV.h/.cc done
- migration of init.cc done
- migration of Matrix.cc about half done
- migration of Contours.cc in progress
2014-09-20 16:01:08 +02:00
Mark kaosat-dev Moissette
cd303829de - continued work migrating api to nan 2014-09-10 15:23:57 +02:00
Peter Braden
8d618a523a Working on build in OS X 2012-06-22 14:29:34 -07:00
Peter Braden
48996e2448 add namespaces 2012-06-22 14:14:58 -07:00
Tomas Alvarez
4d1ea2867b Merge github.com:talvarez/node-opencv
Conflicts:
	src/Matrix.cc
	src/Matrix.h
2012-06-19 14:53:52 -03:00
Tomas Alvarez
b73174c00f Added videocapture working (libuv), some examples, more methods to Matrix and implement of libuv for detectobjects 2012-06-18 11:54:31 -03:00
Peter Braden
d154496199 fix exception for older opencv versions 2012-05-31 15:57:39 -04:00
John Hurliman
765ee8d68b Fix Matrix::Row() and Matrix::Col() to return proper BGR pixel values for images 2012-05-04 15:27:35 -07:00
Peter Braden
0c730cef5a make readfile async 2012-01-26 16:37:40 -08:00
Peter Braden
bbd5c06b31 hacking around vows bug 2012-01-26 13:24:48 -08:00
Peter Braden
406eef45a2 try catch, macros etc 2012-01-24 12:23:08 -08:00
Peter Braden
bf3b39beb0 new interface 2012-01-23 23:11:34 -08:00
Peter Braden
63a7695187 WIP on video capture etc 2012-01-19 00:02:15 -08:00
Peter Braden
468034d329 WIP 2012-01-18 01:37:09 -08:00
Peter Braden
908ed1edf5 accessors for x and y point 2012-01-16 17:46:14 -08:00
Peter Braden
403a62dbba OpenCV Bindings - initial commit 2012-01-14 09:14:00 -08:00