SShortSingh.
Back to feed

How Liveness Detection Stops Photos and Videos From Defeating Face Recognition

0
·1 views

Liveness detection is a security layer added to face recognition systems to verify that a real, live person is present rather than a photo or video replay. It works through two approaches: passive checks, which analyze frames for spoofing signs like paper texture or screen moiré, and active challenges, which prompt users to blink or turn their head. Combining a passive check on every frame with a randomized active challenge at enrollment offers the strongest defense against common attacks, including printed photos, phone screens, and pre-recorded videos. Browser-based implementations can run a lightweight anti-spoofing model locally using ONNX, keeping facial data on the device and avoiding continuous server streaming. Developers are advised to test with real spoof materials across multiple devices and to monitor both spoof acceptance and live rejection rates to ensure the system remains both secure and usable.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

OpenPledge Uses Blockchain and AI to Make Charity Donations Fully Transparent

A developer has built OpenPledge, an open-source donation platform designed to give donors complete visibility into where their money goes. Every contribution is recorded on the Solana blockchain, creating a permanent, publicly verifiable transaction record that cannot be altered. Google Gemini generates a personalised thank-you message for each donor, which ElevenLabs then converts into spoken audio, while Snowflake powers a public Impact Dashboard showing aggregate giving trends. The platform requires no login and features a public ledger linking every donation directly to its on-chain record. OpenPledge was submitted as part of a weekend developer challenge and is currently live at open-pledge.vercel.app, with full source code available on GitHub.

0
ProgrammingHacker News ·

Car Industry Data Shows CarPlay Significantly Boosts Vehicle Sales

A blog post highlighted how the automotive industry effectively conducted a natural A/B test by selling identical car models with and without Apple CarPlay support. The results revealed a clear consumer preference for vehicles equipped with CarPlay integration. This real-world comparison provided strong evidence of how in-car technology features influence purchasing decisions. The findings suggest that CarPlay has become a meaningful factor for buyers when choosing between otherwise similar vehicles.

0
ProgrammingDEV Community ·

WebForms Core 2.1 Introduces WPC Criteria as an Advanced Alternative to CSS Selectors

WebForms Core 2.1 has expanded its built-in domain-specific language, WebForms Place Criteria (WPC), which allows developers to select, filter, and manipulate HTML and DOM elements. Unlike standard CSS selectors, WPC Criteria enables filtering of already-selected elements based on text content, attributes, visibility, state, position, and DOM relationships. Developers can chain multiple conditions and apply operators to build complex selections that go beyond simple ID, class, or tag-based queries. WPC also supports text searches and attribute-value matching, such as finding elements whose attribute values end with a specific string. The feature is exclusive to the WebForms Core framework and is not available as a standalone or external tool.

0
ProgrammingDEV Community ·

Developer Wraps Pay-Per-Call APIs in MCP Server, Joins Official Registry for Free

A developer who had failed to earn revenue from REST-based pay-per-call APIs repackaged them as tools inside a single MCP server using the streamable-HTTP transport. The server uses the x402 protocol to charge USDC micropayments only when an agent actually invokes a tool, while keeping discovery methods like tools/list and initialize free. Three tools are offered — a QR code generator, an image processor, and an LLM-backed text analyser — priced between $0.01 and $0.02 per call. The server was listed on the official MCP Registry without a GitHub account by using HTTP-based Ed25519 key authentication tied to a free sslip.io hostname on a $4 VPS. The developer concludes that packaging APIs as MCP tools, rather than REST endpoints, is critical for reaching AI agents as customers.

How Liveness Detection Stops Photos and Videos From Defeating Face Recognition · ShortSingh