Using opencv with android studio

asked 2019-05-28 10:34:28 -0500

Hi openCV commutnity, I am trying to make android application using the opencv functionality for edge detection, i have all the functions ready with me in java which i have developed taking cue from tutorialpoint opencv. It works fine in my desktop taking about 0.5 seconds to find edge in an image, when i integrate this with android it takes about 10 seconds and gives inaccurate results. Then i see the samples provided by opencv android sdk which also uses java but that is completely different from what i learnt from tutorialpoint.The samples work fine, meaning that it is my code which is bad and i think i need to do the work the same way as the samples show, can anyone please tell me whats the difference between both the codes.

edit retag flag offensive close merge delete