Multiple camera preview in android with openCV
Hey guys someone knows how to spilt native camera view in android to show for example two frames at the same time?
For example i would like to see on the left normal frame and on the right the same frame but with effect applied. I have tried putting two native camera elements in the xml file but it is not showing anything.
Then i tried to put in the same Mat (divided in to two parts) the original frame rescaled(on the left RGBA Frame and on the right Gray frame for instance), i am having trouble also rescaling in the appropriate way but i am also afraid if this is the correct way to do what i want.
Something like this
Have you seen this? Maybe it helps. If the "two native cameras" does not work (start by displaying the same thing: the captured frame, then try to change one), try the "put everything in the same Mat".
Did you find any solution to this?