Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are openCV3.x binding planned anytime soon? #60

Open
spidergears opened this issue Oct 26, 2015 · 12 comments
Open

Are openCV3.x binding planned anytime soon? #60

spidergears opened this issue Oct 26, 2015 · 12 comments

Comments

@spidergears
Copy link

No description provided.

@lazywei
Copy link
Member

lazywei commented Nov 14, 2015

Sorry, given my current circumstance, I'm afraid that this won't be done in near future.
That being said, it's always welcome if you would like to send pull requests, or better yet, be a collaborator 👍

@RyanCopley
Copy link

@lazywei How is it going? I was wondering if you by chance have even a slice of time to even discuss this, what would we have to do to get this issue going forward? I can help with time and effort but I may need some guidance, do you have any time to discuss what you've learned so far and see if we can find a plan for what is needed to bind to the 3.x apis, then I could probably chip in some time to help.

I did some googling and I found these resources: http://zacg.github.io/blog/2013/06/06/calling-c-plus-plus-code-from-go-with-swig/

http://answers.opencv.org/question/54695/golang-binding-for-c-api/ (a post by you about this)

It seems as if you've already learned how to bind a C++ api (vs C). Does this mean that all that needs done is to define a module file which will tell the SWIG tool what code in the C++ project to expose in the resulting GO package. (link #1) ?

I'm eager to try to use opencv with go, but I want to be on the latest major version :-) I'll continue to look into this, but I would really appreciate if you could share what you've learned

@lazywei
Copy link
Member

lazywei commented May 1, 2016

Hi @RyanCopley , thanks for your interest!

As for current progress, we have @chenziliang helping working on possible CV 3.x supports.

To support CV 3.x, we need to wrap C++ APIs, and this has been done in gocv subpackage. However, the wrapping is not yet complete. In fact, I only wrapped a little bit APIs for experiments. Current wrappers use SWIG for code generating. To add more wrappers, we need to find a better way to use SWIG.

If you would like to help, you may start with getting yourself familiar with SWIG and CV 3.x's C++ APIs (header files, for example). Any change should go to the gocv subpackage.

I agree we should shift our concentration to the major latest version. It would be awesome if we could have 3.x support.

Let me know if you have any questions or any thought on this.

Thanks!

@deadprogram
Copy link

Hi, @lazywei is there a branch where this work is being done yet? I also would like to help.

@lazywei
Copy link
Member

lazywei commented May 22, 2016

@deadprogram thanks for your interest. Currently there is no branch for this. Please just make change to the master branch directly. All C++ binding should go to the gocv/ subdirectory.

Thanks.

@alisaifee
Copy link

👍 I would like to help as well. I wonder if we could start a gitter channel for this to discuss what needs to be done

@lazywei
Copy link
Member

lazywei commented Jun 5, 2016

@alisaifee great idea. done, and invited you guys :-D

@codekoala
Copy link

How are things going on this front?

@RichLewis007
Copy link

Yes, are there any updates on progress in adding OpenCV 3?

@nordic-style
Copy link

You should mark #102 as duplicated.

And it seems that Matt started to work on this issue:
https://github.com/mlehner/go-opencv/commit/6e6733402a9e71b47c31929089f9892f005e13ec

@RichLewis007
Copy link

RichLewis007 commented Jun 23, 2017 via email

@deadprogram
Copy link

Please see my comment at #102 (comment)

Sorry to cross post, but seems relevant. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants