ropencv
ropencv copied to clipboard
ffi ruby wrapper for opencv
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/`](https://github.com/D-Alex/ropencv/blob/master/ext/helper.rb#L84C9-L84C92) Error message:...
Bumps [ffi](https://github.com/ffi/ffi) from 1.9.8 to 1.15.5. Changelog Sourced from ffi's changelog. 1.15.5 / 2022-01-10 Fixed: Fix long double argument or return values on 32bit i686. #849 FFI::ConstGenerator: avoid usage of...
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...
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...
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...
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...
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...
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...
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...
Instantiating a new `FlannBasedMatcher`: ``` ruby 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...