914 Commits

Author SHA1 Message Date
Kenn Sebesta
123adb54fe
[OpenCV.h]: allow double arguments
Previously, if the input arguments were floating point, then this function 
would not assign them to the named value.

Fixes #598
2018-02-15 07:33:28 -05:00
Peter Braden
48a4fc35e8
Merge pull request #595 from eric-radiant/master
Add support for scale param in mul, update goodFeaturesToTrack a bit
2017-12-22 09:26:24 +01:00
Peter Braden
361ce02971
Merge pull request #600 from zdenham/master
Upgraded node-pre-gyp
2017-12-22 09:25:07 +01:00
Peter Braden
85195735c9
Merge pull request #555 from shamrin/patch-1
instruct brew to install opencv@2
2017-12-22 09:23:12 +01:00
Zachary Denham
d31189fa66
Upgraded node-pre-gyp 2017-12-21 17:33:13 -08:00
Eric Lundberg
a8790273a9 Add support for scale param in mul, several additional params in goodFeaturesToTrack. Only convert to grayscale in goodFeaturesToTrack if not already in grayscale 2017-11-28 11:39:44 -08:00
btsimonh
a1d7a22ccd
Merge pull request #590 from btsimonh/logopencvversion
Log OpenCV version in built in init.cc
2017-11-14 13:42:13 +00:00
Simon Hailes
e943fe727b Log OpenCV version in built in init.cc 2017-11-14 13:21:13 +00:00
btsimonh
1a5947c934
Merge pull request #589 from thielsn/opencv_3_3_support_v2
Opencv 3 3 support v2
2017-11-14 13:14:35 +00:00
Simon Thiel
6597046897 FIX OpenCV 3.3: support compilation with OpenCV 3.3 2017-11-13 14:51:56 +01:00
Simon Thiel
ece9efc8c9 FEATURE HighGUI.cc: add resize window function 2017-11-13 14:51:56 +01:00
Peter Braden
fa663d449b
Merge pull request #588 from btsimonh/refcount
Refcount
2017-11-13 09:58:02 +01:00
Simon Hailes
f4d0459fa7 kill ref to addref in Matrix.h 2017-11-13 08:40:44 +00:00
Simon Hailes
bc8095534b comment out Addref - too dangerous to leave in. Modify test example. 2017-11-12 17:48:36 +00:00
Simon Hailes
2c1732f0c4 add example matrix-ref-count 2017-11-12 17:38:01 +00:00
btsimonh
649df8f8de
Merge pull request #587 from btsimonh/asyncprotection
Asyncprotection
2017-11-12 16:57:15 +00:00
Simon Hailes
9316a01f03 fix typo 2017-11-12 16:48:08 +00:00
Simon Hailes
e65301dbee examples - update write-video.js for async with test of mat.release() before async done 2017-11-12 16:22:59 +00:00
Simon Hailes
96d0eb8824 Matrix: add mtx.addref() and mtx.getrefCount() 2017-11-12 16:03:17 +00:00
Simon Hailes
b1edee0527 VideoWriter: make safe to mat.release() before async is complete 2017-11-12 15:59:45 +00:00
Simon Hailes
bfdb33e0fc examples: update asyncresize to test mat.release before async is complete 2017-11-12 15:58:59 +00:00
Simon Hailes
642bf94a3d Matrix: resizeasync - make safe to mat.release() before async is complete 2017-11-12 15:58:17 +00:00
Simon Hailes
31c9349885 Matrix: asyncsave: make safe to mat.release of input mat before async is complete. 2017-11-12 15:57:29 +00:00
Simon Hailes
81ac6941b9 AsyncToBuffer - make it safe to mat.release() the input image before the async func has completed. 2017-11-12 15:56:33 +00:00
Simon Hailes
622575bfb6 update backgroundsubtractor example to test release of mat before bg is finished in async 2017-11-12 15:49:47 +00:00
Simon Hailes
e0087841bd Backgroundsubtractor: protect async against release of input mat 2017-11-12 15:45:03 +00:00
btsimonh
f7d6b6cdee
Merge pull request #586 from btsimonh/bgsubtractorinit
modify init.cc for new backgroundsubtractor
2017-11-11 14:14:44 +00:00
Simon Hailes
cdb8d7ff9b move backgroundsubtrator::init out if HAVE_OPENCV_VIDEO and into new HAVE_BACKGROUNDSUBTRACTOR 2017-11-11 14:00:19 +00:00
btsimonh
1085b662e0
Merge pull request #585 from btsimonh/bgsubtractor
Background subtractor Async
2017-11-11 13:20:16 +00:00
Simon Hailes
1e8587fe9a bgsubtrator - add manual GC else node kills my pi. Add delete of images once consumed. 2017-11-11 12:51:00 +00:00
Simon Hailes
4f58515187 Add bgsubtractor example/test. 2017-11-11 12:37:25 +00:00
Simon Hailes
507bb2482b Fix Synchronous Apply() 2017-11-11 12:14:55 +00:00
Simon Hailes
cbb7f31b48 add back in missing #ifdef 2017-11-11 11:29:57 +00:00
Simon Hailes
841fe088f6 Background subtractor: Add async, add CreateMOG2, CreateGMG, Add some MOG parameters. now OpenCV 2.4 and 3.x 2017-11-11 11:03:14 +00:00
btsimonh
729686f6dc
Merge pull request #584 from btsimonh/readImageMem
opencv:readimage Async - fix suspected memory leak
2017-11-10 16:17:03 +00:00
btsimonh
65b64b162d
Merge pull request #583 from btsimonh/resizeexceptionchecking
Resize (async) exception checking and memory leak prevention
2017-11-10 16:16:23 +00:00
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
6393a7f44e avoid warning about initilisation order 2017-11-10 10:32:51 +00:00
Simon Hailes
0b6b1f42cc fix stupid typo 2017-11-10 10:28:56 +00:00
Simon Hailes
f2c05255a0 resize: delete the dest we created on error, and if still present on destructor 2017-11-10 10:25:27 +00:00
Simon Hailes
ab0bd505d2 resize(async): seems we can get an assert in Unwrap if image has 0,0, size, so catch and report as a callback error. 2017-11-10 09:49:12 +00:00
Peter Braden
fdd0c97a3c
Merge pull request #578 from btsimonh/warninglines
fix vs compile error due to warning lines
2017-11-07 13:51:41 +01:00
Peter Braden
cc70d63c79
Merge pull request #579 from btsimonh/histogram
Histogram - fix VS compilation by setting constant size arrays.
2017-11-07 13:51:31 +01:00
Simon Hailes
9271d2c606 Histogram - fix VS compilation by setting constant size arrays. 2017-11-07 09:42:17 +00:00
Simon Hailes
91796df65e fix vs compile error due to warning lines 2017-11-07 09:28:21 +00:00
Peter Braden
db70b8ce6b
Merge pull request #575 from btsimonh/imreadconstants
add constants for use with cv::imread and cv::imdecode
2017-11-06 15:14:35 +01:00
Simon Hailes
71a6d451fe make CV_LOAD_IMAGE_IGNORE_ORIENTATION only available if CV >= 3.2.0 2017-11-06 09:41:14 +00:00
Peter Braden
ca7847d651
Merge pull request #574 from btsimonh/btsimonh-readImageAsync
Btsimonh read image async
2017-11-06 09:26:05 +01:00
Simon Hailes
bf6aa03f5d add constants CV_LOAD_IMAGE_UNCHANGED, CV_LOAD_IMAGE_GRAYSCALE, CV_LOAD_IMAGE_COLOR, CV_LOAD_IMAGE_ANYDEPTH, CV_LOAD_IMAGE_ANYCOLOR, CV_LOAD_IMAGE_IGNORE_ORIENTATION
For use with imread/imdecode via readImage
2017-11-04 16:00:44 +00:00
Simon Hailes
862cb7f777 Update examples/readimage.js for readImageAsync. 2017-11-04 15:01:26 +00:00