ó
    ç9iÇ
  ã                   ó,   •  " S  S5      r  " S S5      rg)c                   ó@   ^ • \ rS rSrSSSSSSS.U 4S jjrS rSrU =r$ )ÚTextDetectionMixiné   N©Úlimit_side_lenÚ
limit_typeÚthreshÚ
box_threshÚunclip_ratioÚinput_shapec                óB   >• UUUUUUS.U l         [        TU ]  " S0 UD6  g )Nr   © )Ú_extra_init_argsÚsuperÚ__init__)	Úselfr   r   r   r	   r
   r   ÚkwargsÚ	__class__s	           €Úa/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/paddleocr/_models/_text_detection.pyr   ÚTextDetectionMixin.__init__   s3   ø€ ð -Ø$ØØ$Ø(Ø&ñ!
ˆÔô 	‰ÒÑ"˜6Ó"ó    c                 ó   • U R                   $ )N©r   )r   s    r   Ú&_get_extra_paddlex_predictor_init_argsÚ9TextDetectionMixin._get_extra_paddlex_predictor_init_args&   s   € Ø×$Ñ$Ð$r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      s+   ø† ð ØØØØØ÷#ð #÷*%ð %r   r   c                   ó   • \ rS rSrS rSrg)Ú$TextDetectionSubcommandExecutorMixiné*   c                 ó  • UR                  S[        SS9  UR                  S[        SS9  UR                  S[        SS9  UR                  S[        S	S9  UR                  S
[        SS9  UR                  SS[        SSS9  g )Nz--limit_side_lenzFThis sets a limit on the side length of the input image for the model.)ÚtypeÚhelpz--limit_typeziThis determines how the side length limit is applied to the input image before feeding it into the model.z--threshz‘Detection pixel threshold for the model. Pixels with scores greater than this threshold in the output probability map are considered text pixels.z--box_threshz¸Detection box threshold for the model. A detection result is considered a text region if the average score of all pixels within the border of the result is greater than this threshold.z--unclip_ratioz|Expansion coefficient, which expands the text region using this method. The larger the value, the larger the expansion area.z--input_shapeé   )ÚCÚHÚWzInput shape of the model.)Únargsr%   Úmetavarr&   )Úadd_argumentÚintÚstrÚfloat)r   Ú	subparsers     r   Ú_add_text_detection_argsÚ=TextDetectionSubcommandExecutorMixin._add_text_detection_args+   sÃ   € Ø×ÑØÜØYð 	ñ 	
ð
 	×ÑØÜØ|ð 	ñ 	
ð
 	×ÑØÜð eð 	ñ 	
ð
 	×ÑØÜð Lð 	ñ 	
ð
 	×ÑØÜð Pð 	ñ 	
ð
 	×ÑØØÜØ#Ø,ð 	ò 	
r   r   N)r   r   r   r   r2   r   r   r   r   r"   r"   *   s   † õ 
r   r"   N)r   r"   r   r   r   Ú<module>r4      s   ð÷ %ñ %÷4!
ò !
r   