Introduction #
Total-Text is a dataset tailored for instance segmentation, semantic segmentation, and object detection tasks, containing 1555 images with 11165 labeled objects belonging to a single class β text with text label tag. Its primary aim is to open new research avenues in the scene text domain. Unlike traditional text datasets, Total-Text uniquely includes curved-oriented text in addition to horizontal and multi-oriented text, offering diverse text orientations in more than half of its images. This variety makes it a crucial resource for advancing text-related studies in computer vision and natural language processing.
The effort of collecting this dataset is motivated by the missing of curved text in existing scene text datasets. Curved text can be easily found in real life scenes such as: business logos, signs, entrances etc, surprisingly such data has close to zero existence in the current datasets. The most popular scene text dataset over the decade, ICDARs have only horizontal text.
Authors propose Total-Text with 4,265 curved text out of 9,330 total text instances, hoping to spur an interest in the community to address curved text.
![image](https://i.ibb.co/hZP3R3f/d234c946ce55.jpg)
Statistics of Total-Text dataset.
Curved text observation
Geometrically speaking, a straight line has no angle variation along the line, and thus can be described as a linear function, y = mx + c. A curved line is not a straight line. It is free of angle variation restriction throughout the line. Shifting to the scene text perspective, authors observed that horizontal oriented text or word is a series of characters that can be connected by a straight line; their bottom alignment in particular for most cases. At the same time, multi-oriented text, in scene text convention, can also be connected by a straight line, given an offset with respect to a horizontal line. Meanwhile, characters a in curved word will not have unified angle offset, in which deemed to fit a polynomial line in text
level.
![image](https://i.ibb.co/xzymvzf/208d9bb2f90f.jpg)
1st row: Examples from ICDAR 2013, ICDAR2015 and MSRA-TD500; 2nd row: Slightly curved to extremely curved text examples from the Total-Text.
In authorsβ dataset collection, they found out that curved text in natural images could vary from slightly curved to extremely curved. Also, it is not surprising to find that most of them are in the shape of a symmetric arc due to the symmetrical preferences in human vision.
Orientation diversity
Approximate by half of the text instances are curved, and the other half is split almost equally between horizontal and multi-oriented. Curve text has its own variation too. Based on authorsβ observation, they classified them as horizontal curved, vertical curved, circular, and wavy (refer to 6a for image example). Although all the images were collected with curved text in mind, other orientations still occupy half of the total instances. A closer look into the dataset shows that curved text usually appears with either horizontal or multi-oriented texts. The mixture of orientations in an image, challenges text detection algorithms to achieve robustness and generalization in terms of text orientations.
Scene diversity
In comparison to CUTE80 (the only publicly available curved text dataset), which majority of the images are football jerseys, Total-Text is much more diversified. Business related places like restaurant (i.e., Nandos, Starbucks), company branding logos, and merchant stores take up of 61.2% of the curved text instances. Tourist spots such as park (i.e., Beverly Hills in America), museums and landmarks (i.e., Harajuku in Japan) occupy 21.1%.
![image](https://i.ibb.co/0nH471S/f60acb3d7d63.jpg)
Curved text is commonly seen in real world scenery.
Summary #
Total-Text is a dataset for instance segmentation, semantic segmentation, and object detection tasks. It is used in the optical character recognition (OCR) domain.
The dataset consists of 1555 images with 11165 labeled objects belonging to 1 single class (text).
Images in the Total-Text dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. There are 300 (19% of the total) unlabeled images (i.e. without annotations). There are 2 splits in the dataset: train (1255 images) and test (300 images). Also the dataset includes text object tag. Explore them in supervisely labeling tool. The dataset was released in 2017 by the University of Malaya, Malaysia.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/total-text/main/visualizations/poster.png?width=1200)
Explore #
Total-Text dataset has 1555 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/p/v/Uw/3MITtBZpBP9bf4FjBDCwF0nx7o7wkw2Wvkpt5syKAIxdKxSPnamqNXzQafE0ESffEJHWplamvoAzeiDduKQrw2BBNQkMB5BQ0xrtWkDIrgRTUgxnmGfInV8TyqdE.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/N/Z4/DjmwkT0O6gmtJJRPmnACpx1ufxXYkJRlIxLjUSWs2dRO1e9g5Ij8o8jrqGmJFfzFjrl8jzDrUF6an6uimBL0mKugl1lHJpT5n7tEAxcFBjkayjNRLKrq31l2rmsk.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/5/S/BO/owcHZGN6jMAaQ500TBndx74yTPnZ0vaIx2vqtkzlVDqNsR4QxN5TQvwwXNRaUJE52mT1FTKgnhSUBCSWnhYcgOqqrHQ2i6h3iC6xYckk1vXWYOZoQbscqpNJw9Qn.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/h/H/IU/JgVK2bgOVut0jJEGlDkxmBDXZajYsUVOhRuiCIkTdu3bWIry39N1MSCtQTnTEPcai18I66ABvMhle4A3WYSCaWqW2Wxf2mzPlIzajLoAR4SWjSmWubXLK8t6TdMp.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/c/Q/ZJ/gRZhsEgg8oRl9jn34Mg9r2ltrLcKo55aTTrGEC38dw6wIE4BJtXuLYvuzUWlcd2Ufd9Ja7ZVvrc7Ghj17ZHAFs9yHKBu3ussVOK8Xqgzqab9YFbMmKNBLq8WqIs0.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/F/2Z/OcHMw33EQNo5OPOBaYifvzUgxXmqsNucQavg9g1GiQtve1OLTwCZ9yLQg4Xd17riR12JUJ2BjjrPsmUS95swk47vLDCq7aqdupUo56SZE2soEoqXzt5rXsqK8CeN.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/g/S/HD/DC8BIrkds0IlIxaGi3xttptHcjcSE6SpSgmPwInaLkU70LXy2XETWRje0i1oSQpIwp8zm3xeEXNZrkzeDEU0mZOayfwcY4HqnRSKgkgwzlzyxwobhNmqDxh2PDts.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/S/rU/4UGpAwtDPLhE7ZQ2rpnX7XKqcDzsqCu2EP6VBly2fKHgqHQbqbT9kHQMZcMi5dqIlukITXrLieb8KQ62aHiZpDODBamCj8Z3YQ5cGCn9nduwceOn8lKqq9DgXxZ0.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/x/N/W6/tEjS3iaq88phPjTbSacrZbhMIW2Uurs6GD9YynR0NbxDBXOBimCHls7hLvm2NijzCFkZyXtmfREgNID3nlufVL2TX75X9rOJwIvMzyAOsfpCM3Og5eYMqNfM7ngx.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/i/r1/90Y4ZNX2gNMX9Frvs5EBf9Nrh0yLwA17xHLeew0uwPXuqAfEJBLCczknar9NwlhJ8qmJW9ixk1fXVLGERrD6kB0ZeSFbRVaYEkrlEnnfwdQo93aPTu2ewQme0CuF.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/c/9P/kWdnkWPqpZM2YwUbnRh54KebvuwWdo4vg8lvY8QDs5ppslATSKQsJ7vSk01I1VavfSkST5IiCIXBwSSvnYCpWS40ZYxNNPfz49q6F0nv0FnI7MCDzgcmhG1dCwwr.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/T/ek/BsjMvgr75MWDISu0Ek5rSMzggQGiuyjP9FJ0fcGaZTzSlECJbyZfbLu9ClnfjFKmiHaXekryeAY5ykLTaJhVZeZrvBRArQB3Dob11wbHX1X8Fo8x9SwsuNmwAxFP.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/P/n/5Z/UpgRh1g6w7F0zahj5lchUl14VJBvdY8S7jamH4GLU0CkQ48hIdNc1lBoY90GQ1eT79sPxNGV1zruxH3SvwPF74IOehXeT60Akn9HjJ4bKic82YyOOmrOFdSWECeq.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/K/bP/cVFUaQL8AXG7LqUNgEs1M9TiFDWngb9QPJqfkJqZEcoNGKbItIl8SBvF65XaDyNGuHF8OILewcAH17W5amq8rVPLHId7E9jyXZHKVd3huLY8e8tEltEBwYTq24cV.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/C/BE/Eo0JMaxRCL6a2Qly9qx1VTY1PFbktUCoSbPd0ZnQc1nCwv4rqHfwMsvPT1nwdpHd9BxDjqJHnkx18bMuLJsOKOtUbrTAA5nBvf3Ms0C2QUxcATKmuxOjP9jSto31.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/U/ZI/t4tKOUvYV88fe2e9H72Ahq3SgyC8oUSb7Mwbg5L3lVCI79dDRjzWW5xSRHro43GnRbW3YSrBHy7VKvhmmS79W4FnrCoSjuImgdyKONt4RlIg34Go7co5oJLL21GH.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/p/x/S7/eWdk2Qb8ePWwXPg4b5avU7mf1MehAsoTMzAybhBsYFuoLmRsISC0W6scdHJzotqOb6UkIja6idn36HyNjOd9KpBx4FmfTo0yhN10e7nSO5ETpeXy8fjj38mpW58Z.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/o/qa/4LrV7cLbGd3KRhwafb3ydHE7oiKOOrGbqa7JafJxMUfDI9xAxTsLtuq7kOpk8cqonV6PKkANLM9vuGUelXMtCzfro2rIJNNITe6kV3QgTn9zkRSfMD0mjxpz7Ji6.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/j/Y/wY/Tw2XJrLBOCJcz3ZLKc4gK0aeJBEUAvPzhyS8SZh7o7VN4SeDgaxWaxdrrdN28fU2ZvRmYEjH3I253IPPclqJP2TcTFcnMrIXLKd6P9tfmVDwuaRjugnqAdvn1bwh.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/A/zP/OzDig9LxYf3Lq4P3N16yrXdKilGmmVCz7U7NinUHnkaBsCqjW3ejcr4aHQaJ4WPAiX3wD8nGBJz4vnqGWa0Hemds3AatUNzR3Jb3NkUVRNR4pQeFYWtB9nCXci9H.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/V/V/6f/Aj0GZK86W2h2Z3XeNPPmvQoDYx5pVozPFqjMaWxihBtzEDkyFwo4cSeF51ty8XUrHyonunsMaL3Cga2Tn386JvVTvrJrS0hHPREapDappn6WzMx8iJWJpm6uFJTx.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/d/aW/4kjtOMlYeNNy6Fn7szQ9K1IkRkNQeeBU0ZzBXKx1TeLS7ZdgZptAR5EGw8GxBTLRE0tUfCfSM5dVfkyYeDx8fv8ps5668hp6rNkk4LLx4tCZWSxkts5yjlFEC8Az.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/A/WQ/tpLY4sW5bJUAFuGLcNpNbuC7RihqQZidtHdW83zqJijiL9RI6WejacEuhfj5oKp9hyI1Thuiylky8SszSGWu1niHeV2sjVpsKIfX8DoNVQqTuZ9drRxaCsGIfs6L.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/A/dQ/eeTEOnWBDAhxDgIEjFu8YY62v9WAfRVEsGWZ4nJ7kw5fNvBVbFjJtXrEOrrNd0CvZBjj515fnwZuQX2KuWCl4dPDgB7PhtGasoV727canffIm2NkGelwDdx7lWTX.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/0/S/fF/EGYTO91wbYnjdhVlGt9lGR3PMIrLEmYw6sPI8vg59hiDbiXTfzLBxOd0Dn57l5q6sHF9TSH77xNeRThpCSaMeEPxy1EpqBGvdmssmc7hnyXRnPkfh6lllqTbvhvE.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/A/Cp/qEpIQqjLcExPQ9syQIRRk2E0k7VNpMfNNlGl5hbVNuuteVNAwKnu9FmGyLszjjrAnoh6rcuFB5a6XM9vmRg394SMx2xUx2mRvQZCF8YkdzXEmCV23Ee0mz5KoS9W.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/W/PM/b1DYvZlhcXBfJkZpuOmwKEd4TiPn9u75iYd0R8AaetOLUpROU7DsbS8y0aQEsuVdFlJQpc18LpSKlpvwL7UtO6ElUVbUrb7YcjA7QaQIlx3HM59FNaZ1LhqtAApQ.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/2/KT/hskyoJ3AXKYIcM3HX07qsJie3yOt6gTBAcJ5Tc3zPb7wHTeAsaqswjLsPCGy1Ghpp5WIGKPV6pxCLmybf3IqngSSzwCyd1MWsLtiUNiE7Stgb9ARRVcYFuv0eOTb.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/g/mV/DcaELON9kJOmInkwDKwBrcWKsiC9CMMCXip7zX3dRT8Q1M2R2oNNpKaMBJOTJjDf7UGrahJV2MQL97pxMVRiHYCcjVfQOgvogBG7sIZorH2DKjq3mwSEQKZaKFyN.jpg)
![Sample image from Total-Text](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/t/Nj/VVP0gBOKSegtOuflz8hXr5dnNefX0HUFDgzlKtvGVnf71nBg8rg9kERGUwvlhMyeuJ1iLG4PEn20C2SMflM4xP54jmw0AQAnbpp049cSuma2tVlgmB7F58L3xvBN.jpg)
Class balance #
There are 1 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class γ
€ | Images γ
€ | Objects γ
€ | Count on image average | Area on image average |
---|---|---|---|---|
textβ polygon | 1255 | 11165 | 8.9 | 9.15% |
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
text polygon | 11165 | 1% | 41.57% | 0.01% | 6px | 0.83% | 1180px | 97.48% | 69px | 8.63% | 7px | 0.69% | 2507px | 98.85% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/total-text/main/stats/classes_heatmaps.png)
Objects #
Table contains all 11165 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID γ
€ | Class γ
€ | Image name click row to open | Image size height x width | Height γ
€ | Height γ
€ | Width γ
€ | Width γ
€ | Area γ
€ |
---|---|---|---|---|---|---|---|---|
1β | text polygon | img283.jpg | 1328 x 2000 | 77px | 5.8% | 122px | 6.1% | 0.19% |
2β | text polygon | img283.jpg | 1328 x 2000 | 108px | 8.13% | 217px | 10.85% | 0.37% |
3β | text polygon | img958.jpg | 640 x 486 | 57px | 8.91% | 228px | 46.91% | 2.05% |
4β | text polygon | img958.jpg | 640 x 486 | 37px | 5.78% | 94px | 19.34% | 0.87% |
5β | text polygon | img958.jpg | 640 x 486 | 35px | 5.47% | 85px | 17.49% | 0.51% |
6β | text polygon | img958.jpg | 640 x 486 | 33px | 5.16% | 83px | 17.08% | 0.76% |
7β | text polygon | img958.jpg | 640 x 486 | 25px | 3.91% | 87px | 17.9% | 0.44% |
8β | text polygon | img958.jpg | 640 x 486 | 14px | 2.19% | 73px | 15.02% | 0.21% |
9β | text polygon | img1351.jpg | 494 x 640 | 127px | 25.71% | 172px | 26.88% | 5.22% |
10β | text polygon | img1351.jpg | 494 x 640 | 148px | 29.96% | 189px | 29.53% | 5.79% |
License #
Total-Text is under 3-Clause BSD License license.
Citation #
If you make use of the Total-Text data, please cite the following reference:
@misc{chng2017totaltext,
title={Total-Text: A Comprehensive Dataset for Scene Text Detection and Recognition},
author={Chee Kheng Chng and Chee Seng Chan},
year={2017},
eprint={1710.10400},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-total-text-dataset,
title = { Visualization Tools for Total-Text Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/total-text } },
url = { https://datasetninja.com/total-text },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Total-Text can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
β¦ using following python code:
import dataset_tools as dtools
dtools.download(dataset='Total-Text', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.