34 Commits

Author SHA1 Message Date
wanguangming
84194be9fb fix nodejs 13+ 2020-03-14 19:06:32 +08:00
guangming wan
d22e5c89d3 fix nodejs 12+ 2020-03-10 10:08:54 +08:00
Craig Valente
b8419a842a Add support for the 'Oriented' area flag in contourArea 2016-12-12 20:23:38 -05:00
Igor Dubinskiy
7112856244 Restore Contour.points method 2016-05-12 23:54:53 -07:00
Paul Matthews
b5228ae209 -Cleanup of white space after last commit 2016-02-12 13:58:52 +01:00
Paul Matthews
ef39f323c7 -Changes to correct type_info errors seen in Visual Studio from std namespace pollution. Removed global std namespace references and specifically prefixed each call. 2016-02-12 13:25:25 +01: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
Paul Morris-Hill
9a21b9ea86 Added support for the fitEllipse method on contours 2015-06-13 02:24:03 +01: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
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
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
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
Mark kaosat-dev Moissette
cd303829de - continued work migrating api to nan 2014-09-10 15:23:57 +02:00
Gregory Ray
5dcc240550 fixed a bug where minAreaRect c++ function was pointing at BoundingRect function, added BitwiseNot for easy image invertion and added scale arg to putText 2014-06-16 01:16:17 +01:00
Laurent Eschenauer
0520e6dcea Compute the moments of a contour
Added a moments method to the contour object and an example
using resulting moments to display a cross at the "center
of gravity" of a contour.
2013-08-27 22:13:22 +02:00
Michael Smith
84e5f255df Add ConvexHull binding for Contours class 2013-02-10 15:26:58 -08:00
Michael Smith
4f7968e567
Expose MinAreaRect binding for Contours 2013-02-10 15:25:26 -08:00
Michael Smith
a197586673 Expose point data from Contours
Add in a Point method to the Contours class to access the underlying
point coordinates from the JavaScript side.
2013-02-10 15:04:37 -08:00
Jean-Tiare LE BIGOT
3b3c591517 add bindings for boundingBox in contours --> returns an (x, y, width, height) object 2013-01-20 15:39:51 +01:00
Jean-Tiare LE BIGOT
abf5e9948c add bindings for cornerCount (size in OpenCV) in contours + fix bool instead of double in approxPolyDP 2013-01-20 15:07:20 +01:00
Jean-Tiare LE BIGOT
d2e8b1969f add bindings for isConvex in contours 2013-01-20 14:20:33 +01:00
Jean-Tiare LE BIGOT
e3280ddc1e add bindings for approxPolyDP in contours 2013-01-20 14:16:16 +01:00
Jean-Tiare LE BIGOT
a94bc32d5f add bindings for arcLength in contours 2013-01-20 14:02:48 +01:00
Camilo Aguilar
3b5311cf42 Some code clean up 2012-10-20 02:35:15 -04:00
Tomas Alvarez
a0308135cb Added videocapture working (libuv), some examples, more methods to Matrix and implement of libuv for detectobjects 2012-06-18 12:01:28 -03:00