o
    1ÎjS  ã                   @   sª   U d dl mZmZmZmZ d dlmZ ddlmZm	Z	 ddl
mZ g d¢ZdZee ed	< G d
d„ dejƒZG dd„ deƒZG dd„ deƒZdeeefiZee	 ed< dS )é    )ÚDictÚFinalÚListÚOptional)Ú	BaseModelé   )ÚDataInfoÚPrimaryOperationsé   )Úocr)ÚINFER_ENDPOINTÚInferRequestÚTableRecResultÚInferResultÚPRIMARY_OPERATIONSz/table-recognitionr   c                   @   sÊ   e Zd ZU dZee ed< dZee ed< dZee ed< dZ	ee ed< dZ
ee ed< dZee ed< dZee ed< dZee ed	< dZee ed
< dZee ed< dZeed< dZee ed< dS )r   NÚuseDocOrientationClassifyÚuseDocUnwarpingÚuseLayoutDetectionÚuseOcrModelÚtextDetLimitSideLenÚtextDetLimitTypeÚtextDetThreshÚtextDetBoxThreshÚtextDetUnclipRatioÚtextRecScoreThreshFÚuseOcrResultsWithTableCellsÚ	visualize)Ú__name__Ú
__module__Ú__qualname__r   r   ÚboolÚ__annotations__r   r   r   r   Úintr   Ústrr   Úfloatr   r   r   r   r   © r%   r%   út/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddlex/inference/serving/schemas/table_recognition.pyr   !   s   
 r   c                   @   s>   e Zd ZU eed< dZeeeef  ed< dZ	ee ed< dS )r   ZprunedResultNÚoutputImagesÚ
inputImage)
r   r   r   Údictr!   r'   r   r   r#   r(   r%   r%   r%   r&   r   0   s   
 r   c                   @   s"   e Zd ZU ee ed< eed< dS )r   ZtableRecResultsZdataInfoN)r   r   r   r   r   r!   r   r%   r%   r%   r&   r   6   s   
 r   Zinferr   N)Útypingr   r   r   r   Zpydanticr   Zinfra.modelsr   r	   Zsharedr   Ú__all__r   r#   r!   ZBaseInferRequestr   r   r   r   r%   r%   r%   r&   Ú<module>   s   
ÿ