Git Product home page Git Product logo

Comments (5)

cocoa-xu avatar cocoa-xu commented on June 1, 2024

Hi @navrkr, I've fixed the function guard generation in v0.1.9, and the latest version is available on hex.pm.

def deps do
  [
    {:evision, "~> 0.1.9"}
  ]
end

The hex.pm release will use precompiled binaries by default. If you prefer to compile it locally, please set the environment variable EVISION_PREFER_PRECOMPILED to false before mix compile or iex -S mix.

One more note is that you might need to delete the _build/${MIX_ENV}/lib/evision/evision.so (MIX_ENV is dev by default) if you are okay with using precompiled binaries. Because the deployer will not override existing files if this file exists.

Bug fixes

  • Support parsing RefWrapper<T> (&value)[N] from list or tuple. (#99)

    See the function in c_src/evision.cpp.

    bool parseSequence(ErlNifEnv *env, ERL_NIF_TERM obj, RefWrapper<T> (&value)[N], const ArgInfo& info)
    # `RotatedRect` has to be a tuple, {centre, size, angle}
    Evision.boxPoints!({{224.0, 262.5}, {343.0, 344.0}, 90.0})
    
    # while `Point`/`Size` can be either a list, `[x, y]`, or a tuple, `{x, y}`
    Evision.boxPoints!({[224.0, 262.5], [343.0, 344.0], 90.0})
  • Fixed the mapping from a type to the corresponding function guard in py_src/helper.py. (#99)

from evision.

cocoa-xu avatar cocoa-xu commented on June 1, 2024

As the patches above should fix this issue, I'll close this one for now.

Please feel free to reopen it if there is any other issue with Evision.boxPoints/1, also don't hesitate to open a new issue if you encounter other problems. :)

from evision.

navrkr avatar navrkr commented on June 1, 2024

Yeah issue resolved. Can you help me with image ROI method I'm getting this error when try to solve it.
Screenshot from 2022-10-09 23-25-17

from evision.

kipcole9 avatar kipcole9 commented on June 1, 2024

Hmmm thats really impossible to read. May I suggest you open a separate issue (since this one is resolved) and cut/paste the text into a code block rather than a screen shot. It makes it almost impossible for the maintainer to work with your example if its a screenshot.

from evision.

navrkr avatar navrkr commented on June 1, 2024

from evision.

Related Issues (20)

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.