Insight

    On-device vs cloud face recognition: when to choose an edge SDK

    An edge face recognition SDK runs detection, liveness, and matching on the device itself. A cloud face recognition API sends an image or video frame to a vendor's servers and returns a result. Both are valid, and the choice is decided by four things: what happens when connectivity drops, what a verification costs at your volume, whether you need real liveness, and where biometric templates are allowed to live.

    Choose an edge SDK when

    • Your users are on shop floors, sites, vehicles, or rural locations where connectivity is intermittent.
    • You verify the same people every day - attendance economics punish per-call pricing.
    • You need liveness on every capture, not only on high-value transactions.
    • Biometric data cannot leave the country, the campus, or the device for regulatory reasons.
    • You cannot dictate handset quality, so the SDK has to run on entry-level Android hardware.

    Side by side

    DimensionEdge SDKCloud API
    Where matching runsOn the phone, tablet, or on-premise gatewayVendor's servers
    Behaviour without internetOn-device 1:1, 1:N and passive liveness remain availableNo function until connectivity returns
    LatencySub-second, no round tripNetwork-bound, varies by region and load
    Cost per verificationLicensed, flat - suits high-volume daily attendanceMetered per API call - grows linearly with headcount
    LivenessPassive, video-based, on-deviceOften active/challenge-based and separately priced; cheap image APIs have none
    Data residencyBiometric templates never leave the device or siteDepends on vendor region availability
    Best forAttendance, field ops, elections, defence, regulated dataLow-volume, high-value transactions with reliable connectivity

    The liveness trap in cloud pricing

    Cloud vendors sell genuine video liveness, but at KYC-grade pricing. At attendance volumes most teams quietly fall back to static image comparison instead, which has no liveness check - a printed photo or a screen replay passes. If your risk is proxy attendance, an SDK with passive, video-based liveness running on-device solves the problem at a cost you can actually run daily.