CoolFace
Datasetpublic

skillsafeai/passport-photo-requirements

Passport, visa and ID photo requirements Machine-readable photo rules for 49 passport, visa and ID documents across 46 countries, each checked against the issuing authority's own published page. Source repository: https://github.com/kylept/passport-photo-requirements What makes this one different Several passport-photo specification datasets exist. This one is built around provenance rather than breadth — it covers fewer documents than some, and records more about… See the full description on the dataset page: https://huggingface.co/datasets/skillsafeai/passport-photo-requirements.

sourceHugging Facecc-by-4.0updated 11d agoView on Hugging Face
0likes63downloads
Dataset Card

Passport, visa and ID photo requirements

Machine-readable photo rules for 49 passport, visa and ID documents across 46 countries, each checked against the issuing authority's own published page.

Source repository: https://github.com/kylept/passport-photo-requirements

What makes this one different

Several passport-photo specification datasets exist. This one is built around provenance rather than breadth — it covers fewer documents than some, and records more about how each value was obtained:

  • —officialSource — the URL of the issuing authority page the record was read from
  • —lastVerified — the date that page was last read, per record
  • —verificationStatus — verified, or the reason a value is missing
  • —headHeightBasis — whether the head-height range is officially published or falls back to ICAO Doc 9303 guidance because the authority publishes none
  • —editingRule — the authority's own wording on retouching and AI edits

A missing value means the authority does not publish that rule, or it could not be verified from an official page. It is never a guess.

Fields

FieldMeaning
idshort key, e.g. us, us_opr, cn
country / documentType / displayNamewhat the record describes
formatpublished size as the authority writes it, e.g. 2 x 2 in
widthMm / heightMmsize in millimetres
digitalOnlytrue when the document only accepts a digital upload
headHeightMinMm / headHeightMaxMmchin-to-crown range in mm
headHeightBasisOfficially published or ICAO guidance
eyeLineMinMm / eyeLineMaxMmeye line from the bottom edge, when published
allowedBackgrounds / prohibitedBackgroundscolours as the authority names them
glassesRuleAllowed, Allowed if ..., Not allowed, Not specified
editingRulethe authority's wording on retouching and AI edits
officialSourceURL of the authority page checked
lastVerifieddate that page was last read
verificationStatusverified, or why a value is missing

Where to get it

The same two files are published in four places. GitHub is the source of truth; the mirrors update when a version is tagged there.

WhereLinkUse it for
GitHubhttps://github.com/kylept/passport-photo-requirementsissues, pull requests, history
Zenodohttps://doi.org/10.5281/zenodo.22777229citing (concept DOI), archived copy
Hugging Facehttps://huggingface.co/datasets/skillsafeai/passport-photo-requirementsload_dataset("skillsafeai/passport-photo-requirements")
Kagglehttps://www.kaggle.com/datasets/skillsafe/passport-visa-and-id-photo-requirementsnotebooks
Webhttps://id-photo-maker.skillsafe.ai/passport-photo-requirements-dataset.htmla human-readable page per record

Files

  • —passport-photo-requirements.json — records plus dataset metadata
  • —passport-photo-requirements.csv — the same records, list fields joined with |

Licence and citation

CC BY 4.0. Rules change; lastVerified is per record. If an official page now says something different, please open an issue on the source repository and quote the page.