state stringlengths 77 406 | questions dict | expected unknown | meta unknown |
|---|---|---|---|
{"doc":"business_license","round":1,"done":["deshadowing"],"contrast":"mild","curl":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:dewarping","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002080"
} |
{"doc":"tax_card","round":1,"done":["deshadowing"],"res":"mild","contrast":"moderate","crit":{"expiry_date":"low_contrast:moderate","taxpayer_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001000"
} |
{"doc":"business_license","round":1,"done":["deblurring"],"contrast":"mild","crit":{"valid_until":"blur:severe","license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001428"
} |
{"doc":"business_license","contrast":"moderate","crit":{"company_name":"low_contrast:moderate","valid_until":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_018196"
} |
{"doc":"national_id","contrast":"moderate","crit":{"father_name":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002281"
} |
{"doc":"business_license","dark":"mild","shadow":"mild","curl":"severe","crit":{"valid_until":"shadow:moderate"},"oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing","enhance:appearance","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_020760"
} |
{"doc":"business_license","round":1,"done":["dewarping"],"contrast":"mild","crit":{"valid_until":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002420"
} |
{"doc":"national_id","round":1,"done":["dewarping"],"dark":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:appearance","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_018340"
} |
{"doc":"tax_card","blur":"mild","contrast":"moderate","allowed":["enhance:appearance","enhance:binarization","enhance:deblurring","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002588"
} |
{"doc":"business_license","shadow":"mild","curl":"severe","crit":{"company_name":"shadow:moderate"},"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_015046"
} |
{"doc":"tax_card","round":1,"done":["appearance"],"contrast":"mild","allowed":["accept","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "accept"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_003547"
} |
{"doc":"tax_card","contrast":"moderate","noise":"mild","allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_001248"
} |
{"doc":"national_id","contrast":"mild","crit":{"father_name":"low_contrast:moderate","surname":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_033779"
} |
{"doc":"business_license","round":1,"done":["deblurring"],"blur":"moderate","dark":"moderate","contrast":"mild","crit":{"company_name":"blur:moderate"},"oth":["blur:severe"],"allowed":["enhance:appearance","enhance:binarization","reject:dark","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002406"
} |
{"doc":"business_license","shadow":"mild","curl":"moderate","oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000496"
} |
{"doc":"business_license","contrast":"mild","curl":"severe","allowed":["enhance:dewarping","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_030571"
} |
{"doc":"national_id","round":1,"done":["deblurring"],"blur":"moderate","contrast":"moderate","glare":"mild","crit":{"birth_date":"blur:moderate","expiry_date":"blur:moderate","father_name":"low_contrast:moderate","national_id_number":"low_contrast:moderate"},"oth":["blur:severe","blur:moderate","low_contrast:moderate"]... | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_032356"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"contrast":"mild","crit":{"taxpayer_name":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000467"
} |
{"doc":"national_id","dark":"mild","contrast":"moderate","crit":{"father_name":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000453"
} |
{"doc":"tax_card","contrast":"mild","noise":"moderate","allowed":["enhance:appearance","enhance:binarization","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_026066"
} |
{"doc":"business_license","shadow":"moderate","curl":"moderate","crit":{"license_number":"shadow:severe","company_name":"shadow:moderate"},"oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001482"
} |
{"doc":"business_license","round":1,"done":["deblurring"],"curl":"mild","allowed":["accept","enhance:dewarping"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_004552"
} |
{"doc":"national_id","res":"mild","contrast":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_014288"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"dark":"mild","curl":"severe","allowed":["enhance:dewarping","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_025618"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_022978"
} |
{"doc":"national_id","round":1,"done":["deblurring"],"contrast":"mild","crit":{"birth_date":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001683"
} |
{"doc":"tax_card","round":1,"done":["deshadowing"],"contrast":"mild","allowed":["accept","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_004341"
} |
{"doc":"business_license","contrast":"moderate","crit":{"company_name":"low_contrast:moderate","license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001514"
} |
{"doc":"business_license","curl":"moderate","oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_006112"
} |
{"doc":"business_license","dark":"moderate","unk":["blur"],"crit":{"license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_037066"
} |
{"doc":"business_license","curl":"moderate","oth":["shadow:severe"],"allowed":["enhance:dewarping","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002271"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"contrast":"mild","glare":"moderate","crit":{"taxpayer_name":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization","reject:glare"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_032225"
} |
{"doc":"tax_card","dark":"moderate","crit":{"expiry_date":"low_contrast:moderate","taxpayer_name":"low_contrast:moderate"},"allowed":["enhance:appearance","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_007574"
} |
{"doc":"business_license","res":"mild","shadow":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_031006"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"contrast":"moderate","crit":{"company_name":"low_contrast:moderate","license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_029460"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"dark":"mild","noise":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_007362"
} |
{"doc":"business_license","shadow":"moderate","curl":"moderate","crit":{"license_number":"shadow:moderate"},"oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_001943"
} |
{"doc":"tax_card","round":1,"done":["deshadowing"],"dark":"moderate","persp":"moderate","crit":{"taxpayer_name":"low_contrast:moderate"},"allowed":["enhance:appearance","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_033802"
} |
{"doc":"business_license","dark":"mild","allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"rules": "enhance:appearance",
"safety_rule": false,
"origin": "simulated_photo",
"sample": "sim_00168__business_license_single"
} |
{"doc":"business_license","dark":"mild","contrast":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002902"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"contrast":"mild","persp":"moderate","noise":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_035540"
} |
{"doc":"business_license","blur":"mild","curl":"severe","noise":"mild","crit":{"valid_until":"blur:moderate"},"oth":["blur:moderate"],"allowed":["enhance:dewarping","enhance:deblurring","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001311"
} |
{"doc":"business_license","dark":"moderate","contrast":"mild","allowed":["enhance:appearance","enhance:binarization","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000158"
} |
{"doc":"business_license","shadow":"moderate","crit":{"valid_until":"shadow:moderate"},"allowed":["enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "deshadowing"
} | {
"label_source": "rules",
"rules": "enhance:deshadowing",
"safety_rule": false,
"origin": "simulated_photo",
"sample": "sim_00112__business_license_single"
} |
{"doc":"national_id","round":1,"done":["dewarping"],"dark":"mild","contrast":"moderate","crit":{"birth_date":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_026040"
} |
{"doc":"business_license","contrast":"mild","crit":{"company_name":"low_contrast:moderate","valid_until":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002529"
} |
{"doc":"national_id","dark":"mild","shadow":"severe","crit":{"father_name":"shadow:severe","grandfather_name":"shadow:severe","surname":"shadow:severe","name":"shadow:moderate"},"oth":["shadow:severe"],"allowed":["enhance:deshadowing","enhance:appearance","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "deshadowing"
} | {
"label_source": "rules",
"rules": "enhance:deshadowing",
"safety_rule": false,
"origin": "simulated_photo",
"sample": "sim_00220__national_id_front"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_013445"
} |
{"doc":"business_license","persp":"moderate","curl":"moderate","oth":["shadow:severe"],"allowed":["enhance:dewarping","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_017620"
} |
{"doc":"national_id","blur":"moderate","crit":{"grandfather_name":"blur:severe","father_name":"blur:moderate","surname":"blur:moderate"},"oth":["blur:severe","blur:moderate"],"allowed":["enhance:deblurring","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "deblurring"
} | {
"label_source": "rules",
"rules": "enhance:deblurring",
"safety_rule": false,
"origin": "simulated_photo",
"sample": "sim_00178__national_id_front"
} |
{"doc":"business_license","contrast":"moderate","persp":"severe","crit":{"license_number":"low_contrast:moderate","valid_until":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002376"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"contrast":"mild","curl":"mild","allowed":["accept","enhance:dewarping","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002200"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"contrast":"moderate","crit":{"company_name":"shadow:moderate","valid_until":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:shadow","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_030159"
} |
{"doc":"business_license","round":1,"done":["appearance"],"curl":"moderate","crit":{"license_number":"shadow:moderate"},"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001677"
} |
{"doc":"tax_card","round":1,"done":["deshadowing"],"contrast":"moderate","crit":{"taxpayer_name":"low_contrast:moderate","taxpayer_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_007322"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"dark":"mild","allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_005742"
} |
{"doc":"tax_card","contrast":"mild","persp":"severe","noise":"mild","allowed":["accept","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001713"
} |
{"doc":"business_license","blur":"mild","contrast":"mild","curl":"mild","allowed":["accept","enhance:dewarping","enhance:deblurring","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000401"
} |
{"doc":"national_id","round":1,"done":["deshadowing"],"res":"mild","glare":"moderate","persp":"moderate","glare_all":true,"allowed":["reject:overexposed","reject:angle"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "reject",
"reject_reason": "overexposed"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_034673"
} |
{"doc":"tax_card","contrast":"moderate","noise":"mild","allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_039724"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"shadow":"mild","oth":["low_contrast:moderate","shadow:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_024177"
} |
{"doc":"tax_card","contrast":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_007848"
} |
{"doc":"business_license","dark":"mild","contrast":"mild","persp":"severe","crit":{"license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_024150"
} |
{"doc":"business_license","shadow":"moderate","curl":"moderate","oth":["shadow:severe"],"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_017684"
} |
{"doc":"national_id","round":1,"done":["dewarping"],"blur":"mild","contrast":"mild","noise":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance","enhance:deblurring","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_033137"
} |
{"doc":"business_license","round":1,"done":["deblurring"],"curl":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:dewarping","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002766"
} |
{"doc":"business_license","dark":"moderate","shadow":"mild","crit":{"valid_until":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:deshadowing","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002114"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"contrast":"mild","allowed":["accept","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_000274"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"curl":"mild","noise":"moderate","allowed":["enhance:dewarping","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_004237"
} |
{"doc":"tax_card","contrast":"mild","crit":{"taxpayer_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_005736"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"contrast":"moderate","oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_030981"
} |
{"doc":"business_license","shadow":"mild","persp":"moderate","curl":"moderate","allowed":["enhance:dewarping","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001676"
} |
{"doc":"national_id","round":1,"done":["dewarping"],"res":"mild","contrast":"mild","crit":{"name":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_013343"
} |
{"doc":"tax_card","round":1,"done":["dewarping"],"contrast":"moderate","allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002958"
} |
{"doc":"business_license","shadow":"mild","curl":"moderate","noise":"moderate","oth":["shadow:moderate"],"allowed":["enhance:dewarping","enhance:deshadowing","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_039837"
} |
{"doc":"business_license","round":1,"done":["deshadowing"],"persp":"severe","curl":"moderate","noise":"moderate","allowed":["enhance:dewarping","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_028967"
} |
{"doc":"national_id","dark":"mild","allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"rules": "enhance:appearance",
"safety_rule": false,
"origin": "simulated_photo",
"sample": "sim_00019__national_id_back"
} |
{"doc":"business_license","round":1,"done":["appearance"],"res":"mild","contrast":"mild","curl":"mild","crit":{"license_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:dewarping","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_001211"
} |
{"doc":"tax_card","round":2,"done":["deshadowing","appearance"],"glare":"moderate","glare_all":true,"crit":{"taxpayer_name":"shadow:severe"},"allowed":["reject:overexposed","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "reject",
"reject_reason": "overexposed"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_006780"
} |
{"doc":"business_license","dark":"mild","curl":"moderate","crit":{"company_name":"low_contrast:moderate","valid_until":"blur:moderate"},"allowed":["enhance:dewarping","enhance:deblurring","enhance:appearance","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001438"
} |
{"doc":"business_license","round":1,"done":["deblurring"],"res":"mild","contrast":"moderate","allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000695"
} |
{"doc":"business_license","contrast":"moderate","persp":"moderate","crit":{"company_name":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_008710"
} |
{"doc":"national_id","round":1,"done":["dewarping"],"contrast":"moderate","crit":{"national_id_number":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000913"
} |
{"doc":"business_license","round":1,"done":["dewarping"],"dark":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_004487"
} |
{"doc":"business_license","dark":"mild","curl":"moderate","noise":"moderate","allowed":["enhance:dewarping","enhance:appearance","reject:dark"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_033906"
} |
{"doc":"business_license","shadow":"moderate","curl":"severe","crit":{"valid_until":"shadow:severe"},"oth":["shadow:severe"],"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_005938"
} |
{"doc":"national_id","round":1,"done":["deblurring"],"noise":"mild","oth":["low_contrast:moderate"],"allowed":["accept","enhance:appearance"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_000260"
} |
{"doc":"business_license","dark":"mild","contrast":"moderate","curl":"severe","crit":{"valid_until":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:dewarping","enhance:appearance","enhance:binarization","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_017550"
} |
{"doc":"business_license","shadow":"moderate","curl":"severe","crit":{"license_number":"shadow:moderate","valid_until":"shadow:moderate"},"allowed":["enhance:dewarping","enhance:deshadowing","reject:shadow"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001110"
} |
{"doc":"business_license","blur":"moderate","curl":"moderate","crit":{"valid_until":"blur:severe","license_number":"blur:moderate"},"oth":["blur:severe"],"allowed":["enhance:dewarping","enhance:deblurring","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001784"
} |
{"doc":"business_license","blur":"mild","curl":"moderate","oth":["blur:moderate"],"allowed":["enhance:dewarping","enhance:deblurring"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002445"
} |
{"doc":"business_license","round":1,"done":["dewarping"],"dark":"mild","contrast":"mild","allowed":["accept","enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_008200"
} |
{"doc":"business_license","curl":"severe","noise":"mild","crit":{"license_number":"blur:moderate"},"oth":["blur:severe"],"allowed":["enhance:dewarping","enhance:deblurring","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_000634"
} |
{"doc":"tax_card","round":1,"done":["dewarping"],"contrast":"moderate","shadow":"mild","crit":{"taxpayer_number":"low_contrast:moderate"},"allowed":["enhance:appearance","enhance:binarization","enhance:deshadowing","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001183"
} |
{"doc":"business_license","blur":"mild","curl":"moderate","oth":["blur:moderate"],"allowed":["enhance:dewarping","enhance:deblurring"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001773"
} |
{"doc":"national_id","res":"mild","crit":{"grandfather_name":"blur:moderate"},"allowed":["enhance:deblurring","reject:blur"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "deblurring"
} | {
"label_source": "rules",
"rules": "enhance:deblurring",
"safety_rule": false,
"sample": "ID_006_keyboard",
"origin": "photo",
"split": "train",
"identity": "006",
"doc": "national_id",
"condition": "keyboard",
"gate": "enhance:deblurring",
"label_readable": 15,
"label_fields": 19
} |
{"doc":"business_license","blur":"mild","shadow":"mild","oth":["blur:moderate"],"allowed":["accept","enhance:deblurring","enhance:deshadowing"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "deblurring"
} | {
"label_source": "rules",
"rules": "enhance:deblurring",
"safety_rule": false,
"sample": "LIC_002_blur",
"origin": "photo",
"split": "train",
"identity": "002",
"doc": "business_license",
"condition": "blur",
"gate": "enhance:deblurring",
"label_readable": 2,
"label_fields": 8
} |
{"doc":"business_license","res":"mild","blur":"mild","curl":"severe","oth":["blur:moderate"],"allowed":["enhance:dewarping","enhance:deblurring"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "dewarping"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_002007"
} |
{"doc":"tax_card","round":1,"done":["deblurring"],"blur":"moderate","contrast":"moderate","crit":{"taxpayer_name":"blur:severe","taxpayer_number":"blur:moderate"},"oth":["blur:moderate"],"allowed":["enhance:appearance","enhance:binarization","reject:blur","reject:other"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic",
"sample": "synth_015892"
} |
{"doc":"national_id","contrast":"mild","crit":{"birth_date":"low_contrast:moderate","expiry_date":"low_contrast:moderate"},"oth":["low_contrast:moderate"],"allowed":["enhance:appearance","enhance:binarization"]} | {
"decision": {
"type": "choice",
"instructions": "What should happen to this document photo?",
"criteria": {
"accept": "readable as it is, send to OCR",
"enhance": "has a defect that restoration can fix",
"reject": "unusable, ask for a new photo"
}
},
"reject_reason": {
"typ... | {
"decision": "enhance",
"docres_task": "appearance"
} | {
"label_source": "rules",
"origin": "synthetic_enhance",
"sample": "synth_enhance_001881"
} |
KYC GATE Block decisions for Laya (v2)
Training rows for Laya, the decision model of the KYC agent's GATE Block (xgrs8/kyc_zain, private). Given the quality measurements of one photo of a (fictional) Iraqi national ID, tax card or company licence, Laya chooses accept, enhance (and which DocRes task) or reject (and why), among the branches the measurements permit. The GATE Block validates its answer; its safety rules always win.
Each row is what laya.train.finetune reads: {"state", "questions", "expected", "meta"}. The label is the
gate's deterministic rules applied to the state, so a model trained on it learns the gate's policy and its
probability means "agrees with the rules". The questions and their option order are the gate's; never reorder them.
origin (meta.origin) |
what |
|---|---|
photo |
the gate's own measurements of the real collected phone photos (998 labelled samples, ten conditions); meta also has the photo's identity split, condition and how many fields the human-checkable label says are readable |
simulated_photo |
photos simulated from the templates (every ID design: the real Iraqi ID, the first print run, the corrected ID) and measured by the gate |
synthetic, synthetic_enhance |
random measurement states over the gate's severity scales (no image); synthetic_enhance keeps the states where two or more DocRes tasks are permitted |
Splits, 80 / 10 / 10. A unique state goes entirely to one split (a hash of the state); the photos keep the
collected set's identity split, so a locked test identity's states are in test only. Identical states are
kept at most three times; the three decisions are drawn to about a third each in every split.
Configurations. sft: every row. rl: the rows whose state permits two or more branches, where Laya's
judgement and its probability matter (the RL stage trains the probability with proper scoring rules).
binarization never occurs (the rules never choose it). All documents are fictional.
Counts (v2). 21 270 unique states (no state with two labels). sft: 2 976 / 384 / 414 rows (train /
validation / test), a third of each decision; 257 / 150 / 138 of them from real photos. rl: 932 / 124 / 126.
Known gaps: some reject reasons stay rare because the rules seldom choose them on their own (train: blur 11,
too_small 2, other 1, dark 28, glare 39), and the rl rows are mostly enhance choices (where two or more
branches are permitted). summary.json has every count.
- Downloads last month
- -