Ten en cuenta que algunos de estos formatos son “con pérdida” (por ejemplo, JPEG). Si reduces el tamaño de los archivos para los formatos con pérdida, puedes generar una degradación en la calidad de la imagen y en la exactitud de los resultados de Document AI.
Resolución del escaneo de documentos
Para obtener los resultados de OCR más precisos de Document AI, los documentos escaneados deben tener una resolución mínima de 200 dpi (puntos por pulgada).
Por lo general, 300 dpi y una resolución más alta producen los mejores resultados. La precisión del OCR depende de la resolución y el tamaño de fuente mínimo, además de otros factores, como la calidad del documento (y de la escritura a mano, si es el caso), por lo que se recomienda realizar pruebas.
La función de análisis de calidad de la imagen puede ayudarte a evaluar los problemas de resolución.
NOTA: Se requieren 2,000 x 3,000 píxeles para la imagen del reverso de la licencia de conducir de EE.UU. para poder leer el código de barras.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eDocument AI supports various image file types, including PDF, GIF, TIFF, JPEG, PNG, BMP, and WebP, as well as HTML files.\u003c/p\u003e\n"],["\u003cp\u003eFile size and page limits for Document AI are detailed on the Quotas and Limits page.\u003c/p\u003e\n"],["\u003cp\u003eReducing file sizes for lossy image formats like JPEG may result in a degradation of image quality and accuracy of the output from Document AI.\u003c/p\u003e\n"],["\u003cp\u003eFor optimal OCR results, document scans should be at least 200 dpi, with 300 dpi or higher recommended, and US driver's license back side images require 2k x 3k pixels for barcode reading.\u003c/p\u003e\n"],["\u003cp\u003eHTML support is restricted to the Layout Parser feature in Document AI.\u003c/p\u003e\n"]]],[],null,["# Supported Files\n===============\n\nFile Types\n----------\n\nDocument AI supports the following image types.\n\nFor information about file size and page limits, refer to the [Quotas and Limits](/document-ai/quotas#content_limits)\npage.\n\nNote that some of these image formats are \"lossy\" (for example, JPEG). Reducing\nfile sizes for lossy formats may result in a degradation of image quality and\naccuracy of results from Document AI.\n| **Note:** Prior JPEG compressions for TIFF are unsupported. Type of JPEG encapsulation defined by the TIFF [version 6.0 specification](https://gitlab.com/libtiff/libtiff/-/commit/f0a54a4fa0cfa377f493d57ee2af393005d5bbe5).\n| **Note:** HTML support is only available with [layout parser](/document-ai/docs/layout-parse-chunk). [Custom splitter](/document-ai/docs/custom-splitter) only supports PDF, TIFF, TIF, and GIF file types.\n\n### Document scan resolution\n\nFor most accurate OCR results from Document AI, document scans should be\na minimum of 200 dpi [(dots per inch)](https://en.wikipedia.org/wiki/Dots_per_inch).\n300 dpi and higher generally produce the best results. OCR accuracy is dependent\non both the resolution and the minimum font size, along with other factors like\ndocument (and if handwritten, handwriting) quality, so testing is recommended.\nThe [image quality analysis](/document-ai/docs/process-documents-ocr#image-quality_analysis)\nfeature can help evaluate resolution concerns.\n\nNOTE: 2k x 3k pixels are required for the US driver's license back side image in\norder to read the barcode."]]