Coder Social home page Coder Social logo

ropencv's People

Contributors

bobbdelsol avatar d-alex avatar jaronson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ropencv's Issues

imread when in console tries to display matrix after load, causing cpu to spin

I noticed that when I was in rails console (or irb) and did an imread on a medium sized photos, the CPU would just spinning. This is happening because matrices are displayed in the matlab format (which I love). Good for small matrices, bad for big ones. Perhaps just display the object when the matrix is of a certain size.

In the meantime, there is an easy work around by suffixing the command with nil:
img = cv::imread(my_path); nil

HOG descriptor

Can we have an example of how to use HogDescriptor in ropencv, as it seems in opencv
hog.setSVMDetector takes HOGDescriptor::getDefaultPeopleDetector() as an argument

while in ropencv the wrappers for HOGDescriptor::getDefaultPeopleDetector() returns Std::Vector::Float while hog.setSVMDetector expects Cv::Mat

Could not open library 'rbind_opencv'

Hi! This is a very cool project. I'm having trouble getting started. I'm running into this error when I try to require 'ropencv'.


/home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ffi-1.9.0/lib/ffi/library.rb:123:in `block in ffi_lib': Could not open library 'rbind_opencv': rbind_opencv: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'librbind_opencv.so': librbind_opencv.so: cannot open shared object file: No such file or directory.
Could not open library '/home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/lib/librbind_opencv.so': libopencv_calib3d.so.2.9: cannot open shared object file: No such file or directory
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ffi-1.9.0/lib/ffi/library.rb:90:in `map'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ffi-1.9.0/lib/ffi/library.rb:90:in `ffi_lib'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/ruby/ropencv/ropencv.rb:18:in `<module:Rbind>'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/ruby/ropencv/ropencv.rb:7:in `<module:OpenCV>'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/ruby/ropencv/ropencv.rb:5:in `<top (required)>'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/ruby/ropencv.rb:1:in `require'
    from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/ropencv-0.0.7/lib/ruby/ropencv.rb:1:in `<top (required)>'
    from ropencv_test.rb:4:in `require'
    from ropencv_test.rb:4:in `<main>'

estimateRigidTransform support?

Any chance you will support estimateRigidTransform? I noticed that it exists in the clang branch? The last commit on that branch seems relatively old compared to the master? How stable is it?

Errors when using FlannBasedMatcher

Instantiating a new FlannBasedMatcher:

require 'ropencv'
include OpenCV

matcher = cv::FlannBasedMatcher.new

the following error occurs:

NameError: undefined local variable or method `flann' for OpenCV::Cv::FlannBasedMatcher:Class
from /home/paolo/.rvm/gems/ruby-2.0.0-p598/gems/ropencv-0.0.21/lib/ropencv/ropencv_types.rb:32672:in `new'

So the error is on the following line:

# overloaded method wrapper for cv::FlannBasedMatcher::FlannBasedMatcher(const cv::Ptr<cv::flann::IndexParams> indexParams = makePtr<flann::KDTreeIndexParams>(), const cv::Ptr<cv::flann::SearchParams> searchParams = makePtr<flann::SearchParams>())
@@cv_flann_based_matcher_flann_based_matcher_defaults0 ||= [cv::Ptr<flann::KDTreeIndexParams>(new flann::KDTreeIndexParams), cv::Ptr<flann::SearchParams>(new flann::SearchParams)]

It seems to me that the flann namespace does not exists or it is not correctly wrapped/exported. In fact I cannot find other references neither to flann nor to KDTreeIndexParams in the file.

Can you please check and tell me if I am missing anything?

Installation fails in Ruby 3.2

Ruby 3.2 removes the previously deprecated Kernel#=~ method.
https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
https://bugs.ruby-lang.org/issues/15231

With this method removed this line throws NoMethodError:
ext/helper.rb#L84
add_operation Rbind::ROperation.new("conj",self) if size == 2 && !type.name =~/int/

Error message:

/usr/local/bundle/gems/ropencv-0.0.38/ext/helper.rb:84:in `initialize': undefined method `=~' for false:FalseClass (NoMethodError)
        from /usr/local/bundle/gems/ropencv-0.0.38/ext/src/../rbind.rb:17:in `new'
        from /usr/local/bundle/gems/ropencv-0.0.38/ext/src/../rbind.rb:17:in `block in <main>'
        from /usr/local/bundle/gems/ropencv-0.0.38/ext/src/../rbind.rb:15:in `upto'
        from /usr/local/bundle/gems/ropencv-0.0.38/ext/src/../rbind.rb:15:in `<main>'

How to use SIFT or SURF

Hi, I have compiled opencv-3.1.0 enabling the opencv_contrib module so that I can use SIFT and SURF, for example using the Python wrapper with the official tutorials.

Is it possible to use them with ropencv too?

Error when building gem on heroku

I am tryng to build ropencv on heroku, first using the apt buildpack to install libopencv-dev, g++ and cmake, then installing ropencv with the standard buildpck.

I get the following error:

Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (15/15), 483.39 KiB | 0 bytes/s, done.
Total 15 (delta 4), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/ddollar/heroku-buildpack-apt.git... done
remote: -----> Apt app detected
remote: WARNING: This buildpack is no longer maintained.
remote:
remote: Please choose a different buildpack or go to https://github.com/ddollar/heroku-buildpack-apt
remote: and fork it to your own account.
remote:
remote: This buildpack will cease to function at the stroke of midnight on January 1, 2017.
remote: -----> Updating apt caches
remote: Hit http://apt.postgresql.org trusty-pgdg InRelease
remote: Ign http://archive.ubuntu.com trusty InRelease
remote: Hit http://archive.ubuntu.com trusty-security InRelease
remote: Hit http://archive.ubuntu.com trusty-updates InRelease
remote: Hit http://archive.ubuntu.com trusty Release.gpg
remote: Hit http://archive.ubuntu.com trusty Release
remote: Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages
remote: Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
remote: Hit http://archive.ubuntu.com trusty-security/main Translation-en
remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
remote: Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
remote: Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
remote: Hit http://archive.ubuntu.com trusty-updates/main Translation-en
remote: Hit http://archive.ubuntu.com trusty/main amd64 Packages
remote: Hit http://archive.ubuntu.com trusty/universe amd64 Packages
remote: Hit http://archive.ubuntu.com trusty/main Translation-en
remote: Hit http://archive.ubuntu.com trusty/universe Translation-en
remote: Ign http://archive.ubuntu.com trusty/main Translation-en_US
remote: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
remote: Reading package lists...
remote: -----> Fetching .debs for libopencv-dev
remote: Reading package lists...
remote: Building dependency tree...
remote: The following extra packages will be installed:
remote: bsdmainutils debhelper dh-apparmor gettext gettext-base gir1.2-atk-1.0
remote: gir1.2-gtk-2.0 gir1.2-pango-1.0 intltool-debian libasprintf-dev
remote: libasprintf0c2 libatk1.0-dev libavcodec-dev libavcodec54 libavformat-dev
remote: libavformat54 libavutil-dev libavutil52 libcv-dev libcvaux-dev libdc1394-22
remote: libdc1394-22-dev libgettextpo-dev libgettextpo0 libglu1-mesa libgsm1
remote: libgtk2.0-dev libgtkglext1 libharfbuzz-dev libharfbuzz-gobject0
remote: libharfbuzz-icu0 libhighgui-dev libmail-sendmail-perl libmp3lame0
remote: libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev
remote: libopencv-contrib2.4 libopencv-core-dev libopencv-core2.4
remote: libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev
remote: libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4 libopencv-highgui-dev
remote: libopencv-highgui2.4 libopencv-imgproc-dev libopencv-imgproc2.4
remote: libopencv-legacy-dev libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4
remote: libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev
remote: libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4
remote: libopencv-stitching-dev libopencv-stitching2.4 libopencv-superres-dev
remote: libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev
remote: libopencv-video2.4 libopencv-videostab-dev libopencv-videostab2.4
remote: libopencv2.4-java libopencv2.4-jni libopenjpeg2 libopus0 liborc-0.4-0
remote: libpango1.0-dev libpangox-1.0-0 libpangoxft-1.0-0 libpipeline1 libraw1394-11
remote: libraw1394-dev libraw1394-tools libschroedinger-1.0-0 libspeex1
remote: libswscale-dev libswscale2 libsys-hostname-long-perl libtbb2 libtheora0
remote: libunistring0 libva1 libx264-142 libxcomposite-dev libxcursor-dev
remote: libxdamage-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
remote: libxml2-utils libxrandr-dev libxvidcore4 man-db opencv-data po-debconf
remote: x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev
remote: x11proto-randr-dev x11proto-xinerama-dev
remote: Suggested packages:
remote: wamerican wordlist whois vacation dh-make apparmor-easyprof gettext-doc
remote: libgsm1-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev
remote: libvorbis-dev libgtk2.0-doc opus-tools libpango1.0-doc libraw1394-doc speex
remote: groff www-browser libmail-box-perl
remote: The following NEW packages will be installed:
remote: bsdmainutils debhelper dh-apparmor gettext gettext-base gir1.2-atk-1.0
remote: gir1.2-gtk-2.0 gir1.2-pango-1.0 intltool-debian libasprintf-dev
remote: libasprintf0c2 libatk1.0-dev libavcodec-dev libavcodec54 libavformat-dev
remote: libavformat54 libavutil-dev libavutil52 libcv-dev libcvaux-dev libdc1394-22
remote: libdc1394-22-dev libgettextpo-dev libgettextpo0 libglu1-mesa libgsm1
remote: libgtk2.0-dev libgtkglext1 libharfbuzz-dev libharfbuzz-gobject0
remote: libharfbuzz-icu0 libhighgui-dev libmail-sendmail-perl libmp3lame0
remote: libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev
remote: libopencv-contrib2.4 libopencv-core-dev libopencv-core2.4 libopencv-dev
remote: libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev
remote: libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4 libopencv-highgui-dev
remote: libopencv-highgui2.4 libopencv-imgproc-dev libopencv-imgproc2.4
remote: libopencv-legacy-dev libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4
remote: libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev
remote: libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4
remote: libopencv-stitching-dev libopencv-stitching2.4 libopencv-superres-dev
remote: libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev
remote: libopencv-video2.4 libopencv-videostab-dev libopencv-videostab2.4
remote: libopencv2.4-java libopencv2.4-jni libopenjpeg2 libopus0 liborc-0.4-0
remote: libpango1.0-dev libpangox-1.0-0 libpangoxft-1.0-0 libpipeline1 libraw1394-11
remote: libraw1394-dev libraw1394-tools libschroedinger-1.0-0 libspeex1
remote: libswscale-dev libswscale2 libsys-hostname-long-perl libtbb2 libtheora0
remote: libunistring0 libva1 libx264-142 libxcomposite-dev libxcursor-dev
remote: libxdamage-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
remote: libxml2-utils libxrandr-dev libxvidcore4 man-db opencv-data po-debconf
remote: x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev
remote: x11proto-randr-dev x11proto-xinerama-dev
remote: 0 upgraded, 111 newly installed, 0 to remove and 48 not upgraded.
remote: Need to get 0 B/27.5 MB of archives.
remote: After this operation, 137 MB of additional disk space will be used.
remote: Download complete and in download only mode
remote: -----> Fetching .debs for cmake
remote: Reading package lists...
remote: Building dependency tree...
remote: The following extra packages will be installed:
remote: cmake-data libarchive13 libnettle4
remote: Suggested packages:
remote: codeblocks eclipse lrzip
remote: The following NEW packages will be installed:
remote: cmake cmake-data libarchive13 libnettle4
remote: 0 upgraded, 4 newly installed, 0 to remove and 48 not upgraded.
remote: Need to get 0 B/3,656 kB of archives.
remote: After this operation, 17.7 MB of additional disk space will be used.
remote: Download complete and in download only mode
remote: -----> Fetching .debs for g++
remote: Reading package lists...
remote: Building dependency tree...
remote: 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 48 not upgraded.
remote: Need to get 0 B/1,490 B of archives.
remote: After this operation, 0 B of additional disk space will be used.
remote: Download complete and in download only mode
remote: -----> Fetching .debs for pkg-config
remote: Reading package lists...
remote: Building dependency tree...
remote: 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 48 not upgraded.
remote: Need to get 40.9 kB of archives.
remote: After this operation, 0 B of additional disk space will be used.
remote: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main pkg-config amd64 0.26-1ubuntu4 [40.9 kB]
remote: Fetched 40.9 kB in 0s (170 kB/s)
remote: Download complete and in download only mode
remote: -----> Installing bsdmainutils_9.0.5ubuntu1_amd64.deb
remote: -----> Installing cmake_2.8.12.2-0ubuntu3_amd64.deb
remote: -----> Installing cmake-data_2.8.12.2-0ubuntu3_all.deb
remote: -----> Installing debhelper_9.20131227ubuntu1_all.deb
remote: -----> Installing dh-apparmor_2.8.952430-0ubuntu5.3_all.deb
remote: -----> Installing g++_4%3a4.8.2-1ubuntu6_amd64.deb
remote: -----> Installing gettext_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing gettext-base_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing gir1.2-atk-1.0_2.10.0-2ubuntu2_amd64.deb
remote: -----> Installing gir1.2-gtk-2.0_2.24.23-0ubuntu1.4_amd64.deb
remote: -----> Installing gir1.2-pango-1.0_1.36.3-1ubuntu1.1_amd64.deb
remote: -----> Installing intltool-debian_0.35.0+20060710.1_all.deb
remote: -----> Installing libarchive13_3.1.2-7ubuntu2.2_amd64.deb
remote: -----> Installing libasprintf0c2_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libasprintf-dev_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libatk1.0-dev_2.10.0-2ubuntu2_amd64.deb
remote: -----> Installing libavcodec54_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libavcodec-dev_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libavformat54_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libavformat-dev_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libavutil52_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libavutil-dev_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libcvaux-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libcv-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libdc1394-22_2.2.1-2ubuntu2_amd64.deb
remote: -----> Installing libdc1394-22-dev_2.2.1-2ubuntu2_amd64.deb
remote: -----> Installing libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libgettextpo-dev_0.18.3.1-1ubuntu3_amd64.deb
remote: -----> Installing libglu1-mesa_9.0.0-2_amd64.deb
remote: -----> Installing libgsm1_1.0.13-4_amd64.deb
remote: -----> Installing libgtk2.0-dev_2.24.23-0ubuntu1.4_amd64.deb
remote: -----> Installing libgtkglext1_1.2.0-3.1fakesync3_amd64.deb
remote: -----> Installing libharfbuzz-dev_0.9.27-1ubuntu1_amd64.deb
remote: -----> Installing libharfbuzz-gobject0_0.9.27-1ubuntu1_amd64.deb
remote: -----> Installing libharfbuzz-icu0_0.9.27-1ubuntu1_amd64.deb
remote: -----> Installing libhighgui-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libmail-sendmail-perl_0.79.16-1_all.deb
remote: -----> Installing libmp3lame0_3.99.5+repack1-3ubuntu1_amd64.deb
remote: -----> Installing libnettle4_2.7.1-1ubuntu0.1_amd64.deb
remote: -----> Installing libopencv2.4-java_2.4.8+dfsg1-2ubuntu1_all.deb
remote: -----> Installing libopencv2.4-jni_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-calib3d2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-calib3d-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-contrib2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-contrib-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-core2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-core-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-features2d2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-features2d-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-flann2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-flann-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-gpu2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-gpu-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-highgui2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-highgui-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-imgproc2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-imgproc-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-legacy2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-legacy-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ml2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ml-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-objdetect2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-objdetect-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ocl2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ocl-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-photo2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-photo-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-stitching2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-stitching-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-superres2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-superres-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ts2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-ts-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-video2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-video-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-videostab2.4_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopencv-videostab-dev_2.4.8+dfsg1-2ubuntu1_amd64.deb
remote: -----> Installing libopenjpeg2_1.3+dfsg-4.7ubuntu1_amd64.deb
remote: -----> Installing libopus0_1.1-0ubuntu1_amd64.deb
remote: -----> Installing liborc-0.4-0_1%3a0.4.18-1ubuntu1_amd64.deb
remote: -----> Installing libpango1.0-dev_1.36.3-1ubuntu1.1_amd64.deb
remote: -----> Installing libpangox-1.0-0_0.0.2-4ubuntu1_amd64.deb
remote: -----> Installing libpangoxft-1.0-0_1.36.3-1ubuntu1.1_amd64.deb
remote: -----> Installing libpipeline1_1.3.0-1_amd64.deb
remote: -----> Installing libraw1394-11_2.1.0-1ubuntu1_amd64.deb
remote: -----> Installing libraw1394-dev_2.1.0-1ubuntu1_amd64.deb
remote: -----> Installing libraw1394-tools_2.1.0-1ubuntu1_amd64.deb
remote: -----> Installing libschroedinger-1.0-0_1.0.11-2ubuntu1_amd64.deb
remote: -----> Installing libspeex1_1.2
rc1.1-1ubuntu1_amd64.deb
remote: -----> Installing libswscale2_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libswscale-dev_6%3a9.11-2ubuntu2_amd64.deb
remote: -----> Installing libsys-hostname-long-perl_1.4-3_all.deb
remote: -----> Installing libtbb2_4.2~20130725-1.1ubuntu1_amd64.deb
remote: -----> Installing libtheora0_1.1.1+dfsg.1-3.2_amd64.deb
remote: -----> Installing libunistring0_0.9.3-5ubuntu3_amd64.deb
remote: -----> Installing libva1_1.3.0-2_amd64.deb
remote: -----> Installing libx264-142_2%3a0.142.2389+git956c8d8-2_amd64.deb
remote: -----> Installing libxcomposite-dev_1%3a0.4.4-1_amd64.deb
remote: -----> Installing libxcursor-dev_1%3a1.1.14-1_amd64.deb
remote: -----> Installing libxdamage-dev_1%3a1.1.4-1ubuntu1_amd64.deb
remote: -----> Installing libxfixes-dev_1%3a5.0.1-1ubuntu1.1_amd64.deb
remote: -----> Installing libxft-dev_2.3.1-2_amd64.deb
remote: -----> Installing libxi-dev_2%3a1.7.1.901-1ubuntu1.1_amd64.deb
remote: -----> Installing libxinerama-dev_2%3a1.1.3-1_amd64.deb
remote: -----> Installing libxml2-utils_2.9.1+dfsg1-3ubuntu4.8_amd64.deb
remote: -----> Installing libxrandr-dev_2%3a1.4.2-1_amd64.deb
remote: -----> Installing libxvidcore4_2%3a1.3.2-9ubuntu1_amd64.deb
remote: -----> Installing man-db_2.6.7.1-1ubuntu1_amd64.deb
remote: -----> Installing opencv-data_2.4.8+dfsg1-2ubuntu1_all.deb
remote: -----> Installing pkg-config_0.26-1ubuntu4_amd64.deb
remote: -----> Installing po-debconf_1.0.16+nmu2ubuntu1_all.deb
remote: -----> Installing x11proto-composite-dev_1%3a0.4.2-2_all.deb
remote: -----> Installing x11proto-damage-dev_1%3a1.2.1-2_all.deb
remote: -----> Installing x11proto-fixes-dev_1%3a5.0-2ubuntu2_all.deb
remote: -----> Installing x11proto-randr-dev_1.4.0+git20120101.is.really.1.4.0-0ubuntu1_all.deb
remote: -----> Installing x11proto-xinerama-dev_1.2.1-2_all.deb
remote: -----> Writing profile script
remote: -----> Using set buildpack heroku/ruby
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/.........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Using rake 11.1.2
remote: Using mime-types 2.99.2
remote: Using netrc 0.11.0
remote: Using i18n 0.7.0
remote: Using unf_ext 0.0.7.2
remote: Using json 1.8.3
remote: Using minitest 5.9.0
remote: Using thread_safe 0.3.5
remote: Using builder 3.2.2
remote: Using api-auth 2.0.0
remote: Using json_pure 1.8.3
remote: Using ice_nine 0.11.2
remote: Using bson 4.1.1
remote: Using highline 1.7.8
remote: Using concurrent-ruby 1.0.2
remote: Using connection_pool 2.2.0
remote: Using enumerable-lazy 0.0.1
remote: Using equalizer 0.0.11
remote: Using hashie 3.4.4
remote: Using multi_json 1.12.1
remote: Using multi_xml 0.5.5
remote: Using rack 1.6.4
remote: Using mini_portile2 2.0.0
remote: Using origin 2.2.0
remote: Using puma 3.4.0
remote: Using rack-cors 0.4.0
remote: Using rack-ssl-enforcer 0.2.9
remote: Using rack-timeout 0.4.2
remote: Using redis 3.3.0
remote: Using terminal-table 1.6.0
remote: Using bundler 1.11.2
remote: Using unf 0.1.4
remote: Using tzinfo 1.2.2
remote: Using descendants_tracker 0.0.4
remote: Using jmespath 1.2.4
remote: Using commander 4.4.0
remote: Using mongo 2.2.5
remote: Using mustermann19 0.4.3
remote: Using hashie-forbidden_attributes 0.1.1
remote: Using nokogiri 1.6.7.2
remote: Using rack-accept 0.4.5
remote: Using sidekiq 4.1.2
remote: Using domain_name 0.5.20160310
remote: Using activesupport 4.2.6
remote: Using axiom-types 0.1.1
remote: Using coercible 1.0.0
remote: Using aws-sdk-core 2.3.11
remote: Using venice 0.2.0
remote: Using http-cookie 1.0.2
remote: Using activemodel 4.2.6
remote: Using grape-entity 0.5.1
remote: Using virtus 1.0.5
remote: Using aws-sdk-resources 2.3.11
remote: Using rest-client 1.8.0
remote: Using mongoid 5.1.3
remote: Using grape 0.16.2
remote: Using aws-sdk 2.3.11
remote: Using grape-middleware-logger 1.6.0
remote: Using grape-swagger 0.21.0 from https://github.com/ruby-grape/grape-swagger.git (at master@cc08c4c)
remote: Using abbyy 0.2.1 from https://github.com/BuntesIchDE/abbyy.git (at master@c3d23b0)
remote: Using grape-swagger-entity 0.1.3
remote: Installing ffi 1.9.10 with native extensions
remote: Installing rbind 0.0.27
remote: Installing ropencv 0.0.21 with native extensions
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160606-962-z60s8w.rb extconf.rb
remote: -- The C compiler identification is GNU 4.8.4
remote: -- The CXX compiler identification is GNU 4.8.4
remote: -- Check for working C compiler: /usr/bin/cc
remote: -- Check for working C compiler: /usr/bin/cc -- works
remote: -- Detecting C compiler ABI info
remote: -- Detecting C compiler ABI info - done
remote: -- Check for working CXX compiler: /usr/bin/c++
remote: -- Check for working CXX compiler: /usr/bin/c++ -- works
remote: -- Detecting CXX compiler ABI info
remote: -- Detecting CXX compiler ABI info - done
remote: -- Found PkgConfig: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/.apt/usr/bin/pkg-config (found version "0.26")
remote: -- checking for module 'opencv'
remote: -- found opencv, version 2.4.8
remote: -- Configuring done
remote: -- Generating done
remote: -- Build files have been written to: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext
remote: make "DESTDIR=" clean
remote: make "DESTDIR="
remote: [ 25%] Generating types.cc, operations.cc, conversions.cc
remote: Ignoring bson-4.1.1 because its extensions are not built. Try: gem pristine bson --version 4.1.1
remote: Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10
remote: Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2
remote: Ignoring puma-3.4.0 because its extensions are not built. Try: gem pristine puma --version 3.4.0
remote: Ignoring ruby-opencv-0.0.16 because its extensions are not built. Try: gem pristine ruby-opencv --version 0.0.16
remote: Ignoring unf_ext-0.0.7.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.2
remote: Rbind: found opencv 2.4.8
remote: Traceback (most recent call last):
remote: File "/tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/tools/hdr_parser.py", line 880, in
remote: decls += parser.parse(sys.argv[1])
remote: IndexError: list index out of range
remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:108:in rescue in parameter': input line 3: cv has no type called vector<KeyPoint> (RuntimeError) remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:88:inparameter'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:273:in block in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:inmap'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:307:inblock in parse'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:in each' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:inparse'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:44:in block in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:ineach'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext/src/../rbind.rb:47:in

'
remote: Parsing Error: input line 3: cv has no type called vector
remote: Line 1:
remote: --------------------------------------------------
remote: cv.drawMatches void
remote: Mat img1
remote: vector_KeyPoint keypoints1
remote: Mat img2
remote: vector_KeyPoint keypoints2
remote: vector_DMatch matches1to2
remote: Mat outImg /O
remote: Scalar matchColor Scalar::all(-1)
remote: Scalar singlePointColor Scalar::all(-1)
remote: vector_char matchesMask std::vector()
remote: int flags DrawMatchesFlags::DEFAULT
remote: --------------------------------------------------
remote: make[2]: *** [src/types.cc] Error 1
remote: make[1]: *** [src/CMakeFiles/rbind_opencv.dir/all] Error 2
remote: make: *** [all] Error 2
remote: make failed, exit code 2
remote: Gem files will remain installed in /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21 for inspection.
remote: Results logged to /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/ropencv-0.0.21/gem_make.out
remote: An error occurred while installing ropencv (0.0.21), and Bundler cannot
remote: continue.
remote: Make sure that gem install ropencv -v '0.0.21' succeeds before bundling.
remote: Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/.........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Using rake 11.1.2
remote: Using mime-types 2.99.2
remote: Using netrc 0.11.0
remote: Using i18n 0.7.0
remote: Using unf_ext 0.0.7.2
remote: Using json 1.8.3
remote: Using minitest 5.9.0
remote: Using thread_safe 0.3.5
remote: Using builder 3.2.2
remote: Using api-auth 2.0.0
remote: Using json_pure 1.8.3
remote: Using ice_nine 0.11.2
remote: Using bson 4.1.1
remote: Using highline 1.7.8
remote: Using concurrent-ruby 1.0.2
remote: Using connection_pool 2.2.0
remote: Using enumerable-lazy 0.0.1
remote: Using equalizer 0.0.11
remote: Using hashie 3.4.4
remote: Using multi_json 1.12.1
remote: Using multi_xml 0.5.5
remote: Using rack 1.6.4
remote: Using mini_portile2 2.0.0
remote: Using origin 2.2.0
remote: Using puma 3.4.0
remote: Using rack-cors 0.4.0
remote: Using rack-ssl-enforcer 0.2.9
remote: Using rack-timeout 0.4.2
remote: Using redis 3.3.0
remote: Using terminal-table 1.6.0
remote: Using bundler 1.11.2
remote: Using unf 0.1.4
remote: Using tzinfo 1.2.2
remote: Using descendants_tracker 0.0.4
remote: Using jmespath 1.2.4
remote: Using commander 4.4.0
remote: Using mongo 2.2.5
remote: Using mustermann19 0.4.3
remote: Using hashie-forbidden_attributes 0.1.1
remote: Using nokogiri 1.6.7.2
remote: Using rack-accept 0.4.5
remote: Using sidekiq 4.1.2
remote: Using domain_name 0.5.20160310
remote: Using activesupport 4.2.6
remote: Using axiom-types 0.1.1
remote: Using coercible 1.0.0
remote: Using aws-sdk-core 2.3.11
remote: Using venice 0.2.0
remote: Using http-cookie 1.0.2
remote: Using activemodel 4.2.6
remote: Using grape-entity 0.5.1
remote: Using virtus 1.0.5
remote: Using aws-sdk-resources 2.3.11
remote: Using rest-client 1.8.0
remote: Using mongoid 5.1.3
remote: Using grape 0.16.2
remote: Using aws-sdk 2.3.11
remote: Using grape-middleware-logger 1.6.0
remote: Using grape-swagger 0.21.0 from https://github.com/ruby-grape/grape-swagger.git (at master@cc08c4c)
remote: Using abbyy 0.2.1 from https://github.com/BuntesIchDE/abbyy.git (at master@c3d23b0)
remote: Using grape-swagger-entity 0.1.3
remote: Installing ffi 1.9.10 with native extensions
remote: Installing rbind 0.0.27
remote: Installing ropencv 0.0.21 with native extensions
remote:
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
remote:
remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160606-962-z60s8w.rb extconf.rb
remote: -- The C compiler identification is GNU 4.8.4
remote: -- The CXX compiler identification is GNU 4.8.4
remote: -- Check for working C compiler: /usr/bin/cc
remote: -- Check for working C compiler: /usr/bin/cc -- works
remote: -- Detecting C compiler ABI info
remote: -- Detecting C compiler ABI info - done
remote: -- Check for working CXX compiler: /usr/bin/c++
remote: -- Check for working CXX compiler: /usr/bin/c++ -- works
remote: -- Detecting CXX compiler ABI info
remote: -- Detecting CXX compiler ABI info - done
remote: -- Found PkgConfig: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/.apt/usr/bin/pkg-config (found version "0.26")
remote: -- checking for module 'opencv'
remote: -- found opencv, version 2.4.8
remote: -- Configuring done
remote: -- Generating done
remote: -- Build files have been written to: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext
remote:
remote: make "DESTDIR=" clean
remote:
remote: make "DESTDIR="
remote: [ 25%] Generating types.cc, operations.cc, conversions.cc
remote: Ignoring bson-4.1.1 because its extensions are not built. Try: gem pristine bson --version 4.1.1
remote: Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10
remote: Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2
remote: Ignoring puma-3.4.0 because its extensions are not built. Try: gem pristine puma --version 3.4.0
remote: Ignoring ruby-opencv-0.0.16 because its extensions are not built. Try: gem pristine ruby-opencv --version 0.0.16
remote: Ignoring unf_ext-0.0.7.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.2
remote: Rbind: found opencv 2.4.8
remote: Traceback (most recent call last):
remote: File "/tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/tools/hdr_parser.py", line 880, in
remote: decls += parser.parse(sys.argv[1])
remote: IndexError: list index out of range
remote: /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:108:in rescue in parameter': input line 3: cv has no type called vector<KeyPoint> (RuntimeError) remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:88:inparameter'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:273:in block in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:inmap'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:272:in parse_operation' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:307:inblock in parse'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:in each' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/default_parser.rb:297:inparse'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:44:in block in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:ineach'
remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/rbind-0.0.27/lib/rbind/rbind.rb:42:in parse' remote: from /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21/ext/src/../rbind.rb:47:in'
remote: Parsing Error: input line 3: cv has no type called vector
remote: Line 1:
remote: --------------------------------------------------
remote: cv.drawMatches void
remote: Mat img1
remote: vector_KeyPoint keypoints1
remote: Mat img2
remote: vector_KeyPoint keypoints2
remote: vector_DMatch matches1to2
remote: Mat outImg /O
remote: Scalar matchColor Scalar::all(-1)
remote: Scalar singlePointColor Scalar::all(-1)
remote: vector_char matchesMask std::vector()
remote: int flags DrawMatchesFlags::DEFAULT
remote: --------------------------------------------------
remote: make[2]: *** [src/types.cc] Error 1
remote: make[1]: *** [src/CMakeFiles/rbind_opencv.dir/all] Error 2
remote: make: *** [all] Error 2
remote:
remote: make failed, exit code 2
remote:
remote: Gem files will remain installed in /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/gems/ropencv-0.0.21 for inspection.
remote: Results logged to /tmp/build_eee7cb15c8c5c9ebd43f56b3dfd97920/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/ropencv-0.0.21/gem_make.out
remote: An error occurred while installing ropencv (0.0.21), and Bundler cannot
remote: continue.
remote: Make sure that gem install ropencv -v '0.0.21' succeeds before bundling.
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to arbeitszeugnis.
remote:

Any ideas? ruby-opencv wil install without problems.

VideoCapture loops infinitely

Referring to the code below grab() or retrieve() never return false on reaching the end of file , instead restart reading the file causing an infinite loop

video_file = cv::VideoCapture.new(video_path)

while video_file.grab
frame = cv::Mat.new
output = video_file.retrieve(frame)
break unless output
frame_name = Time.now.strftime('frame_%Y%m%d%H%M%S%L.jpg')
cv::imwrite(File.join(output_path,frame_name),frame)
end

undefined local variable or method `cv' for OpenCV::Cv::Mat:Class

I'm getting this error in ropencv_ruby.rb line 326. Here is an exert from the from the code (within the Mat class):

def self.to_native(obj,context)
    if obj.is_a?(Std::Vector::Cv_Point)
        cv::Mat.new(obj.size,1,cv::CV_32SC2,obj.data,cv::Mat::AUTO_STEP).__obj_ptr__
    elsif obj.is_a?(Std::Vector::Cv_Point2f)
        cv::Mat.new(obj.size,1,cv::CV_32FC2,obj.data,cv::Mat::AUTO_STEP).__obj_ptr__
    elsif obj.is_a?(Std::Vector::Cv_Point3f)
        cv::Mat.new(obj.size,1,cv::CV_32FC3,obj.data,cv::Mat::AUTO_STEP).__obj_ptr__
    elsif obj.is_a?(Std::Vector::Fixnum)
        cv::Mat.new(obj.size,1,cv::CV_32SC1,obj.data,cv::Mat::AUTO_STEP).__obj_ptr__
...

The cv method is not defined in Mat. When I run my app specs, I don't see this issue, but when I run in development mode, I'm getting the error.

I'm doing my best to troubleshoot, but running into walls. From my understanding, the Mat class does not have access to the cv method defined in the grandparent module unless Mat includes the grandparent module, so the error seems reasonable.

As an example:

module A
  def a; :a; end
  class B
    def b; a; end
  end
end

A::B.new().b will fail unless B includes A.

Why this works in my specs is beyond me. Any ideas?

Would you be open to changing references to cv::Mat to self, or more explicitly, OpenCV::Cv::Mat in the above code. I can put together a pull request if you like.

Error running ropencv on alpine linux

Everything seems to install fine but when I try to load ropencv I keep getting the error below. Any help is appreciated.
irb(main):001:0> require 'ropencv'
LoadError: Could not open library 'rbind_opencv': Error loading shared library rbind_opencv: No such file or directory.
Could not open library 'librbind_opencv.so': Error loading shared library librbind_opencv.so: No such file or directory.
Could not open library '/usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/librbind_opencv.so': Error relocating /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/librbind_opencv.so: _ZNK2cv8FileNode4nameB5cxx11Ev: symbol not found
from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:133:in block in ffi_lib' from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:inmap'
from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:in ffi_lib' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:25:inmodule:Rbind'
from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:14:in <module:OpenCV>' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:12:in<top (required)>'
from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv.rb:1:in <top (required)>' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:127:inrequire'
from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:127:in rescue in require' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:inrequire'
from (irb):1
from /usr/bin/irb:11:in `

'

Update version

Hi Alexander,

Any chance you'd bump the version coincide with the latest master?

When I try to bundle install ropencv via your repository I get the following message:

Using ropencv (0.0.12) from https://github.com/D-Alex/ropencv (at master) 
ropencv at /Users/cgat/.rvm/gems/ruby-1.9.3-p194/bundler/gems/ropencv-419e5f1a68e5 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
If you need to use this package without installing it from a gem repository, please contact ["[email protected]"] and ask them to modify their .gemspec so it can work with `gem build`.
The validation message from Rubygems was:
  ["lib/ropencv/ropencv_types.rb"] are not files

Otherwise I have to use a local fork that I've built manually.

Thanks

Translating Mat#at from C++

I'm trying to translate the last three lines in the snippet below from C++ to Ruby. Any help would be much appreciated. Thank you!

 cv::Mat image= cv::imread("boldt.jpg");

int i= rand()%image.cols;
int j= rand()%image.rows;

# Set the value to white
image.at<cv::Vec3b>(j,i)[0]= 255;
image.at<cv::Vec3b>(j,i)[1]= 255;
image.at<cv::Vec3b>(j,i)[2]= 255;

can't install on Fedora - help required

any help will be appreciated as openCV is installed without any errors

ESC[A/home/dar/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'opencv'
-- package 'opencv' not found
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
src/CMakeLists.txt:6 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/home/dar/.rvm/gems/ruby-2.0.0-p353@retrospective/gems/ropencv-0.0.15/ext/CMakeFiles/CMakeOutput.log".
extconf.rb:3:in block in <main>': CMake Configure Error (RuntimeError) from extconf.rb:1:inchdir'
from extconf.rb:1:in `

'

extconf failed, exit code 1

Installation issue OSX El Capitan

Got the following error installing the gem:

gem install ropencv
Fetching: rbind-0.0.27.gem (100%)
Successfully installed rbind-0.0.27
Fetching: ropencv-0.0.21.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing ropencv:
    ERROR: Failed to build gem native extension.

    /Users/joost/.rbenv/versions/2.2.1/bin/ruby -r ./siteconf20160508-41096-ph01tj.rb extconf.rb
extconf.rb:3:in `block in <main>': CMake Configure Error (RuntimeError)
    from extconf.rb:1:in `chdir'
    from extconf.rb:1:in `<main>'

extconf failed, exit code 1

Running ruby 2.2.1p85 (via rbenv) and installen opencv via Homebrew.

> brew info opencv
homebrew/science/opencv: stable 2.4.12 (bottled), HEAD
Open source computer vision library
http://opencv.org/
/usr/local/Cellar/opencv/2.4.12_2 (261 files, 35.6M) *
  Poured from bottle

Suggestions welcome :)

Seg fault with nginx/passenger

I wasn't able to get ropencv working with nginx/passenger for some reason. It works fine with unicorn, webrick, or from irb on the same system, so perhaps it's a problem with passenger. Regardless, I thought I would post this here just in case anyone else experienced the same issue.

Configuration details:
Mac OSX 10.7.5
Passenger 4.0.37 (via hombrew)
Nginx 1.4.5

Seg fault occurred on the warp_affine function according the nginx log file.

trackbar not wrapped?

Hi, this is a great tool for teaching. Thanks for that.

I am unable to find a way to access the gui trackbar, is there a function for that? If not, how can I implement it ?

findContours hierarchy

When using the findContours function, the returned hierarchy is a row matrix with as many columns as contours.

Based on the documentation of OpenCV, the hierarchy should be n x 4 where n is the number of contours. I expected the type of the hierarchy to be Std::vector::Cv_Vec4i.

In the current situation, the hierarchy variable is useless.

Error on building native gem and cannot install

I am having trouble installing the ropencv gem on OS X Yosemite 10.10.3, Ruby 2.1.4. Installed openCV 2.4.11 using Homebrew.

Getting this error - don't suppose you have any ideas at all?

Building native extensions. This could take a while...
ERROR: Error installing ropencv:
ERROR: Failed to build gem native extension.

/Users/Steve/.rvm/rubies/ruby-2.1.4/bin/ruby -r ./siteconf20150414-85000-h45a1m.rb extconf.rb

-- The C compiler identification is AppleClang 6.1.0.6020049
-- The CXX compiler identification is AppleClang 6.1.0.6020049
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'opencv'
-- found opencv, version 2.4.11
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

MACOSX_RPATH is not specified for the following targets:

rbind_opencv

This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/Steve/.rvm/gems/ruby-2.1.4@ecab/gems/ropencv-0.0.20/ext

make "DESTDIR=" clean

make "DESTDIR="
[ 25%] Generating types.cc, operations.cc, conversions.cc
Rbind: found opencv 2.4.11
Rbind: A const with the name cv::Mat::MAGIC_VAL already exists
Rbind: A const with the name cv::Mat::AUTO_STEP already exists
Rbind: A const with the name cv::Mat::CONTINUOUS_FLAG already exists
Rbind: A const with the name cv::Mat::SUBMATRIX_FLAG already exists
Rbind: A const with the name CV_ITERATIVE already exists
Rbind: A const with the name CV_EPNP already exists
Rbind: A const with the name CV_P3P already exists
Rbind: A const with the name CV_WND_PROP_FULLSCREEN already exists
Rbind: A const with the name CV_WND_PROP_AUTOSIZE already exists
Rbind: A const with the name CV_WND_PROP_OPENGL already exists
Rbind: A const with the name CV_WINDOW_NORMAL already exists
Rbind: A const with the name CV_WINDOW_AUTOSIZE already exists
Rbind: A const with the name CV_WINDOW_OPENGL already exists
Rbind: A const with the name CV_WINDOW_FULLSCREEN already exists
Rbind: A const with the name CV_WINDOW_FREERATIO already exists
Rbind: A const with the name CV_WINDOW_KEEPRATIO already exists
Scanning dependencies of target rbind_opencv
[ 50%] Building CXX object src/CMakeFiles/rbind_opencv.dir/types.cc.o
[ 75%] Building CXX object src/CMakeFiles/rbind_opencv.dir/operations.cc.o
[100%] Building CXX object src/CMakeFiles/rbind_opencv.dir/conversions.cc.o
Linking CXX shared library librbind_opencv.dylib
Undefined symbols for architecture x86_64:
"CvKNearest::CvKNearest(cv::Mat const&, cv::Mat const&, cv::Mat const&, bool, int)", referenced from:
_rbind_CvKNearest_CvKNearest2 in operations.cc.o
"CvKNearest::CvKNearest()", referenced from:
_rbind_CvKNearest_CvKNearest in operations.cc.o
"CvANN_MLP_TrainParams::~CvANN_MLP_TrainParams()", referenced from:
_rbind_delete_CvANN_MLP_TrainParams in types.cc.o
_rbind_CvANN_MLP_train in operations.cc.o
"CvNormalBayesClassifier::CvNormalBayesClassifier(cv::Mat const&, cv::Mat const&, cv::Mat const&, cv::Mat const&)", referenced from:
_rbind_CvNormalBayesClassifier_CvNormalBayesClassifier2 in operations.cc.o
"CvNormalBayesClassifier::CvNormalBayesClassifier()", referenced from:
_rbind_CvNormalBayesClassifier_CvNormalBayesClassifier in operations.cc.o
"cv::BOWTrainer::add(cv::Mat const&)", referenced from:
_rbind_cv_BOWTrainer_add in operations.cc.o
_rbind_cv_BOWKMeansTrainer_add in operations.cc.o
"cv::HoughLines(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, double, double)", referenced from:
_rbind_cv_HoughLines in operations.cc.o
"cv::PCACompute(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_PCACompute in operations.cc.o
"cv::PCAProject(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_PCAProject in operations.cc.o
"cv::StereoSGBM::StereoSGBM(int, int, int, int, int, int, int, int, int, int, bool)", referenced from:
_rbind_cv_StereoSGBM_StereoSGBM2 in operations.cc.o
"cv::StereoSGBM::StereoSGBM()", referenced from:
_rbind_cv_StereoSGBM_StereoSGBM in operations.cc.o
"cv::accumulate(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_accumulate in operations.cc.o
"cv::bitwise_or(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
rbind_cv_bitwise_or in operations.cc.o
"cv::checkRange(cv::InputArray const&, bool, cv::Point
, double, double)", referenced from:
_rbind_cv_checkRange in operations.cc.o
"cv::convexHull(cv::_InputArray const&, cv::_OutputArray const&, bool, bool)", referenced from:
_rbind_cv_convexHull in operations.cc.o
"cv::fitEllipse(cv::_InputArray const&)", referenced from:
_rbind_cv_fitEllipse in operations.cc.o
"cv::meanStdDev(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_meanStdDev in operations.cc.o
"cv::medianBlur(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_medianBlur in operations.cc.o
"cv::moveWindow(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, int)", referenced from:
_rbind_cv_moveWindow in operations.cc.o
"cv::solveCubic(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_solveCubic in operations.cc.o
"cv::warpAffine(cv::_InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Size, int, int, cv::Scalar const&)", referenced from:
_rbind_cv_warpAffine in operations.cc.o
"cv::FileStorage::releaseAndGetString()", referenced from:
_rbind_cv_FileStorage_releaseAndGetString in operations.cc.o
"cv::FileStorage::FileStorage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_FileStorage_FileStorage2 in operations.cc.o
"cv::FileStorage::FileStorage()", referenced from:
_rbind_cv_FileStorage_FileStorage in operations.cc.o
"cv::HoughLinesP(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, double, double)", referenced from:
_rbind_cv_HoughLinesP in operations.cc.o
"cv::Mahalanobis(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_Mahalanobis in operations.cc.o
"cv::RQDecomp3x3(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_RQDecomp3x3 in operations.cc.o
"cv::SVBackSubst(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_SVBackSubst in operations.cc.o
"cv::VideoWriter::VideoWriter(std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, int, double, cv::Size, bool)", referenced from:
_rbind_cv_VideoWriter_VideoWriter2 in operations.cc.o
"cv::VideoWriter::VideoWriter()", referenced from:
_rbind_cv_VideoWriter_VideoWriter in operations.cc.o
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
_rbind_cv_add in operations.cc.o
_rbind_cv_subtract in operations.cc.o
_rbind_cv_multiply in operations.cc.o
_rbind_cv_divide in operations.cc.o
_rbind_cv_divide2 in operations.cc.o
_rbind_cv_scaleAdd in operations.cc.o
_rbind_cv_addWeighted in operations.cc.o
...
"cv::_InputArray::_InputArray(std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat > const&)", referenced from:
_rbind_cv_mixChannels in operations.cc.o
_rbind_cv_hconcat in operations.cc.o
_rbind_cv_vconcat in operations.cc.o
_rbind_cv_fillPoly in operations.cc.o
_rbind_cv_polylines in operations.cc.o
_rbind_cv_calcHist in operations.cc.o
_rbind_cv_calcBackProject in operations.cc.o
...
"cv::addWeighted(cv::_InputArray const&, double, cv::InputArray const&, double, double, cv::OutputArray const&, int)", referenced from:
rbind_cv_addWeighted in operations.cc.o
"cv::arrowedLine(cv::Mat&, cv::Point
, cv::Point
, cv::Scalar
const&, int, int, int, double)", referenced from:
_rbind_cv_arrowedLine in operations.cc.o
"cv::bitwise_and(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_bitwise_and in operations.cc.o
"cv::bitwise_not(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_bitwise_not in operations.cc.o
"cv::bitwise_xor(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_bitwise_xor in operations.cc.o
"cv::cartToPolar(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, bool)", referenced from:
_rbind_cv_cartToPolar in operations.cc.o
"cv::compareHist(cv::_InputArray const&, cv::_InputArray const&, int)", referenced from:
_rbind_cv_compareHist in operations.cc.o
"cv::contourArea(cv::_InputArray const&, bool)", referenced from:
_rbind_cv_contourArea in operations.cc.o
"cv::convertMaps(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, bool)", referenced from:
rbind_cv_convertMaps in operations.cc.o
"cv::createCLAHE(double, cv::Size
)", referenced from:
_rbind_cv_createCLAHE in operations.cc.o
"cv::determinant(cv::_InputArray const&)", referenced from:
_rbind_cv_determinant in operations.cc.o
"cv::drawMatches(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint > const&, cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint > const&, std::__1::vector<cv::DMatch, std::1::allocatorcv::DMatch > const&, cv::Mat&, cv::Scalar const&, cv::Scalar const&, std::__1::vector<char, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_drawMatches in operations.cc.o
"cv::findNonZero(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_findNonZero in operations.cc.o
"cv::getTextSize(std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, int, double, int, int)", referenced from:
_rbind_cv_getTextSize in operations.cc.o
"cv::matMulDeriv(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_matMulDeriv in operations.cc.o
"cv::matchShapes(cv::_InputArray const&, cv::_InputArray const&, int, double)", referenced from:
_rbind_cv_matchShapes in operations.cc.o
"cv::minAreaRect(cv::_InputArray const&)", referenced from:
_rbind_cv_minAreaRect in operations.cc.o
"cv::mixChannels(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
_rbind_cv_mixChannels in operations.cc.o
"cv::namedWindow(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_namedWindow in operations.cc.o
"cv::polarToCart(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, bool)", referenced from:
_rbind_cv_polarToCart in operations.cc.o
"cv::sepFilter2D(cv::_InputArray const&, cv::_OutputArray const&, int, cv::_InputArray const&, cv::InputArray const&, cv::Point, double, int)", referenced from:
_rbind_cv_sepFilter2D in operations.cc.o
"cv::setIdentity(cv::OutputArray const&, cv::Scalar const&)", referenced from:
_rbind_cv_setIdentity in operations.cc.o
"cv::writeScalar(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
void cv::write<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in operations.cc.o
"cv::writeScalar(cv::FileStorage&, double)", referenced from:
void cv::write(cv::FileStorage&, double const&) in operations.cc.o
"cv::writeScalar(cv::FileStorage&, float)", referenced from:
void cv::write(cv::FileStorage&, float const&) in operations.cc.o
"cv::writeScalar(cv::FileStorage&, int)", referenced from:
void cv::write(cv::FileStorage&, int const&) in operations.cc.o
"cv::GFTTDetector::GFTTDetector(int, double, double, int, bool, double)", referenced from:
_rbind_cv_GFTTDetector_GFTTDetector in operations.cc.o
"cv::GaussianBlur(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int)", referenced from:
_rbind_cv_GaussianBlur in operations.cc.o
"cv::HoughCircles(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, double, double, int, int)", referenced from:
_rbind_cv_HoughCircles in operations.cc.o
"cv::KalmanFilter::correct(cv::Mat const&)", referenced from:
_rbind_cv_KalmanFilter_correct in operations.cc.o
"cv::KalmanFilter::predict(cv::Mat const&)", referenced from:
_rbind_cv_KalmanFilter_predict in operations.cc.o
"cv::KalmanFilter::KalmanFilter(int, int, int, int)", referenced from:
_rbind_cv_KalmanFilter_KalmanFilter2 in operations.cc.o
"cv::KalmanFilter::KalmanFilter()", referenced from:
_rbind_cv_KalmanFilter_KalmanFilter in operations.cc.o
"cv::StarDetector::StarDetector(int, int, int, int, int)", referenced from:
_rbind_cv_StarDetector_StarDetector in operations.cc.o
"cv::VideoCapture::VideoCapture(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_VideoCapture_VideoCapture2 in operations.cc.o
"cv::VideoCapture::VideoCapture(int)", referenced from:
_rbind_cv_VideoCapture_VideoCapture3 in operations.cc.o
"cv::VideoCapture::VideoCapture()", referenced from:
_rbind_cv_VideoCapture_VideoCapture in operations.cc.o
"cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from:
_rbind_cv_add in operations.cc.o
_rbind_cv_subtract in operations.cc.o
_rbind_cv_multiply in operations.cc.o
_rbind_cv_divide in operations.cc.o
_rbind_cv_divide2 in operations.cc.o
_rbind_cv_scaleAdd in operations.cc.o
_rbind_cv_addWeighted in operations.cc.o
...
"cv::_OutputArray::_OutputArray(std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat >&)", referenced from:
_rbind_cv_findContours in operations.cc.o
_rbind_cv_buildOpticalFlowPyramid in operations.cc.o
_rbind_cv_findDataMatrix in operations.cc.o
_rbind_cv_calibrateCamera in operations.cc.o
"cv::approxPolyDP(cv::_InputArray const&, cv::_OutputArray const&, double, bool)", referenced from:
_rbind_cv_approxPolyDP in operations.cc.o
"cv::boundingRect(cv::_InputArray const&)", referenced from:
_rbind_cv_boundingRect in operations.cc.o
"cv::completeSymm(cv::_OutputArray const&, bool)", referenced from:
_rbind_cv_completeSymm in operations.cc.o
"cv::cornerHarris(cv::_InputArray const&, cv::_OutputArray const&, int, int, double, int)", referenced from:
_rbind_cv_cornerHarris in operations.cc.o
"cv::cornerSubPix(cv::InputArray const&, cv::OutputArray const&, cv::Size, cv::Size, cv::TermCriteria)", referenced from:
_rbind_cv_cornerSubPix in operations.cc.o
"cv::countNonZero(cv::_InputArray const&)", referenced from:
_rbind_cv_countNonZero in operations.cc.o
"cv::drawContours(cv::OutputArray const&, cv::InputArray const&, int, cv::Scalar const&, int, int, cv::InputArray const&, int, cv::Point)", referenced from:
rbind_cv_drawContours in operations.cc.o
"cv::ellipse2Poly(cv::Point
, cv::Size
, int, int, int, int, std::_1::vectorcv::Point<int, std::_1::allocatorcv::Point >&)", referenced from:
_rbind_cv_ellipse2Poly in operations.cc.o
"cv::equalizeHist(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_equalizeHist in operations.cc.o
"cv::findContours(cv::_OutputArray const&, cv::_OutputArray const&, cv::OutputArray const&, int, int, cv::Point)", referenced from:
_rbind_cv_findContours in operations.cc.o
"cv::getThreadNum()", referenced from:
_rbind_cv_getThreadNum in operations.cc.o
"cv::getTickCount()", referenced from:
_rbind_cv_getTickCount in operations.cc.o
"cv::morphologyEx(cv::_InputArray const&, cv::OutputArray const&, int, cv::InputArray const&, cv::Point, int, int, cv::Scalar const&)", referenced from:
_rbind_cv_morphologyEx in operations.cc.o
"cv::mulSpectrums(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, int, bool)", referenced from:
rbind_cv_mulSpectrums in operations.cc.o
"cv::randShuffle
(cv::_OutputArray const&, double)", referenced from:
_rbind_cv_randShuffle in operations.cc.o
"cv::resizeWindow(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, int)", referenced from:
_rbind_cv_resizeWindow in operations.cc.o
"cv::useOptimized()", referenced from:
_rbind_cv_useOptimized in operations.cc.o
"cv::HOGDescriptor::getDaimlerPeopleDetector()", referenced from:
_rbind_cv_HOGDescriptor_getDaimlerPeopleDetector in operations.cc.o
"cv::HOGDescriptor::getDefaultPeopleDetector()", referenced from:
_rbind_cv_HOGDescriptor_getDefaultPeopleDetector in operations.cc.o
"cv::PCAComputeVar(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, double)", referenced from:
_rbind_cv_PCAComputeVar in operations.cc.o
"cv::applyColorMap(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_applyColorMap in operations.cc.o
"cv::batchDistance(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, int, cv::_OutputArray const&, int, int, cv::_InputArray const&, int, bool)", referenced from:
_rbind_cv_batchDistance in operations.cc.o
"cv::destroyWindow(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_destroyWindow in operations.cc.o
"cv::drawKeypoints(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::_1::allocatorcv::KeyPoint > const&, cv::Mat&, cv::Scalar const&, int)", referenced from:
_rbind_cv_drawKeypoints in operations.cc.o
"cv::getNumThreads()", referenced from:
rbind_cv_getNumThreads in operations.cc.o
"cv::getRectSubPix(cv::InputArray const&, cv::Size, cv::Point
, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_getRectSubPix in operations.cc.o
"cv::insertChannel(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_insertChannel in operations.cc.o
"cv::matchTemplate(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_matchTemplate in operations.cc.o
"cv::mulTransposed(cv::_InputArray const&, cv::_OutputArray const&, bool, cv::_InputArray const&, double, int)", referenced from:
_rbind_cv_mulTransposed in operations.cc.o
"cv::projectPoints(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, double)", referenced from:
_rbind_cv_projectPoints in operations.cc.o
"cv::segmentMotion(cv::_InputArray const&, cv::_OutputArray const&, std::_1::vector<cv::Rect, std::_1::allocatorcv::Rect >&, double, double)", referenced from:
_rbind_cv_segmentMotion in operations.cc.o
"cv::setNumThreads(int)", referenced from:
_rbind_cv_setNumThreads in operations.cc.o
"cv::stereoRectify(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::InputArray const&, cv::Size, cv::_InputArray const&, cv::_InputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, int, double, cv::Size, cv::Rect, cv::Rect)", referenced from:
_rbind_cv_stereoRectify in operations.cc.o
"cv::FaceRecognizer::update(cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_FaceRecognizer_update in operations.cc.o
"cv::PCABackProject(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_PCABackProject in operations.cc.o
"cv::chamerMatching(cv::Mat&, cv::Mat&, std::__1::vector<std::_1::vector<cv::Point, std::_1::allocatorcv::Point >, std::__1::allocatorstd::_1::vector<cv::Point<int, std::_1::allocatorcv::Point > > >&, std::__1::vector<float, std::__1::allocator >&, double, int, double, int, int, int, double, double, double, double)", referenced from:
_rbind_cv_chamerMatching in operations.cc.o
"cv::copyMakeBorder(cv::_InputArray const&, cv::OutputArray const&, int, int, int, int, int, cv::Scalar const&)", referenced from:
_rbind_cv_copyMakeBorder in operations.cc.o
"cv::correctMatches(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_correctMatches in operations.cc.o
"cv::extractChannel(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_extractChannel in operations.cc.o
"cv::fillConvexPoly(cv::_OutputArray const&, cv::InputArray const&, cv::Scalar const&, int, int)", referenced from:
_rbind_cv_fillConvexPoly in operations.cc.o
"cv::filterSpeckles(cv::_OutputArray const&, double, int, double, cv::_OutputArray const&)", referenced from:
_rbind_cv_filterSpeckles in operations.cc.o
"cv::findDataMatrix(cv::_InputArray const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > >&, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_findDataMatrix in operations.cc.o
"cv::findHomography(cv::_InputArray const&, cv::_InputArray const&, int, double, cv::_OutputArray const&)", referenced from:
rbind_cv_findHomography in operations.cc.o
"cv::getGaborKernel(cv::Size
, double, double, double, double, double, int)", referenced from:
_rbind_cv_getGaborKernel in operations.cc.o
"cv::getTrackbarPos(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_getTrackbarPos in operations.cc.o
"cv::phaseCorrelate(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_phaseCorrelate in operations.cc.o
"cv::setTrackbarPos(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_setTrackbarPos in operations.cc.o
"cv::solvePnPRansac(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, bool, int, float, int, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_solvePnPRansac in operations.cc.o
"cv::FeatureDetector::create(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_FeatureDetector_create in operations.cc.o
_rbind_cv_MSER_create in operations.cc.o
_rbind_cv_StarDetector_create in operations.cc.o
_rbind_cv_FastFeatureDetector_create in operations.cc.o
_rbind_cv_GFTTDetector_create in operations.cc.o
_rbind_cv_SimpleBlobDetector_create in operations.cc.o
_rbind_cv_GridAdaptedFeatureDetector_create in operations.cc.o
...
"cv::bilateralFilter(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, int)", referenced from:
_rbind_cv_bilateralFilter in operations.cc.o
"cv::calcBackProject(cv::_InputArray const&, std::__1::vector<int, std::__1::allocator > const&, cv::_InputArray const&, cv::_OutputArray const&, std::__1::vector<float, std::__1::allocator > const&, double)", referenced from:
_rbind_cv_calcBackProject in operations.cc.o
"cv::calcCovarMatrix(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, int)", referenced from:
_rbind_cv_calcCovarMatrix in operations.cc.o
"cv::calibrateCamera(cv::_InputArray const&, cv::InputArray const&, cv::Size, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, cv::TermCriteria)", referenced from:
_rbind_cv_calibrateCamera in operations.cc.o
"cv::convertScaleAbs(cv::_InputArray const&, cv::_OutputArray const&, double, double)", referenced from:
_rbind_cv_convertScaleAbs in operations.cc.o
"cv::findCirclesGrid(cv::InputArray const&, cv::Size, cv::_OutputArray const&, int, cv::Ptrcv::FeatureDetector const&)", referenced from:
_rbind_cv_findCirclesGrid in operations.cc.o
"cv::getCPUTickCount()", referenced from:
_rbind_cv_getCPUTickCount in operations.cc.o
"cv::getDerivKernels(cv::_OutputArray const&, cv::_OutputArray const&, int, int, int, bool, int)", referenced from:
_rbind_cv_getDerivKernels in operations.cc.o
"cv::getNumberOfCPUs()", referenced from:
_rbind_cv_getNumberOfCPUs in operations.cc.o
"cv::groupRectangles(std::_1::vector<cv::Rect, std::_1::allocatorcv::Rect >&, std::__1::vector<int, std::__1::allocator >&, int, double)", referenced from:
_rbind_cv_groupRectangles in operations.cc.o
"cv::isContourConvex(cv::_InputArray const&)", referenced from:
_rbind_cv_isContourConvex in operations.cc.o
"cv::preCornerDetect(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
_rbind_cv_preCornerDetect in operations.cc.o
"cv::setUseOptimized(bool)", referenced from:
_rbind_cv_setUseOptimized in operations.cc.o
"cv::stereoCalibrate(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::OutputArray const&, cv::Size, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::TermCriteria, int)", referenced from:
_rbind_cv_stereoCalibrate in operations.cc.o
"cv::undistortPoints(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_undistortPoints in operations.cc.o
"cv::warpPerspective(cv::_InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Size, int, int, cv::Scalar const&)", referenced from:
rbind_cv_warpPerspective in operations.cc.o
"cv::BOWKMeansTrainer::BOWKMeansTrainer(int, cv::TermCriteria const&, int, int)", referenced from:
rbind_cv_BOWKMeansTrainer_BOWKMeansTrainer in operations.cc.o
"cv::FileNodeIterator::FileNodeIterator(CvFileStorage const
, CvFileNode const
, unsigned long)", referenced from:
cv::FileNode::begin() const in operations.cc.o
cv::FileNode::end() const in operations.cc.o
"cv::FileNodeIterator::FileNodeIterator(cv::FileNodeIterator const&)", referenced from:
_rbind_cv_FileNodeIterator_operator_plusplus in operations.cc.o
_rbind_cv_FileNodeIterator_operator_minusminus in operations.cc.o
"cv::FileNodeIterator::operator--()", referenced from:
_rbind_cv_FileNodeIterator_operator_minusminus in operations.cc.o
"cv::FileNodeIterator::operator++()", referenced from:
_rbind_cv_FileNodeIterator_operator_plusplus in operations.cc.o
"cv::accumulateSquare(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_accumulateSquare in operations.cc.o
"cv::convexityDefects(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_convexityDefects in operations.cc.o
"cv::estimateAffine3D(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, double, double)", referenced from:
_rbind_cv_estimateAffine3D in operations.cc.o
"cv::getTickFrequency()", referenced from:
_rbind_cv_getTickFrequency in operations.cc.o
"cv::pointPolygonTest(cv::InputArray const&, cv::Point, bool)", referenced from:
_rbind_cv_pointPolygonTest in operations.cc.o
"cv::CascadeClassifier::load(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_CascadeClassifier_load in operations.cc.o
"cv::CascadeClassifier::CascadeClassifier(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_CascadeClassifier_CascadeClassifier2 in operations.cc.o
"cv::CascadeClassifier::CascadeClassifier()", referenced from:
_rbind_cv_CascadeClassifier_CascadeClassifier in operations.cc.o
"cv::DescriptorMatcher::match(cv::Mat const&, std::__1::vector<cv::DMatch, std::__1::allocatorcv::DMatch >&, std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat > const&)", referenced from:
_rbind_cv_DescriptorMatcher_match2 in operations.cc.o
_rbind_cv_BFMatcher_match2 in operations.cc.o
_rbind_cv_FlannBasedMatcher_match2 in operations.cc.o
"cv::DescriptorMatcher::create(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_DescriptorMatcher_create in operations.cc.o
_rbind_cv_BFMatcher_create in operations.cc.o
_rbind_cv_FlannBasedMatcher_create in operations.cc.o
"cv::DescriptorMatcher::knnMatch(cv::Mat const&, std::__1::vector<std::__1::vector<cv::DMatch, std::__1::allocatorcv::DMatch >, std::__1::allocator<std::__1::vector<cv::DMatch, std::__1::allocatorcv::DMatch > > >&, int, std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat > const&, bool)", referenced from:
_rbind_cv_DescriptorMatcher_knnMatch2 in operations.cc.o
_rbind_cv_BFMatcher_knnMatch2 in operations.cc.o
_rbind_cv_FlannBasedMatcher_knnMatch2 in operations.cc.o
"cv::FlannBasedMatcher::FlannBasedMatcher(cv::Ptrcv::flann::IndexParams const&, cv::Ptrcv::flann::SearchParams const&)", referenced from:
_rbind_cv_FlannBasedMatcher_FlannBasedMatcher in operations.cc.o
"cv::accumulateProduct(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_accumulateProduct in operations.cc.o
"cv::adaptiveThreshold(cv::_InputArray const&, cv::_OutputArray const&, double, int, int, int, double)", referenced from:
_rbind_cv_adaptiveThreshold in operations.cc.o
"cv::borderInterpolate(int, int, int)", referenced from:
_rbind_cv_borderInterpolate in operations.cc.o
"cv::calcOpticalFlowSF(cv::Mat&, cv::Mat&, cv::Mat&, int, int, int)", referenced from:
_rbind_cv_calcOpticalFlowSF in operations.cc.o
"cv::calcOpticalFlowSF(cv::Mat&, cv::Mat&, cv::Mat&, int, int, int, double, double, int, double, double, double, int, double, double, double)", referenced from:
_rbind_cv_calcOpticalFlowSF2 in operations.cc.o
"cv::cornerMinEigenVal(cv::_InputArray const&, cv::_OutputArray const&, int, int, int)", referenced from:
_rbind_cv_cornerMinEigenVal in operations.cc.o
"cv::destroyAllWindows()", referenced from:
_rbind_cv_destroyAllWindows in operations.cc.o
"cv::distanceTransform(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, int, int)", referenced from:
_rbind_cv_distanceTransformWithLabels in operations.cc.o
"cv::distanceTransform(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
_rbind_cv_distanceTransform in operations.cc.o
"cv::getGaussianKernel(int, double, int)", referenced from:
_rbind_cv_getGaussianKernel in operations.cc.o
"cv::getOptimalDFTSize(int)", referenced from:
_rbind_cv_getOptimalDFTSize in operations.cc.o
"cv::getWindowProperty(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_getWindowProperty in operations.cc.o
"cv::phaseCorrelateRes(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, double*)", referenced from:
_rbind_cv_phaseCorrelateRes in operations.cc.o
"cv::rectify3Collinear(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::InputArray const&, cv::Size, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, cv::OutputArray const&, double, cv::Size, cv::Rect, cv::Rect, int)", referenced from:
_rbind_cv_rectify3Collinear in operations.cc.o
"cv::setWindowProperty(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, double)", referenced from:
_rbind_cv_setWindowProperty in operations.cc.o
"cv::startWindowThread()", referenced from:
_rbind_cv_startWindowThread in operations.cc.o
"cv::triangulatePoints(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_triangulatePoints in operations.cc.o
"cv::validateDisparity(cv::_OutputArray const&, cv::_InputArray const&, int, int, int)", referenced from:
_rbind_cv_validateDisparity in operations.cc.o
"cv::SimpleBlobDetector::Params::Params()", referenced from:
_rbind_cv_SimpleBlobDetector_Params_Params in operations.cc.o
"cv::SimpleBlobDetector::SimpleBlobDetector(cv::SimpleBlobDetector::Params const&)", referenced from:
_rbind_cv_SimpleBlobDetector_SimpleBlobDetector in operations.cc.o
"cv::WriteStructContext::WriteStructContext(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point3 const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point3 const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Rect const&) in operations.cc.o
cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::Range const&) in operations.cc.o
...
"cv::WriteStructContext::~WriteStructContext()", referenced from:
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point3 const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Point3 const&) in operations.cc.o
void cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator > const&, cv::Rect const&) in operations.cc.o
cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::Range const&) in operations.cc.o
...
"cv::accumulateWeighted(cv::_InputArray const&, cv::_OutputArray const&, double, cv::_InputArray const&)", referenced from:
_rbind_cv_accumulateWeighted in operations.cc.o
"cv::calcMotionGradient(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, double, double, int)", referenced from:
_rbind_cv_calcMotionGradient in operations.cc.o
"cv::findFundamentalMat(cv::_InputArray const&, cv::_InputArray const&, int, double, double, cv::_OutputArray const&)", referenced from:
_rbind_cv_findFundamentalMat in operations.cc.o
"cv::getAffineTransform(cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_getAffineTransform in operations.cc.o
"cv::initCameraMatrix2D(cv::_InputArray const&, cv::InputArray const&, cv::Size, double)", referenced from:
_rbind_cv_initCameraMatrix2D in operations.cc.o
"cv::initModule_nonfree()", referenced from:
_rbind_cv_initModule_nonfree in operations.cc.o
"cv::minEnclosingCircle(cv::InputArray const&, cv::Point&, float&)", referenced from:
_rbind_cv_minEnclosingCircle in operations.cc.o
"cv::reprojectImageTo3D(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, bool, int)", referenced from:
_rbind_cv_reprojectImageTo3D in operations.cc.o
"cv::DescriptorExtractor::create(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_DescriptorExtractor_create in operations.cc.o
"cv::FastFeatureDetector::FastFeatureDetector(int, bool)", referenced from:
_rbind_cv_FastFeatureDetector_FastFeatureDetector in operations.cc.o
"cv::createHanningWindow(cv::OutputArray const&, cv::Size, int)", referenced from:
_rbind_cv_createHanningWindow in operations.cc.o
"cv::drawDataMatrixCodes(cv::_OutputArray const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, cv::_InputArray const&)", referenced from:
_rbind_cv_drawDataMatrixCodes in operations.cc.o
"cv::getBuildInformation()", referenced from:
rbind_cv_getBuildInformation in operations.cc.o
"cv::getRotationMatrix2D(cv::Point
, double, double)", referenced from:
_rbind_cv_getRotationMatrix2D in operations.cc.o
"cv::goodFeaturesToTrack(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, cv::_InputArray const&, int, bool, double)", referenced from:
_rbind_cv_goodFeaturesToTrack in operations.cc.o
"cv::updateMotionHistory(cv::_InputArray const&, cv::_OutputArray const&, double, double)", referenced from:
_rbind_cv_updateMotionHistory in operations.cc.o
"cv::calcOpticalFlowPyrLK(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::OutputArray const&, cv::Size, int, cv::TermCriteria, int, double)", referenced from:
_rbind_cv_calcOpticalFlowPyrLK in operations.cc.o
"cv::checkHardwareSupport(int)", referenced from:
_rbind_cv_checkHardwareSupport in operations.cc.o
"cv::fastNlMeansDenoising(cv::_InputArray const&, cv::OutputArray const&, float, int, int)", referenced from:
rbind_cv_fastNlMeansDenoising in operations.cc.o
"cv::getValidDisparityROI(cv::Rect
, cv::Rect
, int, int, int)", referenced from:
_rbind_cv_getValidDisparityROI in operations.cc.o
"cv::initWideAngleProjMap(cv::_InputArray const&, cv::InputArray const&, cv::Size, int, int, cv::_OutputArray const&, cv::_OutputArray const&, int, double)", referenced from:
_rbind_cv_initWideAngleProjMap in operations.cc.o
"cv::perspectiveTransform(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_perspectiveTransform in operations.cc.o
"cv::calcGlobalOrientation(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, double, double)", referenced from:
_rbind_cv_calcGlobalOrientation in operations.cc.o
"cv::drawChessboardCorners(cv::OutputArray const&, cv::Size, cv::_InputArray const&, bool)", referenced from:
_rbind_cv_drawChessboardCorners in operations.cc.o
"cv::findChessboardCorners(cv::InputArray const&, cv::Size, cv::OutputArray const&, int)", referenced from:
rbind_cv_findChessboardCorners in operations.cc.o
"cv::getStructuringElement(int, cv::Size
, cv::Point
)", referenced from:
_rbind_cv_getStructuringElement in operations.cc.o
"cv::intersectConvexConvex(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, bool)", referenced from:
_rbind_cv_intersectConvexConvex in operations.cc.o
"cv::invertAffineTransform(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_invertAffineTransform in operations.cc.o
"cv::pyrMeanShiftFiltering(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, cv::TermCriteria)", referenced from:
_rbind_cv_pyrMeanShiftFiltering in operations.cc.o
"cv::cornerEigenValsAndVecs(cv::_InputArray const&, cv::_OutputArray const&, int, int, int)", referenced from:
_rbind_cv_cornerEigenValsAndVecs in operations.cc.o
"cv::estimateRigidTransform(cv::_InputArray const&, cv::_InputArray const&, bool)", referenced from:
_rbind_cv_estimateRigidTransform in operations.cc.o
"cv::findCirclesGridDefault(cv::InputArray const&, cv::Size, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_findCirclesGridDefault in operations.cc.o
"cv::BackgroundSubtractorMOG::BackgroundSubtractorMOG(int, int, double, double)", referenced from:
_rbind_cv_BackgroundSubtractorMOG_BackgroundSubtractorMOG2 in operations.cc.o
"cv::BackgroundSubtractorMOG::BackgroundSubtractorMOG()", referenced from:
_rbind_cv_BackgroundSubtractorMOG_BackgroundSubtractorMOG in operations.cc.o
"cv::adaptiveBilateralFilter(cv::InputArray const&, cv::OutputArray const&, cv::Size, double, double, cv::Point, int)", referenced from:
_rbind_cv_adaptiveBilateralFilter in operations.cc.o
"cv::buildOpticalFlowPyramid(cv::_InputArray const&, cv::OutputArray const&, cv::Size, int, bool, int, int, bool)", referenced from:
rbind_cv_buildOpticalFlowPyramid in operations.cc.o
"cv::calibrationMatrixValues(cv::InputArray const&, cv::Size, double, double, double&, double&, double&, cv::Point
&, double&)", referenced from:
_rbind_cv_calibrationMatrixValues in operations.cc.o
"cv::getPerspectiveTransform(cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_getPerspectiveTransform in operations.cc.o
"cv::initUndistortRectifyMap(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::InputArray const&, cv::Size, int, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_initUndistortRectifyMap in operations.cc.o
"cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2(int, float, bool)", referenced from:
_rbind_cv_BackgroundSubtractorMOG2_BackgroundSubtractorMOG22 in operations.cc.o
"cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2()", referenced from:
_rbind_cv_BackgroundSubtractorMOG2_BackgroundSubtractorMOG2 in operations.cc.o
"cv::calcOpticalFlowFarneback(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, double, int, int, int, int, double, int)", referenced from:
_rbind_cv_calcOpticalFlowFarneback in operations.cc.o
"cv::createLBPHFaceRecognizer(int, int, int, int, double)", referenced from:
rbind_cv_createLBPHFaceRecognizer in operations.cc.o
"cv::BOWImgDescriptorExtractor::setVocabulary(cv::Mat const&)", referenced from:
rbind_cv_BOWImgDescriptorExtractor_setVocabulary in operations.cc.o
"cv::BOWImgDescriptorExtractor::compute(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat&, std::__1::vector<std::__1::vector<int, std::__1::allocator >, std::__1::allocator<std::__1::vector<int, std::__1::allocator > > >
, cv::Mat
)", referenced from:
cv::BOWImgDescriptorExtractor::compute2(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat&) in operations.cc.o
"cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor(cv::Ptrcv::DescriptorExtractor const&, cv::Ptrcv::DescriptorMatcher const&)", referenced from:
_rbind_cv_BOWImgDescriptorExtractor_BOWImgDescriptorExtractor in operations.cc.o
"cv::computeCorrespondEpilines(cv::_InputArray const&, int, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_computeCorrespondEpilines in operations.cc.o
"cv::createEigenFaceRecognizer(int, double)", referenced from:
_rbind_cv_createEigenFaceRecognizer in operations.cc.o
"cv::decomposeProjectionMatrix(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_decomposeProjectionMatrix in operations.cc.o
"cv::fastNlMeansDenoisingMulti(cv::_InputArray const&, cv::_OutputArray const&, int, int, float, int, int)", referenced from:
rbind_cv_fastNlMeansDenoisingMulti in operations.cc.o
"cv::getDefaultNewCameraMatrix(cv::InputArray const&, cv::Size, bool)", referenced from:
rbind_cv_getDefaultNewCameraMatrix in operations.cc.o
"cv::getOptimalNewCameraMatrix(cv::InputArray const&, cv::InputArray const&, cv::Size, double, cv::Size, cv::Rect
, bool)", referenced from:
_rbind_cv_getOptimalNewCameraMatrix in operations.cc.o
"cv::stereoRectifyUncalibrated(cv::_InputArray const&, cv::_InputArray const&, cv::InputArray const&, cv::Size, cv::_OutputArray const&, cv::_OutputArray const&, double)", referenced from:
_rbind_cv_stereoRectifyUncalibrated in operations.cc.o
"cv::GridAdaptedFeatureDetector::GridAdaptedFeatureDetector(cv::Ptrcv::FeatureDetector const&, int, int, int)", referenced from:
_rbind_cv_GridAdaptedFeatureDetector_GridAdaptedFeatureDetector in operations.cc.o
"cv::convertPointsToHomogeneous(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_convertPointsToHomogeneous in operations.cc.o
"cv::createFisherFaceRecognizer(int, double)", referenced from:
_rbind_cv_createFisherFaceRecognizer in operations.cc.o
"cv::fastNlMeansDenoisingColored(cv::_InputArray const&, cv::_OutputArray const&, float, float, int, int)", referenced from:
_rbind_cv_fastNlMeansDenoisingColored in operations.cc.o
"cv::convertPointsFromHomogeneous(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_convertPointsFromHomogeneous in operations.cc.o
"cv::PyramidAdaptedFeatureDetector::PyramidAdaptedFeatureDetector(cv::Ptrcv::FeatureDetector const&, int)", referenced from:
_rbind_cv_PyramidAdaptedFeatureDetector_PyramidAdaptedFeatureDetector in operations.cc.o
"cv::EM::EM(int, int, cv::TermCriteria const&)", referenced from:
_rbind_cv_EM_EM in operations.cc.o
"cv::fastNlMeansDenoisingColoredMulti(cv::_InputArray const&, cv::_OutputArray const&, int, int, float, float, int, int)", referenced from:
_rbind_cv_fastNlMeansDenoisingColoredMulti in operations.cc.o
"cv::LUT(cv::_InputArray const&, cv::_InputArray const&, cv::OutputArray const&, int)", referenced from:
rbind_cv_LUT in operations.cc.o
"cv::Mat::deallocate()", referenced from:
cv::Mat::release() in types.cc.o
cv::Mat::release() in operations.cc.o
"cv::Mat::eye(cv::Size
, int)", referenced from:
rbind_cv_Mat_eye2 in operations.cc.o
"cv::Mat::eye(int, int, int)", referenced from:
rbind_cv_Mat_eye in operations.cc.o
"cv::Mat::ones(cv::Size
, int)", referenced from:
rbind_cv_Mat_ones2 in operations.cc.o
"cv::Mat::ones(int, int, int)", referenced from:
rbind_cv_Mat_ones in operations.cc.o
"cv::Mat::zeros(cv::Size
, int)", referenced from:
rbind_cv_Mat_zeros2 in operations.cc.o
"cv::Mat::zeros(int, int, int)", referenced from:
rbind_cv_Mat_zeros in operations.cc.o
"cv::Mat::create(int, int const
, int)", referenced from:
cv::Mat::create(int, int, int) in operations.cc.o
"cv::Mat::copySize(cv::Mat const&)", referenced from:
cv::Mat::operator=(cv::Mat const&) in operations.cc.o
cv::Mat::Mat(cv::Mat const&) in operations.cc.o
"cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&)", referenced from:
rbind_cv_Mat_Mat9 in operations.cc.o
cv::Mat::row(int) const in operations.cc.o
cv::Mat::col(int) const in operations.cc.o
cv::Mat::rowRange(int, int) const in operations.cc.o
cv::Mat::rowRange(cv::Range const&) const in operations.cc.o
cv::Mat::colRange(int, int) const in operations.cc.o
cv::Mat::colRange(cv::Range const&) const in operations.cc.o
...
"cv::Mat::Mat(cv::Mat const&, cv::Rect
const&)", referenced from:
rbind_cv_Mat_Mat10 in operations.cc.o
cv::Mat::operator()(cv::Rect
const&) const in operations.cc.o
"cv::Mat::operator=(cv::Scalar
const&)", referenced from:
cv::Mat::Mat(cv::Size
, int, cv::Scalar const&) in operations.cc.o
cv::Mat::Mat(int, int, int, cv::Scalar const&) in operations.cc.o
"cv::ORB::ORB(int, float, int, int, int, int, int, int)", referenced from:
_rbind_cv_ORB_ORB in operations.cc.o
"cv::Ptr::delete_obj()", referenced from:
cv::Ptr::release() in types.cc.o
"cv::RNG::fill(cv::_OutputArray const&, int, cv::_InputArray const&, cv::_InputArray const&, bool)", referenced from:
_rbind_cv_RNG_fill in operations.cc.o
"cv::RNG::gaussian(double)", referenced from:
_rbind_cv_RNG_gaussian in operations.cc.o
"cv::abs(cv::Mat const&)", referenced from:
_rbind_cv_abs in operations.cc.o
"cv::add(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, int)", referenced from:
_rbind_cv_add in operations.cc.o
"cv::dct(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_dct in operations.cc.o
"cv::dft(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
_rbind_cv_dft in operations.cc.o
"cv::exp(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_exp in operations.cc.o
"cv::log(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_log in operations.cc.o
"cv::max(cv::Mat const&, cv::Mat const&, cv::Mat&)", referenced from:
_rbind_cv_max in operations.cc.o
"cv::min(cv::Mat const&, cv::Mat const&, cv::Mat&)", referenced from:
_rbind_cv_min in operations.cc.o
"cv::pow(cv::_InputArray const&, double, cv::_OutputArray const&)", referenced from:
_rbind_cv_pow in operations.cc.o
"cv::sum(cv::_InputArray const&)", referenced from:
_rbind_cv_sumElems in operations.cc.o
_rbind_cv_sum in operations.cc.o
"cv::MSER::MSER(int, int, int, double, double, int, double, double, int)", referenced from:
_rbind_cv_MSER_MSER in operations.cc.o
"cv::PSNR(cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_PSNR in operations.cc.o
"cv::SIFT::SIFT(int, int, double, double, double)", referenced from:
_rbind_cv_SIFT_SIFT in operations.cc.o
"cv::SURF::SURF(double, int, int, bool, bool)", referenced from:
_rbind_cv_SURF_SURF2 in operations.cc.o
"cv::SURF::SURF()", referenced from:
_rbind_cv_SURF_SURF in operations.cc.o
"cv::blur(cv::InputArray const&, cv::OutputArray const&, cv::Size, cv::Point, int)", referenced from:
_rbind_cv_blur in operations.cc.o
"cv::flip(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_flip in operations.cc.o
"cv::gemm(cv::_InputArray const&, cv::_InputArray const&, double, cv::_InputArray const&, double, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_gemm in operations.cc.o
"cv::idct(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_idct in operations.cc.o
"cv::idft(cv::InputArray const&, cv::OutputArray const&, int, int)", referenced from:
rbind_cv_idft in operations.cc.o
"cv::line(cv::Mat&, cv::Point
, cv::Point
, cv::Scalar
const&, int, int, int)", referenced from:
_rbind_cv_line in operations.cc.o
"cv::mean(cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_mean in operations.cc.o
"cv::norm(cv::_InputArray const&, cv::_InputArray const&, int, cv::_InputArray const&)", referenced from:
_rbind_cv_norm2 in operations.cc.o
"cv::norm(cv::_InputArray const&, int, cv::_InputArray const&)", referenced from:
_rbind_cv_norm in operations.cc.o
"cv::read(cv::FileNode const&, cv::Mat&, cv::Mat const&)", referenced from:
_rbind_cv_read_mat in operations.cc.o
void cv::operator>>cv::Mat(cv::FileNode const&, cv::Mat&) in operations.cc.o
"cv::sort(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_sort in operations.cc.o
"cv::sqrt(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_sqrt in operations.cc.o
"cv::BRISK::generateKernel(std::__1::vector<float, std::__1::allocator >&, std::__1::vector<int, std::__1::allocator >&, float, float, std::__1::vector<int, std::__1::allocator >)", referenced from:
_rbind_cv_BRISK_generateKernel in operations.cc.o
"cv::BRISK::BRISK(std::__1::vector<float, std::__1::allocator >&, std::__1::vector<int, std::__1::allocator >&, float, float, std::__1::vector<int, std::__1::allocator >)", referenced from:
_rbind_cv_BRISK_BRISK2 in operations.cc.o
"cv::BRISK::BRISK(int, int, float)", referenced from:
_rbind_cv_BRISK_BRISK in operations.cc.o
"cv::Canny(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, bool)", referenced from:
_rbind_cv_Canny in operations.cc.o
"cv::Sobel(cv::_InputArray const&, cv::OutputArray const&, int, int, int, int, double, double, int)", referenced from:
rbind_cv_Sobel in operations.cc.o
"cv::eigen(cv::InputArray const&, bool, cv::OutputArray const&, cv::OutputArray const&)", referenced from:
rbind_cv_eigen in operations.cc.o
"cv::erode(cv::InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Point, int, int, cv::Scalar const&)", referenced from:
rbind_cv_erode in operations.cc.o
"cv::error(cv::Exception const&)", referenced from:
cv::FileStorage& cv::operator<<(cv::FileStorage&, int const&) in operations.cc.o
cv::FileStorage& cv::operator<<(cv::FileStorage&, float const&) in operations.cc.o
cv::FileStorage& cv::operator<<(cv::FileStorage&, double const&) in operations.cc.o
cv::FileStorage& cv::operator<<<cv::Size
>(cv::FileStorage&, cv::Size
const&) in operations.cc.o
cv::FileStorage& cv::operator<<cv::Point(cv::FileStorage&, cv::Point const&) in operations.cc.o
cv::FileStorage& cv::operator<<cv::Point(cv::FileStorage&, cv::Point const&) in operations.cc.o
cv::FileStorage& cv::operator<<cv::Point3(cv::FileStorage&, cv::Point3 const&) in operations.cc.o
...
"cv::flann::IndexParams::~IndexParams()", referenced from:
_rbind_delete_cv_flann_IndexParams in types.cc.o
cv::Ptrcv::flann::IndexParams::delete_obj() in types.cc.o
cv::Ptrcv::flann::IndexParams::delete_obj() in operations.cc.o
"cv::flann::IndexParams::~IndexParams()", referenced from:
cv::flann::SearchParams::~SearchParams() in types.cc.o
cv::flann::SearchParams::~SearchParams() in operations.cc.o
"cv::flann::Index::Index(cv::_InputArray const&, cv::flann::IndexParams const&, cvflann::flann_distance_t)", referenced from:
_rbind_cv_flann_Index_Index2 in operations.cc.o
"cv::flann::Index::Index()", referenced from:
_rbind_cv_flann_Index_Index in operations.cc.o
"cv::merge(std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat > const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_merge in operations.cc.o
"cv::phase(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, bool)", referenced from:
_rbind_cv_phase in operations.cc.o
"cv::pyrUp(cv::_InputArray const&, cv::OutputArray const&, cv::Size const&, int)", referenced from:
_rbind_cv_pyrUp in operations.cc.o
"cv::randn(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_randn in operations.cc.o
"cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)", referenced from:
_rbind_cv_randu in operations.cc.o
"cv::remap(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::InputArray const&, int, int, cv::Scalar const&)", referenced from:
_rbind_cv_remap in operations.cc.o
"cv::solve(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_solve in operations.cc.o
"cv::split(cv::Mat const&, std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat >&)", referenced from:
_rbind_cv_split in operations.cc.o
"cv::trace(cv::_InputArray const&)", referenced from:
_rbind_cv_trace in operations.cc.o
"cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::Mat const&)", referenced from:
_rbind_cv_write_mat in operations.cc.o
cv::FileStorage& cv::operator<<cv::Mat(cv::FileStorage&, cv::Mat const&) in operations.cc.o
"cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
_rbind_cv_write_string in operations.cc.o
"cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, double)", referenced from:
_rbind_cv_write_double in operations.cc.o
cv::FileStorage& cv::operator<<(cv::FileStorage&, double const&) in operations.cc.o
"cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, float)", referenced from:
_rbind_cv_write_float in operations.cc.o
cv::FileStorage& cv::operator<<(cv::FileStorage&, float const&) in operations.cc.o
"cv::write(cv::FileStorage&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_write_int in operations.cc.o
cv::FileStorage& cv::operator<<(cv::FileStorage&, int const&) in operations.cc.o
"cv::KDTree::build(cv::_InputArray const&, cv::_InputArray const&, bool)", referenced from:
_rbind_cv_KDTree_build2 in operations.cc.o
"cv::KDTree::build(cv::_InputArray const&, bool)", referenced from:
_rbind_cv_KDTree_build in operations.cc.o
"cv::KDTree::KDTree(cv::_InputArray const&, cv::_InputArray const&, bool)", referenced from:
_rbind_cv_KDTree_KDTree3 in operations.cc.o
"cv::KDTree::KDTree(cv::_InputArray const&, bool)", referenced from:
_rbind_cv_KDTree_KDTree2 in operations.cc.o
"cv::KDTree::KDTree()", referenced from:
_rbind_cv_KDTree_KDTree in operations.cc.o
"cv::Scharr(cv::_InputArray const&, cv::OutputArray const&, int, int, int, double, double, int)", referenced from:
rbind_cv_Scharr in operations.cc.o
"cv::circle(cv::Mat&, cv::Point
, int, cv::Scalar
const&, int, int, int)", referenced from:
_rbind_cv_circle in operations.cc.o
"cv::dilate(cv::_InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Point, int, int, cv::Scalar const&)", referenced from:
_rbind_cv_dilate in operations.cc.o
"cv::divide(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, double, int)", referenced from:
_rbind_cv_divide in operations.cc.o
"cv::divide(double, cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_divide2 in operations.cc.o
"cv::imread(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
_rbind_cv_imread in operations.cc.o
"cv::imshow(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::_InputArray const&)", referenced from:
_rbind_cv_imshow in operations.cc.o
"cv::invert(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_invert in operations.cc.o
"cv::kmeans(cv::_InputArray const&, int, cv::_OutputArray const&, cv::TermCriteria, int, int, cv::_OutputArray const&)", referenced from:
_rbind_cv_kmeans in operations.cc.o
"cv::reduce(cv::_InputArray const&, cv::_OutputArray const&, int, int, int)", referenced from:
_rbind_cv_reduce in operations.cc.o
"cv::repeat(cv::_InputArray const&, int, int, cv::_OutputArray const&)", referenced from:
_rbind_cv_repeat in operations.cc.o
"cv::resize(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int)", referenced from:
_rbind_cv_resize in operations.cc.o
"cv::absdiff(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_absdiff in operations.cc.o
"cv::compare(cv::_InputArray const&, cv::InputArray const&, cv::OutputArray const&, int)", referenced from:
rbind_cv_compare in operations.cc.o
"cv::ellipse(cv::Mat&, cv::Point
, cv::Size
, double, double, double, cv::Scalar
const&, int, int, int)", referenced from:
rbind_cv_ellipse in operations.cc.o
"cv::ellipse(cv::Mat&, cv::RotatedRect const&, cv::Scalar
const&, int, int)", referenced from:
_rbind_cv_ellipse2 in operations.cc.o
"cv::fitLine(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, double)", referenced from:
_rbind_cv_fitLine in operations.cc.o
"cv::grabCut(cv::_InputArray const&, cv::OutputArray const&, cv::Rect, cv::_OutputArray const&, cv::_OutputArray const&, int, int)", referenced from:
_rbind_cv_grabCut in operations.cc.o
"cv::hconcat(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_hconcat in operations.cc.o
"cv::imwrite(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::_InputArray const&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
_rbind_cv_imwrite in operations.cc.o
"cv::inRange(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_inRange in operations.cc.o
"cv::inpaint(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, double, int)", referenced from:
_rbind_cv_inpaint in operations.cc.o
"cv::moments(cv::_InputArray const&, bool)", referenced from:
_rbind_cv_moments in operations.cc.o
"cv::polyfit(cv::Mat const&, cv::Mat const&, cv::Mat&, int)", referenced from:
_rbind_cv_polyfit in operations.cc.o
"cv::putText(cv::Mat&, std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > const&, cv::Point, int, double, cv::Scalar, int, int, bool)", referenced from:
_rbind_cv_putText in operations.cc.o
"cv::pyrDown(cv::_InputArray const&, cv::OutputArray const&, cv::Size const&, int)", referenced from:
_rbind_cv_pyrDown in operations.cc.o
"cv::sortIdx(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_sortIdx in operations.cc.o
"cv::vconcat(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_vconcat in operations.cc.o
"cv::waitKey(int)", referenced from:
_rbind_cv_waitKey in operations.cc.o
"cv::CamShift(cv::InputArray const&, cv::Rect&, cv::TermCriteria)", referenced from:
_rbind_cv_CamShift in operations.cc.o
"cv::KeyPoint::convert(std::_1::vector<cv::Point, std::_1::allocatorcv::Point > const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, float, float, int, int)", referenced from:
_rbind_cv_KeyPoint_convert2 in operations.cc.o
"cv::KeyPoint::convert(std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint > const&, std::_1::vector<cv::Point, std::_1::allocatorcv::Point >&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
_rbind_cv_KeyPoint_convert in operations.cc.o
"cv::SVDecomp(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_SVDecomp in operations.cc.o
"cv::StereoBM::StereoBM(int, int, int)", referenced from:
_rbind_cv_StereoBM_StereoBM2 in operations.cc.o
"cv::StereoBM::StereoBM()", referenced from:
_rbind_cv_StereoBM_StereoBM in operations.cc.o
"cv::StereoBM::operator()(cv::_InputArray const&, cv::InputArray const&, cv::OutputArray const&, int)", referenced from:
rbind_cv_StereoBM_compute in operations.cc.o
"cv::Subdiv2D::findNearest(cv::Point
, cv::Point
)", referenced from:
rbind_cv_Subdiv2D_findNearest in operations.cc.o
"cv::Subdiv2D::initDelaunay(cv::Rect
)", referenced from:
_rbind_cv_Subdiv2D_initDelaunay in operations.cc.o
"cv::Subdiv2D::getVoronoiFacetList(std::__1::vector<int, std::__1::allocator > const&, std::__1::vector<std::_1::vector<cv::Point, std::_1::allocatorcv::Point >, std::__1::allocatorstd::_1::vector<cv::Point<float, std::_1::allocatorcv::Point > > >&, std::_1::vectorcv::Point<float, std::_1::allocatorcv::Point >&)", referenced from:
rbind_cv_Subdiv2D_getVoronoiFacetList in operations.cc.o
"cv::Subdiv2D::insert(cv::Point
)", referenced from:
_rbind_cv_Subdiv2D_insert in operations.cc.o
"cv::Subdiv2D::insert(std::_1::vector<cv::Point, std::_1::allocatorcv::Point > const&)", referenced from:
rbind_cv_Subdiv2D_insert2 in operations.cc.o
"cv::Subdiv2D::locate(cv::Point
, int&, int&)", referenced from:
rbind_cv_Subdiv2D_locate in operations.cc.o
"cv::Subdiv2D::Subdiv2D(cv::Rect
)", referenced from:
_rbind_cv_Subdiv2D_Subdiv2D2 in operations.cc.o
"cv::Subdiv2D::Subdiv2D()", referenced from:
_rbind_cv_Subdiv2D_Subdiv2D in operations.cc.o
"cv::calcHist(cv::_InputArray const&, std::__1::vector<int, std::__1::allocator > const&, cv::_InputArray const&, cv::_OutputArray const&, std::__1::vector<int, std::__1::allocator > const&, std::__1::vector<float, std::1::allocator > const&, bool)", referenced from:
rbind_cv_calcHist in operations.cc.o
"cv::clipLine(cv::Rect
, cv::Point
&, cv::Point
&)", referenced from:
_rbind_cv_clipLine in operations.cc.o
"cv::cubeRoot(float)", referenced from:
_rbind_cv_cubeRoot in operations.cc.o
"cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
rbind_cv_cvtColor in operations.cc.o
"cv::fastFree(void
)", referenced from:
cv::Ptrcv::FaceRecognizer::release() in types.cc.o
cv::Ptrcv::flann::SearchParams::release() in types.cc.o
cv::Ptrcv::flann::IndexParams::release() in types.cc.o
cv::Ptrcv::DescriptorMatcher::release() in types.cc.o
cv::Ptrcv::Feature2D::release() in types.cc.o
cv::Ptrcv::DescriptorExtractor::release() in types.cc.o
cv::Ptrcv::FeatureDetector::release() in types.cc.o
...
"cv::fillPoly(cv::OutputArray const&, cv::InputArray const&, cv::Scalar const&, int, int, cv::Point)", referenced from:
_rbind_cv_fillPoly in operations.cc.o
"cv::filter2D(cv::_InputArray const&, cv::_OutputArray const&, int, cv::InputArray const&, cv::Point, double, int)", referenced from:
_rbind_cv_filter2D in operations.cc.o
"cv::imdecode(cv::_InputArray const&, int)", referenced from:
_rbind_cv_imdecode in operations.cc.o
"cv::imencode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::_InputArray const&, std::__1::vector<unsigned char, std::__1::allocator >&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
_rbind_cv_imencode in operations.cc.o
"cv::integral(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_integral3 in operations.cc.o
"cv::integral(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_integral2 in operations.cc.o
"cv::integral(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
_rbind_cv_integral in operations.cc.o
"cv::multiply(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, double, int)", referenced from:
_rbind_cv_multiply in operations.cc.o
"cv::scaleAdd(cv::_InputArray const&, double, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
_rbind_cv_scaleAdd in operations.cc.o
"cv::solvePnP(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, bool, int)", referenced from:
_rbind_cv_solvePnP in operations.cc.o
"cv::subtract(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, int)", referenced from:
_rbind_cv_subtract in operations.cc.o
"cv::Algorithm::setAlgorithm(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cv::Ptrcv::Algorithm const&)", referenced from:
_rbind_cv_FeatureDetector_setAlgorithm in operations.cc.o
_rbind_cv_Algorithm_setAlgorithm in operations.cc.o
_rbind_cv_CLAHE_setAlgorithm in operations.cc.o
_rbind_cv_BackgroundSubtractor_setAlgorithm in operations.cc.o
_rbind_cv_BackgroundSubtractorMOG_setAlgorithm in operations.cc.o
_rbind_cv_BackgroundSubtractorMOG2_setAlgorithm in operations.cc.o
_rbind_cv_DescriptorExtractor_setAlgorithm in operations.cc.o
...
"cv::Algorithm::setMatVector(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::vector<cv::Mat, std::__1::allocatorcv::Mat > const&)", referenced from:
_rbind_cv_FeatureDetector_setMatVector in operations.cc.o
_rbind_cv_Algorithm_setMatVector in operations.cc.o
_rbind_cv_CLAHE_setMatVector in operations.cc.o
_rbind_cv_BackgroundSubtractor_setMatVector in operations.cc.o
_rbind_cv_BackgroundSubtractorMOG_setMatVector in operations.cc.o
_rbind_cv_BackgroundSubtractorMOG2_setMatVector in operations.cc.o
_rbind_cv_DescriptorExtractor_setMatVector in operations.cc.o
...
"cv::Algorithm::setInt(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator

Pixel by pixel processing

What is the most efficient method for pixel by pixel processing/manipulation using ropencv? With the C++ interface this could be done use ptr function on Mat or an cv::Mat_<cv::Vec3b>::iterator. Thank you for you help.

let's try to run it on heroku ;)

not an issue, more a feature request

what would be the steps to install your bindings on a machine, that

  • does not allow you to install anything the usual way ( you're not root, there's no apt-get or anything, and no, you're not allowed to install anything to /usr/lib, /usr/local or similar, so the gem install ropencv just won't work )
  • you only got curl, git, and g++ at your hands (well , yikes, that means building even cmake from scratch..).

again, imho, you're doing great, take this more as an additional sportive challenge ;)

(and again, - while most of opencv requirements pretty much assume, you own the machine, ruby, being more a web-dev language might challenge that idea, no ?)

Mat constructors missing

Several of the constructors for Mat are missing.

For example, an important prototype used for cropping images is Mat::Mat(const Mat& m, const Rect& roi), which yields the error:

[8] pry(main)> mat_crop = OpenCV::Cv::Mat.new(mat, rect)
ArgumentError: no constructor for OpenCV::Cv::Mat([#<OpenCV::Cv::Mat:0x007fd9a620edb0 @__obj_ptr__=#<OpenCV::Cv::MatStruct:0x007fd9a620e9a0>>, #<OpenCV::Cv::Rect:0x007fd9a613cdd8 @__obj_ptr__=#<OpenCV::Cv::RectStruct:0x007fd9a613ccc0>>])

Attempting to construct a Mat using the prototype Mat::Mat(const Mat& m, const Range& rowRange, const Range& colRange=Range::all() ) yields

[13] pry(main)> mat_crop = OpenCV::Cv::Mat.new(mat, row_range, col_range) 
ArgumentError: no constructor for OpenCV::Cv::Mat([#<OpenCV::Cv::Mat:0x007fd9a620edb0  @__obj_ptr__=#<OpenCV::Cv::MatStruct:0x007fd9a620e9a0>>, #<OpenCV::Cv::Range:0x007fd9a51eeae8 @__obj_ptr__=#<OpenCV::Cv::RangeStruct:0x007fd9a51ee098>>, #<OpenCV::Cv::Range:0x007fd9a4e2c298 @__obj_ptr__=#<OpenCV::Cv::RangeStruct:0x007fd9a4e276a8>>])

HoughCircles parameter incorrect

based on the documentation, i think that Circles is supposed to be a vector

circles โ€“ Output vector of found circles. Each vector is encoded as a 3-element floating-point vector (x, y, radius) .

fitting it to
cv.HoughCircles void
Mat image
Mat circles /O
int method
double dp
double minDist
double param1 100
double param2 100
int minRadius 0
int maxRadius 0

i get an error that the content doesn't type doesn't match or an error that the content is wrong.

circles.size if a ptr if you set it up as Mat,

of course i could just be confused as how to translate vector circles to ruby

my code

def test_hough
hough_circles 'public/g/edit_images/stuff.jpg'
end

def hough_circles(img_name)
#Mat src, src_gray

#/ Read the image
src = cv::imread(img_name, 1)

return -1 unless src.data
src_gray=src
#/ Convert it to gray
cv::cvtColor(src, src_gray, CV_BGR2GRAY)

#/ Reduce the noise so we avoid false circle detection
arraysize=cv::Size.new
arraysize.width=9
arraysize.height=9
cv::GaussianBlur(src_gray, src_gray, arraysize, 2, 2)

arraysize.width=3
arraysize.height=1
circles=cv::Mat.new(arraysize,cv::CV_64F)

#circles=Vector::Mat.new
#Vector(3,1,cv::CV_64F)

#/ Apply the Hough Transform to find the circles

cv::HoughCircles(src_gray, circles, CV_HOUGH_GRADIENT, 1, src_gray.rows/8, 200, 100, 0, 0)

#/ Draw the circles detected

(0..circles.size).each do |i|
Point center(cvRound(circles[i][0]), cvRound(circles[i][1]))
radius = cvRound(circles[i][2])
# circle center
circle(src, center, 3, Scalar(0, 255, 0), -1, 8, 0)
# circle outline
circle(src, center, radius, Scalar(0, 0, 255), 3, 8, 0)
end

#/ Show your results
namedWindow("Hough Circle Transform Demo", cv::CV_WINDOW_AUTOSIZE)
imshow("Hough Circle Transform Demo", src)

end

haar cascade classifiers :: private method `load' called for OpenCV::Cv::CascadeClassifier:Class (NoMethodError)

Hi,

congrats on the project, I am using ruby-opencv but wanted to give this gem a go.

I am loosing following this tutorial:
http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier

require 'ropencv'
include OpenCV
face_cascade_name = "haarcascade_frontalface_alt_tree.xml"
face_cascade = cv::CascadeClassifier
face_cascade.load(face_cascade_name)

and I am getting:
run.rb:5:in <main>': private methodload' called for OpenCV::Cv::CascadeClassifier:Class (NoMethodError)

cv::find_contours struggling with input

I'm struggling with cv::find_contours and it's quite likely that I do not know how to construct the expected input params. Help for a noob would be most appreciated.

I have:

thresh = cv::Mat.new
cv::threshold(gray_blue, thresh, 10, 255, cv::THRESH_BINARY)

...which makes a nice binary image for me from my gray_blue Mat and then:

contours = Vector.new(Vector.new(cv::Point))
hierarchy = cv::Vec4i.new
cv::find_contours(thresh, contours, hierarchy, cv::RETR_TREE, cv::CHAIN_APPROX_SIMPLE)

...but this fails with an ArgumentError. I'm assuming it's because of how I'm creating/passing contours or hierarchy. What's the correct way to make these to pass them into the findContours method?

Creating a feature detector with parameters?

I'm trying to figure out how to create GoodFeaturesToTrackDetector but be able to specify the parameters it takes.

Going off the C++ documentation:

GoodFeaturesToTrackDetector( const GoodFeaturesToTrackDetector::Params& params=
                                            GoodFeaturesToTrackDetector::Params() );
    GoodFeaturesToTrackDetector( int maxCorners, double qualityLevel,
                                 double minDistance, int blockSize=3,
                                 bool useHarrisDetector=false, double k=0.04 );

It would seem we can do this but I cannot figure out how rbopencv is binding this properly.

I've tried:

cv::GoodFeaturesToTrackDetector.new
cv::FeatureDetector::GoodFeaturesToTrackDetector.new

But no luck.

Thanks!

Several examples not working

Thanks for fixing the gem installation.

I've now installed the gem and am getting the following errors when running the examples. Not sure what I'm doing wrong?

Steve

ruby-2.1.4@ropencv [Steve@SiMac5K] examples $ ruby match_keypoints.rb
/Users/Steve/.rvm/gems/ruby-2.1.4@ropencv/gems/ropencv-0.0.21/lib/ropencv/ropencv_types.rb:22499:in create': wrong number of arguments (0 for 1) (ArgumentError) from match_keypoints.rb:13:in

'

ruby-2.1.4@ropencv [Steve@SiMac5K] examples $ ruby video2images.rb
/Users/Steve/.rvm/gems/ruby-2.1.4@ropencv/gems/ropencv-0.0.21/lib/ropencv/ropencv_types.rb:29642:in new': no constructor for OpenCV::Cv::VideoCapture([nil]) (ArgumentError) from video2images.rb:6:in

'

ruby-2.1.4@ropencv [Steve@SiMac5K] examples $ ruby hough_circles.rb
hough_circles.rb:9:in `

': uninitialized constant OpenCV::Cv::HOUGH_GRADIENT (NameError)

Works only with opencv v2.4.9

I've tried to run examples with 2.4.8, 2.4.10 and 3.0.0 (trunk), and match_keypoints.rb example didn't worked for those versions. 2.4.8 and 3.0.0 related to #26 and 2.4.10 isn't supported at all.

unable to resolve type 'uint32_t'

I'm running OS X mavericks. I'm installing from the latest source - although I had to modify the gem spec to remove the reference to ["lib/ropencv/ropencv_types.rb","lib/ropencv/ropencv_ruby.rb"] or it wouldn't build.

Installing works ok, but when I try to include OpenCV I get the following error:

/Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ffi-1.9.3/lib/ffi/types.rb:70:in `find_type': unable to resolve type 'uint32_t' (TypeError)
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ffi-1.9.3/lib/ffi/library.rb:496:in `find_type'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ffi-1.9.3/lib/ffi/library.rb:227:in `block in attach_function'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ffi-1.9.3/lib/ffi/library.rb:227:in `map'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ffi-1.9.3/lib/ffi/library.rb:227:in `attach_function'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv/ropencv.rb:32:in `attach_function'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv/ropencv.rb:489:in `<module:Rbind>'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv/ropencv.rb:8:in `<module:OpenCV>'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv/ropencv.rb:6:in `<top (required)>'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv.rb:1:in `require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/ropencv-0.0.15/lib/ropencv.rb:1:in `<top (required)>'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `each'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `block in require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `each'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/bundler-1.5.1/lib/bundler.rb:131:in `require'
    from /Users/theodore/projects/---/trunk/---/config/application.rb:7:in `<top (required)>'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.12/lib/rails/commands.rb:39:in `require'
    from /Users/theodore/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.12/lib/rails/commands.rb:39:in `<top (required)>'

Thanks in advance!

Accessing shape off Mat

How do you access the shape off of an image?

image = OpenCV.cv.imread('/to/my/file.png')
puts image.shape

The above throws:

undefined method `shape' for #<OpenCV::Cv::Mat:0x007fc4f6c082e0>

cv::Ptr is empty

On running the ruby find_keypoints.rb there are raisen an exception:

`method_missing': Ptr cv::Ptr is empty. Cannot call detect on it! (RuntimeError)
    from find_keypoints.rb:9:in `<main>'

OpenCV version:

pkg-config --modversion opencv
2.4.8

Cannot install on Mavericks + Homebrew

Got OpenCV 2.4.8.2 installed with Homebrew and then tried to install the gem:

Building native extensions with: '--with-opencv-dir=/usr/local/Cellar/opencv/2.4.8.2'
This could take a while...
ERROR:  Error installing ropencv:
    ERROR: Failed to build gem native extension.

    /usr/local/var/rbenv/versions/2.1.0/bin/ruby extconf.rb --with-opencv-dir=/usr/local/Cellar/opencv/2.4.8.2
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28") 
-- checking for module 'opencv'
--   found opencv, version 2.4.8.2
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/ropencv-0.0.14/ext

make "DESTDIR=" clean

make "DESTDIR="
[ 25%] Generating types.cc, operations.cc, conversions.cc
/usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/ropencv-0.0.14/ext/helper.rb:121:in `find_opencv': OpenCV version 2.4.8.2 is not supported (RuntimeError)
    from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/ropencv-0.0.14/ext/src/../rbind.rb:6:in `<main>'
make[2]: *** [src/types.cc] Error 1
make[1]: *** [src/CMakeFiles/rbind_opencv.dir/all] Error 2
make: *** [all] Error 2

make failed, exit code 2

Gem files will remain installed in /usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/ropencv-0.0.14 for inspection.
Results logged to /usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/ropencv-0.0.14/gem_make.out

compilation error

Hi,
I'm using ruby 2.7.1 and opencv 4.2.0.

On executing 'gem install ropencv' I get the following error:

Rbind: found opencv 4.2.0

/home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ropencv-0.0.32/ext/helper.rb:85: warning: deprecated Object#=~ is called on FalseClass; it always returns nil
/home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ropencv-0.0.32/ext/helper.rb:85: warning: deprecated Object#=~ is called on FalseClass; it always returns nil
/home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ropencv-0.0.32/ext/helper.rb:85: warning: deprecated Object#=~ is called on FalseClass; it always returns nil
ignore: parent class cv::class which is invalid for 
ignore: class Feature2D cannot be parent class of itself
ignore: parent class Algorithm was added multiple time to class Feature2D
Parsing Error: input line 7890: cv::ShapeContextDistanceExtractor has no type called Ptr<ShapeTransformer>
Line 7889:
--------------------------------------------------
cv.ShapeContextDistanceExtractor.setTransformAlgorithm void /V;/PV
    Ptr_ShapeTransformer transformer 
--------------------------------------------------
Traceback (most recent call last):
	10: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ropencv-0.0.32/ext/src/../rbind.rb:63:in `<main>'
	 9: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/rbind.rb:99:in `parse_headers'
	 8: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:374:in `parse'
	 7: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:374:in `each'
	 6: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:386:in `block in parse'
	 5: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:349:in `parse_operation'
	 4: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:349:in `map'
	 3: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:350:in `block in parse_operation'
	 2: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:95:in `parameter'
	 1: from /home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/default_parser.rb:85:in `find_type'
/home/znow/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rbind-0.0.33/lib/rbind/core/rnamespace.rb:489:in `type': cv::ShapeContextDistanceExtractor has no type called Ptr<ShapeTransformer> (RuntimeError)

I appreciate any hint.

regards,
Andy

Problem installing from gem

There is a problem installing gem in two cases: a) from rubygems and b) from GitHub source on OSX Maverick with Clang 5.0 and OpenCV 2.4.7

In a) case it says that opencv 2.4.7 is not supported. Looks like the gem is simply not updated, while master on GitHub solved it (updating \ext\helper.rb).

In b) case two things

  1. 'lib\ropencv\ropencv_types.rb' is missing, while gemspec references to it
  2. while installing it throws several errors of "expected ';' after top level declarator".

The moment is
Scanning dependencies of target rbind_opencv
[ 50%] Building CXX object src/CMakeFiles/rbind_opencv.dir/types.cc.o
[ 75%] Building CXX object src/CMakeFiles/rbind_opencv.dir/operations.cc.o

One of examples is
/ruby-2.0.0-p353@img-processing/gems/ropencv-0.0.12/ext/src/operations.h:1226:67: error: expected ';' after top level declarator
rbind_cv_FileNodeIterator* rbind_cv_FileNodeIterator_operator_plus+(rbind_cv_FileNodeIterator* rbind_obj);

UPD.

  1. Tried to build gem manually, running extconf.rb and rbind.rb manually - all works fine. But when running tests raise error at the same place. Suppose the problem in handling plus+ and minus-

  2. Adjusting helper.rb in release published on rubygems.org to accept opencv 2.4.7. Everything works fine and passes all the tests without error. So high chances problem arise due to changes in source after publishing to rubygems.org

rbind parse error

Bundle install gives:

Parsing Error: 5876: cannot parse cv.DescriptorMatcher.Ptr < DescriptorMatcher > clone CV_NODISCARD_STD /C /PV
    bool emptyTrainData false
Line 5876:
--------------------------------------------------
cv.DescriptorMatcher.Ptr < DescriptorMatcher > clone CV_NODISCARD_STD /C;/PV
    bool emptyTrainData false
--------------------------------------------------
make[2]: *** [src/types.cc] Error 1
make[1]: *** [src/CMakeFiles/rbind_opencv.dir/all] Error 2
make: *** [all] Error 2

make failed, exit code 2

I tried ruby 2.7.5 and 3.1.0. Using opencv 4.5.4 on Mac.

Some examples from 'Examples' folder are not working

  1. file_storage.rb
    throws "undefined method `<<' for #OpenCV::Cv::FileStorage:0x007f8ee6031318"

  2. find_homography
    throws error "undefined method `_' for #OpenCV::Cv::Point2f:0x007fd97caccaf8"
    Replacing "pt_0.2" with simple "pt" allows to run example successfully

All the rest - works fine. Thanks for great wrapper!

Open CV 3 support

Just wondering if the ropencv gem supports Open CV 3? There are KAZE and AKAZE in there which is useful as SURF/SIFT are patented.

From what I can see currently only OpenCV 2.4.11 is supported.

Am a bit new to this so apologies if I'm asking a stupid question!

Steve

Not working with OpenCV 4.1.1

sudo gem install ropencv

gives error

make "DESTDIR=" [ 20%] Generating types.cc, operations.cc, conversions.cc Rbind: found opencv 4.1.1 /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:109:in rescue in parameter': input line 7900: cv::ShapeContextDistanceExtractor has no type called Ptr (RuntimeError)
from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:88:in parameter' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:349:in block in parse_operation'
from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:348:in map' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:348:in parse_operation'
from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:385:in block in parse' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:373:in each'
from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:373:in parse' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/rbind.rb:99:in parse_headers'
from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/ropencv-0.0.32/ext/src/../rbind.rb:63:in <main>' ignore: parent class cv::class which is invalid for ignore: class Feature2D cannot be parent class of itself ignore: parent class Algorithm was added multiple time to class Feature2D Parsing Error: input line 7900: cv::ShapeContextDistanceExtractor has no type called Ptr<ShapeTransformer> Line 7899:

can you help? WHA's wrong?

Error in installing ropencv gem

gem install ropencv
Building native extensions. This could take a while...
ERROR: Error installing ropencv:
ERROR: Failed to build gem native extension.

/Users/sarthak/.rbenv/versions/2.1.2/bin/ruby extconf.rb

-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'opencv'
-- found opencv, version 2.4.8.2
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext

make "DESTDIR=" clean

make "DESTDIR="
[ 25%] Generating types.cc, operations.cc, conversions.cc
Rbind: A const with the name cv::Mat::MAGIC_VAL already exists
Rbind: A const with the name cv::Mat::AUTO_STEP already exists
Rbind: A const with the name cv::Mat::CONTINUOUS_FLAG already exists
Rbind: A const with the name cv::Mat::SUBMATRIX_FLAG already exists
Rbind: A const with the name CV_ITERATIVE already exists
Rbind: A const with the name CV_EPNP already exists
Rbind: A const with the name CV_P3P already exists
Rbind: A const with the name CV_WND_PROP_FULLSCREEN already exists
Rbind: A const with the name CV_WND_PROP_AUTOSIZE already exists
Rbind: A const with the name CV_WND_PROP_OPENGL already exists
Rbind: A const with the name CV_WINDOW_NORMAL already exists
Rbind: A const with the name CV_WINDOW_AUTOSIZE already exists
Rbind: A const with the name CV_WINDOW_OPENGL already exists
Rbind: A const with the name CV_WINDOW_FULLSCREEN already exists
Rbind: A const with the name CV_WINDOW_FREERATIO already exists
Rbind: A const with the name CV_WINDOW_KEEPRATIO already exists
Scanning dependencies of target rbind_opencv
[ 50%] Building CXX object src/CMakeFiles/rbind_opencv.dir/types.cc.o
[ 75%] Building CXX object src/CMakeFiles/rbind_opencv.dir/operations.cc.o
[100%] Building CXX object src/CMakeFiles/rbind_opencv.dir/conversions.cc.o
Linking CXX shared library librbind_opencv.dylib
[100%] Built target rbind_opencv

make "DESTDIR=" install
[100%] Built target rbind_opencv
Install the project...
-- Install configuration: ""
-- Installing: /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext/src/../../lib/librbind_opencv.dylib
-- Installing: /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext/src/../../include/types.h
-- Installing: /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext/src/../../include/operations.h
-- Installing: /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext/src/../../include/conversions.hpp
CMake Error at src/cmake_install.cmake:76 (FILE):
file INSTALL cannot find
"/Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18/ext/src/extern.rbind".
Call Stack (most recent call first):
cmake_install.cmake:32 (INCLUDE)

make: *** [install] Error 1

make install failed, exit code 2

Gem files will remain installed in /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ropencv-0.0.18 for inspection.
Results logged to /Users/sarthak/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/ropencv-0.0.18/gem_make.out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.