414 Commits

Author SHA1 Message Date
Max Ehrlich
9e04f95703 Added solvePnP 2015-01-20 14:05:58 -05:00
Max Ehrlich
024d8e5ee5 Changed to non-callback API since all methods are synchronous 2015-01-20 13:26:37 -05:00
Max Ehrlich
0c35976950 Added calibrateCamera function 2015-01-20 13:04:22 -05:00
Max Ehrlich
088b44bdeb Added drawChessboardCorners 2015-01-20 10:19:28 -05: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
Micah Elizabeth Scott
85c3a90db7 Fix compile errors with ambiguous signedness in NanNew param
This fixes two instances of a compile error I'd been getting with
OpenCV 2.4.9 (via Homebrew) on Mac OS:

../node_modules/nan/nan_new.h:184:10: error: call to 'New' is ambiguous
  return NanIntern::Factory<T>::New(arg0);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/Matrix.cc:453:51: note: in instantiation of function template specialization 'NanNew<v8::Integer, unsigned long>' requested here
        v8::Handle<v8::Value> constructorArgs[3] = {buf, NanNew<v8::Integer>(vec.size()), NanNew<v8::Integer>(0)};
                                                         ^
../node_modules/nan/nan_new.h:86:26: note: candidate function
  static inline return_t New(int32_t value);
                         ^
../node_modules/nan/nan_new.h:87:26: note: candidate function
  static inline return_t New(uint32_t value);
2015-01-16 12:13:45 -08:00
Micah Elizabeth Scott
73cddc81de In setRect(), don't return a pointer to stack memory
Noticed a compiler warning for this during build, and the code looks
like the sort of thing that may often work accidentally, but is not
at all guaranteed to work.

This is the simplest fix I could imagine; keep the logic about whether
to return NULL or not in setRect(), but pass it a reference to some
memory in the caller's stack frame to use for the result.

This fixes the warning, but I haven't had a chance to verify functionality.
2015-01-16 12:11:05 -08:00
Pieter De Bruyne
f90d623adc fixed Crop prototype 2014-12-09 19:59:56 +01:00
Dmitry Ivanov
23fc1c04ed HoughCircles added 2014-10-23 15:50:05 -04:00
madshall
4860f875c9 oops, bitwiseNot() hotfix 2014-10-22 21:26:52 -04:00
madshall
c6319937e0 - findContours() fixed
- bitwiseAnd(), bitwiseNot(), bitwiseXor() may accept mask as the last argument since now
2014-10-22 20:16:22 -04:00
Peter Braden
9b3b82fbbe fix convert image (crop was missing) and other file paths 2014-10-15 20:38:17 +02:00
Peter Braden
97875da492 fix window error 2014-10-15 20:31:19 +02:00
Peter Braden
c42422a715 Catch OpenCV exception in nodeland 2014-10-15 20:13:29 +02:00
Peter Braden
969e7d1d4c A few whitespace fixes 2014-10-11 18:11:44 +02:00
Peter Braden
3ad181019f Fix a few compiler warnings 2014-10-11 18:03:44 +02:00
Mark Moissette
e41ae1ea93 - fixed multiple node V0.11.x issues (ported more methods etc to Nan) 2014-10-09 11:55:18 +02:00
Peter Braden
34eb174ae8 silence some compiler warnings 2014-10-07 21:14:48 +02:00
Peter Braden
2d2ac2900c Fixing merge some more, and compiler errors. 2014-10-07 08:05:21 +02:00
Peter Braden
19058ecea9 Merge branch 'nodev11.x' of github.com:kaosat-dev/node-opencv into kaosat-dev-nodev11.x
Conflicts:
	src/Contours.cc
	src/Contours.h
	src/Matrix.cc
	src/VideoCaptureWrap.cc
2014-10-07 07:56:31 +02:00
Mark Moissette
a42033ac96 - overall cleanup :
* removed obsolete code , comments
2014-09-30 21:49:24 +02:00
Mark Moissette
a5a4b59ff3 - fixed immutability of Point class with Nan 2014-09-29 12:18:05 +02:00
Mark Moissette
cac848fa87 - added missing Nan conversion of async method
AsyncDetectMultiScale
2014-09-29 11:52:58 +02:00
Peter Braden
349b79863a Merge pull request #175 from oskardahlberg/fix-split
Fixes split, prefills vector with empty matrices
2014-09-24 20:07:00 +02:00
Peter Braden
56f39b86ab Merge pull request #173 from oskardahlberg/contours-serialize
Contours serializing
2014-09-24 20:04:55 +02:00
Peter Braden
e6f9ee971f Merge pull request #174 from oskardahlberg/synced
Added Zeros, Ones constructors
2014-09-24 20:03:47 +02:00
Oskar Dahlberg
6dfab4168a Fixes split, prefills vector with empty matrices 2014-09-22 23:45:07 +02:00
Oskar Dahlberg
188a3fe11f Revert "Fixed split not working"
This reverts commit bc9be2f1086ecb5e9227e6cac846041d26b2e3eb.
2014-09-22 23:41:49 +02:00
Oskar Dahlberg
af67ae0905 Revert "Revert "Added Zeros, Ones constructors""
This reverts commit d4b9d0edffad3de105d981219cdb08e210d633f4.
2014-09-22 23:41:39 +02:00
Oskar Dahlberg
3f2f74e819 Revert "Revert "Fixed split not working""
This reverts commit 20efb8313bd6f101782f3a6cc60468052bc34f00.
2014-09-22 23:41:30 +02:00
Oskar Dahlberg
3ba64a7e3d Revert "Fixed split not working"
This reverts commit 28253d1226f2380ce7120543fc8aa6b9d7bd5892.
2014-09-22 23:41:23 +02:00
Oskar Dahlberg
28253d1226 Fixed split not working 2014-09-22 23:36:24 +02:00
Oskar Dahlberg
d4b9d0edff Revert "Added Zeros, Ones constructors"
This reverts commit ee3ae4c1968b1acd54d389bac742c5c6d8e32ca3.
2014-09-22 23:35:38 +02:00
Oskar Dahlberg
20efb8313b Revert "Fixed split not working"
This reverts commit bc9be2f1086ecb5e9227e6cac846041d26b2e3eb.
2014-09-22 23:35:34 +02:00
Oskar Dahlberg
bc9be2f108 Fixed split not working 2014-09-22 23:31:40 +02:00
Oskar Dahlberg
ee3ae4c196 Added Zeros, Ones constructors 2014-09-22 21:54:40 +02:00
Oskar Dahlberg
1e3842a0ac Added space between >> 2014-09-22 15:44:11 +02:00
Oskar Dahlberg
d9af0e7ee4 New methods for easier access of contour data 2014-09-22 14:50:11 +02:00
Oskar Dahlberg
1341a83a7a Added hierarchy to Contours 2014-09-22 14:40:39 +02:00
Mark Moissette
416fe0a6d5 - migrate the async methods of VideoCaptureWrap to NAN 2014-09-21 16:08:43 +02:00
Mark Moissette
52a1e827f2 - implemented NAN version of async methods for Matrix.cc 2014-09-21 15:54:36 +02: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 Moissette
3bf2ee7fac - finished converting Matrix.cc (preliminary pass)
* no compile error in nw-gyp v0.10.5
2014-09-20 17:08:19 +02:00
Mark Moissette
0a23d23636 - ported Contours.cc 2014-09-20 16:16:00 +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
J David Smith
ede3feaf3d Exposed a bunch of OpenCV type constants. 2014-09-18 13:33:47 -04:00
J David Smith
21afdcd787 Added Matrix constructor with integer type field. 2014-09-18 10:24:46 -04:00
Peter Braden
1304750f6f Merge pull request #162 from oskardahlberg/master
Changed MatchTemplate arg from path to matrix
2014-09-17 22:29:10 +02:00
Peter Braden
25c79cd653 Merge branch 'issue-150' of github.com:salmanulhaq/node-opencv
Conflicts:
	examples/convert_image.js
2014-09-17 22:27:22 +02:00