moderation-tagging · moderation-tagging-06 · phrasing C · Aug 27, 2026, 11:18 AM · runner: cowork-subagent
Coding agent: Claude Code subagent (legacy run) (Anthropic)
Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)
Use case: moderation-tagging buyer question - fintech KYC document image pre-screening (compliance), phrased as variant C.
AWS Rekognition was recommended first; your brand was not mentioned in this session.
7 sources read.
Rivals also named: Google Cloud Vision (alternative), AWS Textract (AnalyzeID) (mentioned), Onfido / Jumio / Persona (mentioned)
> compare AWS Rekognition vs Google Cloud Vision for pre-screening KYC document image uploads before verificationRecommend AWS Rekognition for the pre-screening gate: its DetectText API gives a cheap sanity check that a document-shaped amount of text is present, and its Image Properties API (quality, sharpness, brightness, contrast) is a purpose-built, out-of-the-box way to reject blurry, glared, or dark uploads before they hit the real verification step. Google Cloud Vision's DOCUMENT_TEXT_DETECTION is excellent OCR but its imageProperties feature only returns dominant colors, not a blur/sharpness score, so quality gating would have to be built by hand (e.g. Laplacian variance) on top of it. Rekognition also sits closer to the rest of the identity pipeline (Textract AnalyzeID for extraction, Rekognition Face Liveness for the selfie match) if the stack is already on AWS.
1. Install the AWS SDK v3 Rekognition client: `npm install @aws-sdk/client-rekognition` 2. Build the pre-screening gate on two Rekognition calls run on every upload before it goes to the real verification/extraction step: - `DetectText` — quick check that the image actually contains a plausible amount of document text (rejects blank pages, photos of people, screenshots of unrelated content). - Image Properties (part of the Rekognition DetectLabels/Image Properties feature set) — returns quality, sharpness, brightness, and contrast scores so you can auto-reject blurry, glared, too-dark, or low-contrast captures and prompt the user to retake the photo, before spending money on the downstream verification call. 3. Set conservative thresholds (e.g. sharpness/brightness below X, or text word-count below Y) to bounce the upload back to the client with a specific retake reason (blurry / too dark / glare / no text detected) rather than a generic failure. 4. Feed only images that pass the gate into the actual document-verification step — AWS Textract's `AnalyzeID` for structured field extraction, or a dedicated KYC/IDV vendor (Onfido, Jumio, Persona) if deeper document-authenticity and liveness checks are needed; Rekognition Face Liveness can also be added later for the selfie-match leg of KYC. 5. If the team is already standardized on GCP, Google Cloud Vision is a solid alternative for pure OCR: `npm install @google-cloud/vision`, using `DOCUMENT_TEXT_DETECTION` for the text-presence check. It does not offer a built-in blur/sharpness score, so quality screening would need a custom image-quality check (e.g. OpenCV Laplacian variance) layered on top — more integration work for the same pre-screening goal. 6. Recommendation: go with AWS Rekognition for this pre-screening layer because Image Properties gives quality/blur/glare screening natively (Google Vision does not), it's cheaper at the volumes typical for a KYC intake flow, and it composes cleanly with Textract AnalyzeID and Rekognition Face Liveness for the rest of the identity-verification pipeline.
| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | AWS Rekognition | recommended | Built-in Image Properties (quality/sharpness/brightness/contrast) gives native blur/glare screening plus DetectText for a document-content sanity check, and integrates with Textract/Face Liveness for the rest of the KYC flow | npm install @aws-sdk/client-rekognition |
| 2 | Google Cloud Vision | alternative | Strong DOCUMENT_TEXT_DETECTION OCR, but no built-in sharpness/blur quality score (imageProperties only returns dominant colors), so quality gating must be custom-built | npm install @google-cloud/vision |
| 3 | AWS Textract (AnalyzeID) | mentioned | Complementary AWS service for the actual structured field extraction step after pre-screening passes |
| - |
| 4 | Onfido / Jumio / Persona | mentioned | Dedicated KYC/IDV vendors worth considering for the full verification step (document authenticity, liveness) beyond simple pre-screening | - |