UNPKG

@angloqq03/gpv

Version:

OCR-powered GCash screenshot proof validation for Node.js using Tesseract.js and Brain.js.

64 lines • 1.84 kB
{ "": [ "===================================================", "Take time to read!!", "This file is meant to be a reference for labeling your own samples.", "It is not required to follow this exact schema, but it is recommended to include as much relevant information as possible to improve model training and validation.", "You can add custom fields as needed, but try to maintain a consistent structure across your samples.", "===================================================" ], "language": "eng", "amountTolerance": 0, "logOcrProgress": false, "trainingOptions": { "iterations": 4000, "log": false }, "samples": [ { "name": "gcash-real-example", "image": "proofsamples/1.png", "bank": "gcash", "sourceBank": "gcash", "destination": "gcash", "route": "wallet_to_wallet", "legitimate": 1, "isEdited": false, "isSynthetic": false, "fraudType": "none", "tags": [ "real", "mobile-screenshot" ], "notes": "Use real approved receipts when available.", "expected": { "reference": "123456789012", "amount": 3025, "date": "2026-04-03" } }, { "name": "cimb-to-gcash-fake-example", "image": "proofsamples/cimb-to-gcash-fake-example.png", "bank": "cimb", "sourceBank": "cimb", "destination": "gcash", "route": "bank_to_wallet", "legitimate": 0, "isEdited": true, "isSynthetic": false, "fraudType": "edited-amount", "tags": [ "fake", "edited", "amount-change" ], "notes": "Example suspicious sample for schema reference only.", "expected": { "reference": "123456789012", "amount": 250, "date": "2026-04-03" } } ] }