Search Unity

Detecting faces in live video from webcam

Discussion in 'AR/VR (XR) Discussion' started by eco_bach, Jan 9, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,275
    I'm working on a client ask involving facial and possibly logo detection, essentially counting faces & logos.

    From what I know the only way to do this with a regular webcam is via OpenCV.

    I've used the OpenCV Unity asset from the asset store but it seems somewhat limited both in terms of performance and functionality.

    For example for any type of 'face detection' in realtime the person must be no further than about 10 feet from the camera and of course looking in the general camera direction. Are there any better performing options for detecting faces from within Unity?