@angloqq03/gpv
Version:
OCR-powered GCash screenshot proof validation for Node.js using Tesseract.js and Brain.js.
76 lines (63 loc) • 1.87 kB
Markdown
# Proof Samples
Put your labeled proof screenshots in this folder and describe them in `labels.json`.
Recommended fields per sample:
- `name`: stable sample id
- `image`: relative file path
- `bank`: the visible app or bank brand in the screenshot
- `sourceBank`: where the money came from
- `destination`: where the money was sent
- `route`: example `wallet_to_wallet`, `bank_to_wallet`, `bank_to_bank`
- `legitimate`: `1` for real, `0` for suspicious/fake
- `isEdited`: whether the image appears edited
- `isSynthetic`: whether the image is mock/generated, not a real user screenshot
- `fraudType`: example `none`, `edited-amount`, `edited-reference`, `reused-proof`, `cropped-proof`
- `tags`: freeform labels
- `notes`: optional review notes
- `expected`: expected amount/reference/date
Example:
```json
{
"name": "maribank-to-gcash-real-001",
"image": "proofsamples/maribank-to-gcash-real-001.png",
"bank": "maribank",
"sourceBank": "maribank",
"destination": "gcash",
"route": "bank_to_wallet",
"legitimate": 1,
"isEdited": false,
"isSynthetic": false,
"fraudType": "none",
"tags": ["real", "bank-to-wallet"],
"notes": "Confirmed against production payment records.",
"expected": {
"reference": "123456789012",
"amount": 250,
"date": "2026-04-03"
}
}
```
Suggested banks to include:
- `gcash`
- `cimb`
- `maribank`
- `maya`
- `bpi`
- `bdo`
- `unionbank`
- `other`
Suggested fraud types:
- `none`
- `edited-amount`
- `edited-reference`
- `edited-date`
- `reused-proof`
- `cropped-proof`
- `template-fake`
- `synthetic-image`
Best practice:
- keep class balance healthy between real and suspicious proofs
- include multiple phone sizes and screenshot layouts
- include both clear and difficult OCR cases
- keep notes when a sample was manually verified
- avoid uncertain labels
Noisy labels will train a noisy model.