I have created an activity captures an image through Camera and now I have the image in Bitmap format which I want to pass to this plugin class from here: The function looks like this:

public void process(MarvinImage imageIn, MarvinImage imageOut, MarvinAttributes attrOut, MarvinImageMask mask, boolean preview) {

Now how do I pass these arguments?

It first asks for MarvinImage so how can I convert my Bitmap to MarvinImage? And what are rest of the arguments?

Please help.

有帮助吗?

解决方案

Unfortunately, the android compatible version of Marvin was not released yet. It's under development. You can follow the project releases on its Freecode page.

If you want to understand how Marvin works, what are these arguments, take a look at the Tutorials available on the project website.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top