Financial TimesAmericas' Fastest-Growing 2025
Certified PartnerOdoo Gold · Adobe Gold Solution · Shopify Premier partnershipsOdoo Gold · Adobe Gold · Shopify Premier partnerSee all
One business dayA senior architect replies to every inquiry · +1 (631) 897-7276Architect reply within one business dayLet's talkCall us
Inc. Regionals 2025Fastest-growing private companies in AmericaInc. Regionals 2025 honoreeSee awards
Americas' Fastest-Growing Companies 2025Recognized by the Financial TimesFT Fastest-Growing Companies 2025See the rankingRanking
4.8 / 5 on Clutch265 verified client reviews4.8/5 on Clutch · 265 reviewsRead the reviews
4.8 · 265 Clutch reviews
US United States

Home / Case Studies / Financial Services Provider

/ Case Study · Fintech

A Philippines Financial Provider Matches IDs at Scale. OCR and OpenCV Against Fraud.

/ The engagement

An ID Similarity Matching System.

The client is a leading Philippines financial services provider that puts technology first to prioritize customer service for BPOs and enterprises with demanding system requirements. Brainvire built an ID Similarity Matching System that uses OpenCV, Optical Character Recognition, Regular Expressions, and Pandas to extract, analyze, and compare visual and textual attributes across diverse ID proofs for identity verification and fraud detection.

OpenCVOCR ExtractionRegular ExpressionsPandas Validation
OpenCVPreprocessing
OCRTextual extraction
REPattern matching
PandasAttribute validation

/ About the client

Financial Services Provider

The client is a leading Philippines financial services provider that believes in using technology to prioritize customer service. Its clientele includes BPOs that serve the global market and corporations that leverage technology for growth, essentially enterprises with demanding system requirements, and it wanted an advanced ID Similarity Matching System.

The ID Similarity Matching System is a robust software solution designed to accurately compare and match diverse identification proofs. Using OpenCV, Optical Character Recognition, Regular Expressions, and Pandas, it extracts, analyzes, and compares visual and textual attributes from various ID proofs while accounting for contextual nuances and regional differences.

/ The approach

Design, architecture, and features, shipped as one program.

/01Attributes

Extracted cleanly

Pulling data from varied IDs was hard, so OpenCV-powered preprocessing and OCR extract textual elements such as names, addresses, document numbers, and dates from each ID proof.

/02Visual + Text

Compared together

Both look and content mattered, so the system compares visual and textual attributes across ID proofs while accounting for fonts, sizes, and formatting variations.

/03Real vs Fake

Told apart

Forgeries were a risk, so machine learning models and advanced techniques improved the system's ability to spot fake ID proofs, even sophisticated ones.

/04Issue Dates

Detected accurately

Dates had to be exact, so Regular Expression patterns identify issue dates, document numbers, and other attributes based on predefined formats.

/ What stood in the way

Four problems, solved without a maintenance window.

Select a challenge to see how it shaped the build.

/01 Attribute extraction →
/02 Visual and textual attributes →
/03 Distinction between real and fake IDs →
/04 Accurately detecting issue dates →

Attribute extraction

The system had to extract attributes from many kinds of ID proofs. A classification step at an early stage and OpenCV-powered preprocessing let the system identify passports, driver's licenses, and other proofs and extract their attributes accurately.

Visual and textual attributes

The client needed both visual and textual attributes compared. The OCR system extracts names, addresses, document numbers, issue dates, and expiration dates, so the system compares proofs on look and content together.

Distinction between real and fake IDs

Telling a real ID from a fake one was critical. Machine learning models and advanced techniques improved the system's ability to identify fake ID proofs, even sophisticated forgeries, and scale to large volumes without losing accuracy.

Accurately detecting issue dates

Reading issue dates correctly was hard across formats. Regular Expression patterns identify dates and document numbers by predefined formats, so extraction stays consistent regardless of fonts, sizes, or formatting.

/ Product screens

The delivered experience.

The interface people actually use.

Financial Services Provider delivered interface, screen 1/01Upload
Financial Services Provider delivered interface, screen 2/02Preprocess
Financial Services Provider delivered interface, screen 3/03Extract
Financial Services Provider delivered interface, screen 4/04Compare
Financial Services Provider delivered interface, screen 5/05Validate

/ The results

What changed, in numbers.

Higher Operational efficiency An early classification step let the client accurately identify different ID proofs such as passports and licenses, cutting errors and lifting efficiency.
Comprehensive Attribute extraction The OCR system accurately extracts names, addresses, document numbers, and issue and expiration dates from the ID proofs.
Reduced Fraud risk Machine learning models sharply improved detection of fake proofs and scaled to large volumes without losing accuracy.
Consistent Accuracy OCR and Regular Expression patterns keep extraction accurate and consistent regardless of fonts, sizes, or formatting variations.

/ Next step

Ready for a redesign like this on your platform?

A 30-minute working session with a Brainvire architect: your current stack, your constraints, and where a rebuild actually pays off. No sales deck.

Book a Working Session →