android - Calling OpenCV methods from vuforia -


i trying image processing on images camera frames vuforia qcar. , want use opencv.

i want send pixels byte arrays opencv vuforia. dont know how it. know how reach java methods native part or vice versa, couldnt find starting point how call native function library.

one more question, can invoke opencv methods in native(c++) part of vuforia? dont have send bytes class?

i bit confused

thanks

yes, can work opencv strictly in native code along vuforia. it's not totally clear if you're trying in real-time or not, however, it'll more efficient if computer vision stuff in c/c++.

here's example of how create opencv mat using qcar::image.

mat grayimage = mat(qcarimage->getheight(), qcarimage->getwidth(), cv_8uc1, (unsigned char *)qcarimage->getpixels()); 

once instantiate mat pointer qcar image data, can go doing image processing , computer vision opencv.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -