Ask Your Question

Human detection on android phones

asked 2019-03-28 03:58:17 -0500

I have downloaded OpenCV 4 and Android Studio 3.3.2 and am looking for a tutorial to detect humans (preferably using Haar cascades) in a video input to android. Any leads?

I have already created apks for some simple OpenCV functions (like conversion of a coloured image to grayscale). Also using the mobile vision api of google, I was able to make face detection apks. No success yet with human detection.

edit retag flag offensive close merge delete


I want to detect humans for one of my apps. but the problem is im a arts student and i know coding so i started building my app through a online webisite (after reading this article) The issue is the online website I'm using to design app has no such option, so I was thinking, is there any way to add OpenCV in the project? Thanks

Afflospark gravatar imageAfflospark ( 2019-05-11 14:33:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-03-28 04:09:32 -0500

berak gravatar image

updated 2019-03-28 04:39:20 -0500

haar cascades for humans are no more available in opencv3, but there are other options:

  • HOGDescriptor (has pretrained model for upright humans)
  • pretrained dnn models (e.g.yolo)
  • dpm (from opencv_contrib, more robust than HOG, but much slower)

unfortunately, no readymade android tutorials available for this, and if you expected to "just grab some code and be done with it" -- no, bad luck. ;(

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-28 03:58:17 -0500

Seen: 44 times

Last updated: Mar 28