RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Detecting duplicate images with Ruby

Phashion is a Ruby wrapper around the pHash library, an API for detecting duplicate and near-duplicate image, audio and video files. It currently only supports images but your help is welcome!

Comments

I use gem ‘phashion’, ‘~> 1.1’, ‘>= 1.1.1’ in Gemfile, firstly i am testing it on console.bot i got same error, [CImg] ** CImgIOException ** [instance(0,0,0,0,(nil),non-shared)] CImg::load() : Failed to open file 'file:///home/hasinakhatoon/current_work/barcode-scan/index.png' many time.

Please help me.

I use gem ‘phashion’, ‘~> 1.1’, ‘>= 1.1.1’ in Gemfile, firstly i am testing it on console.bot i got same error, [CImg] ** CImgIOException ** [instance(0,0,0,0,(nil),non-shared)] CImg::load() : Failed to open file 'file:///home/hasinakhatoon/current_work/barcode-scan/index.png' many time.

Please help me.

While user gem ‘phashion’, ‘~> 1.1’, ‘>= 1.1.1’ its give error RuntimeError: Unknown pHash error. So please let me know any solution for it.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in