Code Monkey home page Code Monkey logo

imagga's People

Contributors

martkaru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

imagga's Issues

Image cropping

Hello
I am trying to figure out how to crop the images when the values are returned form imagga,

What do you guys use ?

I have tried with imagemagick but without sucess

Thanks ,

Problem with extracting colors

Rails 4, Ruby 2.0

results = client.extract(

  [
    Imagga::Image.new(url: 'http://std3.ru/94/9e/1411374955-949ecb8f16c3befa6a520b8d8b43c65c.png', id: '1')
  ],
  extract_overall_colors: true,
  extract_object_colors: false
)
JSON::ParserError: 757: unexpected token at 'Invalid query -- REPLACE INTO acc_3e71db03d495d64_color_index (id, features) VALUES (1, '�G�z�?\0\0\0\0\0\0.@\0\0\0\0\0\@\0\0\0\0\0\0�G�z��?\0\0\0\0\0\0=@\0\0\0\0\0\0@\0\0\0\0\0\0�q=\nףp$@\0\0\0\0\0�F@\0\0\0\0\0\0�?\0\0\0\0\0\0\0\0R���Q\"@\0\0\0\0\0�S@\0\0\0\0\0\0\0\0\0\0\0\0\0\0�q=\nףpS@\0\0\0\0\0\0X@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0') -- '
    from /Users/dpsk/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/json/common.rb:155:in `parse'
    from /Users/dpsk/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/json/common.rb:155:in `parse'
    from /Users/dpsk/.rvm/gems/ruby-2.1.1@colorsearch/gems/imagga-0.0.5/lib/imagga/commands.rb:17:in `execute'
    from /Users/dpsk/.rvm/gems/ruby-2.1.1@colorsearch/gems/imagga-0.0.5/lib/imagga/core_client.rb:13:in `extract'
    from /Users/dpsk/.rvm/gems/ruby-2.1.1@colorsearch/gems/imagga-0.0.5/lib/imagga/client.rb:5:in `extract'
    from (irb):11

I tried different combinations of params but no luck, is this gem still maintained?

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.