Skip to main content    

An official website of the United States government

Here’s how you know

**Official websites use .gov**              A **.gov** website belongs to an official government organization in the United States.            

**Secure .gov websites use HTTPS**              A **lock** (  LockA locked padlock) or **https://** means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.            

https://www.nist.gov/itl/products-and-services/emnist-dataset

            -  Topics  -  All Topics 
-  Advanced communications 
-  Artificial intelligence 
-  Bioscience 
-  Buildings and construction 
-  Chemistry 
-  Climate 
-  Cybersecurity 
-  Electronics 
-  Energy 
-  Environment 
-  Fire 
-  Forensic science 
-  Health 
-  Information technology 
-  Infrastructure 
-  Manufacturing 
-  Materials 
-  Mathematics and statistics 
-  Metrology 
-  Nanotechnology 
-  Neutron research 
-  Performance excellence 
-  Physics 
-  Public safety 
-  Resilience 
-  Standards 
-  Transportation 
 
            -  Publications 
            -  Labs & Major Programs  -  Laboratories    -  Communications Technology Laboratory 
  -  Engineering Laboratory 
  -  Information Technology Laboratory 
  -  Material Measurement Laboratory 
  -  Physical Measurement Laboratory 
-  User Facilities    -  NIST Center for Neutron Research 
  -  CNST NanoFab 
-  Research Test Beds 
-  Research Projects 
-  Tools & Instruments 
-  Major Programs    -  Baldrige Performance Excellence Program 
  -  CHIPS for America Initiative 
  -  Manufacturing Extension Partnership (MEP) 
  -  Office of Advanced Manufacturing 
  -  Special Programs Office 
  -  Technology Partnerships Office 
 
            -  Services & Resources  -  Standards and Measurements    -  Calibration Services 
  -  Laboratory Accreditation (NVLAP) 
  -  Quality System 
  -  Standard Reference Materials (SRMs) 
  -  Standards.gov 
  -  Time Services 
  -  Office of Weights and Measures 
-  Software 
-  Data    -  Chemistry WebBook 
  -  National Vulnerability Database 
  -  Physical Reference Data 
  -  Standard Reference Data (SRD) 
-  Storefront 
-  License & Patents 
-  Computer Security Resource Center (CSRC) 
-  NIST Research Library 
 
            -  News & Events  -  News 
-  Events 
-  Blogs 
-  Feature Stories 
-  Awards 
-  Video Gallery 
-  Image Gallery 
-  Media Contacts 
 
            -  About NIST  -  About Us    -  Leadership 
  -  Organization Structure 
  -  Budget & Planning 
-  Contact Us 
-  Visit 
-  Careers    -  Student programs 
-  Work with NIST 
-  History    -  NIST Digital Archives 
  -  NIST Museum 
  -  NIST and the Nobel 
-  Educational Resources 
 

Information Technology LaboratoryInformation Access Division

## Image Group

-  Programs/Projects  Expand or Collapse    -  Fingerprint  Expand or Collapse      -  ANSI/NIST-ITL Standard 
    -  Fingerprint Compression  Expand or Collapse        -  WSQ Certification Procedure 
      -  Biometric Compression Information 
      -  JPEG 2000 Conformance Testing 
    -  Fingerprint Recognition  Expand or Collapse        -  Minutiae Interoperability Exchange (MINEX) 
      -  Proprietary Fingerprint Template Evaluations (PFT) 
      -  Fingerprint Vendor Technology Evaluation (FpVTE) 
      -  Slap Fingerprint Segmentation Evaluation (Slapseg) 
      -  Biometric Quality 
      -  Evaluation of Latent Fingerprint Technologies (ELFT) 
    -  Next Generation Fingerprint Technologies  Expand or Collapse        -  Contactless Fingerprint Capture 
      -  Fast Tenprint Capture 
      -  Statistical Friction Ridge Analysis (SFRA) 
  -  Iris  Expand or Collapse      -  IRIS Experts Group II 
    -  Iris Challenge Evaluation (ICE) 
    -  Iris Exchange (IREX) 
    -  Multiple Biometric Evaluation (MBE) 
    -  Multiple Biometrics Grand Challenge (MBGC) 
  -  Face  Expand or Collapse      -  Chexia Face Recognition 
    -  Face Challenges 
    -  Face Recognition Grand Challenge (FRGC) 
    -  Face Recognition Prize Challenge (FRPC) 2017 
    -  Face Recognition Technology (FERET) 
    -  Face Recognition Vendor Test (FRVT) Ongoing 
    -  Face Recognition Vendor Test (FRVT) 
    -  Face and Ocular Challenge Series (FOCS) 
    -  Face in Video Evaluation (FIVE) 
    -  Multiple Biometric Evaluation (MBE) 
    -  Multiple Biometric Grand Challenge (MBGC) 
    -  Point and Shoot Face Recognition Challenge (PaSC) 
    -  Text Recognition Algorithm Independent Evaluation (TRAIT) 
  -  Tattoo  Expand or Collapse      -  Tattoo Recognition Technology - Evaluation (Tatt-E) 
    -  Tattoo Recognition Technology – Challenge (Tatt-C) 
  -  Biometrics 
  -  Legacy Projects  Expand or Collapse      -  Neural Networks 
    -  Optical Character Recognition (OCR) 
    -  PATRIOT Act Research 
  -  Biometric Web Services (BWS) 
  -  Digital Video Exchange Standards 
-  Resources  Expand or Collapse    -  Biometric Special Databases and Software 
  -  Biometrics Evaluations 
  -  INCITS Standardized Biometric Data 
  -  Image Group Publications (by year) 
  -  Image Group Workshops/Conferences/Talks 
-  Staff Listing 
-  Publications 
-  Products and Services  Expand or Collapse    -  Image Group Open Source Server (NIGOS) 
  -  Encrypting Software/Data for Transmission to NIST 
  -  Software  Expand or Collapse      -  Biometric Evaluation Framework 
    -  Fingerprint Minutiae Viewer (FpMV) 
    -  Multimodal Biometric Application Resource Kit (MBARK) 
    -  NIST Biometric Image Software (NBIS) 
    -  BiomAPP - NIST Biometric Data Interchange Format Software Tools 
    -  BiomDI - Software tools supporting Standard Biometrics Data Interchange Formats 
    -  Dental Encoding Translator Applications Suite (DEnTAS) 
    -  Development of NFIQ 2.0 
    -  NIST Fingerprint Registration and Comparison Tool (NFRaCT) 
    -  Public Domain OCR 
    -  Video-based Automatic System for Iris Recognition (VASIR) 

## Connect with us

Facebook

# The EMNIST Dataset

## Share

Facebook

Linkedin

Twitter

Email

### What is it?

The EMNIST dataset is a set of handwritten character digits derived from the NIST Special Database 19and converted to a 28x28 pixel image format and dataset structure that directly matches the MNIST dataset . Further information on the dataset contents and conversion process can be found in the paper available at https://arxiv.org/abs/1702.05373v1.

### Formats

The dataset is provided in two file formats. Both versions of the dataset contain identical information, and are provided entirely for the sake of convenience. The first dataset is provided in a Matlab format that is accessible through both Matlab and Python (using the scipy.io.loadmat function). The second version of the dataset is provided in the same binary format as the original MNIST dataset as outlined in http://yann.lecun.com/exdb/mnist/

### Dataset Summary

There are six different splits provided in this dataset. A short summary of the dataset is provided below:
                  - EMNIST ByClass: 814,255 characters. 62 unbalanced classes.
                  - EMNIST ByMerge: 814,255 characters. 47 unbalanced classes.
                  - EMNIST Balanced:  131,600 characters. 47 balanced classes.
                  - EMNIST Letters: 145,600 characters. 26 balanced classes.
                  - EMNIST Digits: 280,000 characters. 10 balanced classes.
                  - EMNIST MNIST: 70,000 characters. 10 balanced classes.

The full complement of the NIST Special Database 19 is available in the ByClass and ByMerge splits. The EMNIST Balanced dataset contains a set of characters with an equal number of samples per class. The EMNIST Letters dataset merges a balanced set of the uppercase and lowercase letters into a single 26-class task. The EMNIST Digits and EMNIST MNIST dataset provide balanced handwritten digit datasets directly compatible with the original MNIST dataset.

Please refer to the EMNIST paper [PDF, BIB]for further details of the dataset structure.

### How to cite

Please cite the following paper when using or referencing the dataset:

Cohen, G., Afshar, S., Tapson, J., & van Schaik, A. (2017). EMNIST: an extension of MNIST to handwritten letters. Retrieved from http://arxiv.org/abs/1702.05373

### Authors

Gregory Cohen, Saeed Afshar, Jonathan Tapson, and Andre van Schaik	The MARCS Institute for Brain, Behaviour and Development	Western Sydney University	Penrith, Australia 2751 

Email: emnist [at] nist.gov (emnist[at]nist[dot]gov)

### Where to download ?

                  - Readme.txt file
                  - Binary format  a s the  original MNIST dataset
                  - Matlab format dataset
                  - EMNIST paper,  a vailable  a t:  https://arxiv.org/abs/1702.05373v1

Information technologyBiometrics

### HEADQUARTERS

301-975-2000

Webmaster | Contact Us | Our Other Offices

TwitterFacebookLinkedInInstagramYouTubeGiphyRSS FeedMailing List

Feedback

            -  Site Privacy 
            -  Accessibility 
            -  Privacy Program 
            -  Copyrights 
            -  Vulnerability Disclosure 
            -  No Fear Act Policy 
            -  FOIA 
            -  Environmental Policy 
            -  Scientific Integrity 
            -  Information Quality Standards 
            -  Commerce.gov 
            -  Science.gov 
            -  USA.gov 
            -  Vote.gov