Git Product home page Git Product logo

Comments (9)

biggzlar avatar biggzlar commented on September 27, 2024 1

I'll make it public as soon as I'm back at my desk.

from opencvjs.

biggzlar avatar biggzlar commented on September 27, 2024

Currently working on a modified make.py that does exactly that. It's quite messy but maybe you want to take a look?

If nothing else this is an example of how to build and link opencv during the compilation of your own project.

from opencvjs.

adishavit avatar adishavit commented on September 27, 2024

Cool, where do I find it?

from opencvjs.

biggzlar avatar biggzlar commented on September 27, 2024

https://github.com/biggzlar/opencv_js_compiler

Here you go. As mentioned, this is still in rough shape and there has been almost no testing. The example.cpp file contains some basic image manipulation methods (blur, threshold). Simply run:

python n_make.py example/example.cpp

Once compiled they can be called from within the javascript part in index.html (there is a helper function for html canvas interaction, taking one of the exposed functions as an argument). Just see if you can compile the example and use it in index. Let me know if you hit a bump!

from opencvjs.

adishavit avatar adishavit commented on September 27, 2024

What platform do you use this on? Linux? OSX?

from opencvjs.

biggzlar avatar biggzlar commented on September 27, 2024

Usually MacOs, just ran it on Ubuntu Linux and it worked with the latest OpenCV.

from opencvjs.

adishavit avatar adishavit commented on September 27, 2024

from opencvjs.

biggzlar avatar biggzlar commented on September 27, 2024

I didn't have it on there so I did build it from scratch.

from opencvjs.

adishavit avatar adishavit commented on September 27, 2024

Works now! Thanks!

from opencvjs.

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.