Creating Android app using java and openCv Query [closed]

asked 2018-10-17 10:32:21 -0600

Hi guys, i am currently planning a project and could use some assistance regarding my setup. My app goal is to detect when a person is falling asleep based on facial detection, eyes closing and other facial features. The goal is to create an android application using java & xml in an android studio environment. Upon reading up on openCv I found that it is mainly C++ but then i found a java wrapper exists (Javacv). So my question to you guys is this, should i use javaCv or openCv for this ? The reason i am confused is that i see videos of people using openCv in an android environment so im guessing they are using java but why don't they use javaCv ? Unless they plan on converting C++ to java. I want to use java so if thats the case should i install javaCv instead of openCv? Hopefully you understand my confusion and can pass me some advice. Thanking you, have a good day.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-05 11:05:48.155957

Comments

opencv has it's own java / android bindings, while javacv is an unsupported 3rd party wrapper.

https://docs.opencv.org/master/df/d65...

https://github.com/opencv/opencv/tree...

https://docs.opencv.org/master/javado...

berak gravatar imageberak ( 2018-10-17 10:47:03 -0600 )edit

Thank you for clarifying that for me.Have a good day.

AndroidDeveloper gravatar imageAndroidDeveloper ( 2018-10-19 12:32:38 -0600 )edit