+
     °³j]  ã                   ó–   € ^ RI HtHt ^ RIHt ^ RIHtHt ^ RI	H
t
  ! R R]4      t ! R R]4      t ! R	 R
]4      t ! R R]4      tR# )é    )ÚAnyÚUnion)Ú
tv_tensors)Ú
functionalÚ	Transform©ÚCLAMPING_MODE_TYPEc                   ón   a a€ ] tR t^t oRt]P                  3tV3R lV 3R lltV3R lR lt	Rt
VtV ;t# )ÚConvertBoundingBoxFormataK  Convert bounding box coordinates to the given ``format``, eg from "CXCYWH" to "XYXY".

Args:
    format (str or tv_tensors.BoundingBoxFormat): output bounding box format.
        Possible values are defined by :class:`~torchvision.tv_tensors.BoundingBoxFormat` and
        string values match the enums, e.g. "XYXY" or "XYWH" etc.
c                óN   <€ V ^8„  d   QhRS[ S[S[P                  3,          RR/# )é   ÚformatÚreturnN)r   Ústrr   ÚBoundingBoxFormat)r   Ú__classdict__s   "€Ú`/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torchvision/transforms/v2/_meta.pyÚ__annotate__Ú%ConvertBoundingBoxFormat.__annotate__   s+   ø€ ÷ ñ ™u¡S©*×*FÑ*FÐ%FÕGð ÈDñ ó    c                ó0   <€ \         SV `  4        Wn        R # ©N)ÚsuperÚ__init__r   )Úselfr   Ú	__class__s   &&€r   r   Ú!ConvertBoundingBoxFormat.__init__   s   ø€ Ü‰ÑÔØŽr   c                ój   <€ V ^8„  d   QhRS[ P                  RS[S[S[3,          RS[ P                  /# ©r   ÚinptÚparamsr   ©r   ÚBoundingBoxesÚdictr   r   )r   r   s   "€r   r   r      s<   ø€ ÷ Kñ K™j×6Ñ6ð KÁÁSÉ#ÀXÅð KÑS]×SkÑSkñ Kr   c                óD   € \         P                  ! WP                  R 7      # ))Ú
new_format)ÚFÚconvert_bounding_box_formatr   ©r   r    r!   s   &&&r   Ú	transformÚ"ConvertBoundingBoxFormat.transform   s   € Ü×,Ò,¨T¿k¹kÔJÐJr   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r#   Ú_transformed_typesr   r*   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r   r   s   @@r   r   r      s7   ù‡ € ñð %×2Ñ2Ð4Ð÷ó ÷K÷ Kð Kr   r   c                   ór   a a€ ] tR t^t oRtRV3R lV 3R lllt]P                  3tV3R lR lt	Rt
VtV ;t# )ÚClampBoundingBoxesa  Clamp bounding boxes to their corresponding image dimensions.

Args:
    clamping_mode: Default is "auto" which relies on the input box'
        ``clamping_mode`` attribute. Read more in :ref:`clamping_mode_tuto`
        for more details on how to use this transform.
c                ó:   <€ V ^8„  d   QhRS[ S[S[3,          RR/# ©r   Úclamping_moder   N)r   r	   r   )r   r   s   "€r   r   ÚClampBoundingBoxes.__annotate__$   s'   ø€ ÷ +ñ +¡eÑ,>ÁÐ,CÕ&Dð +ÐRVñ +r   c                ó0   <€ \         SV `  4        Wn        R # r   )r   r   r:   ©r   r:   r   s   &&€r   r   ÚClampBoundingBoxes.__init__$   s   ø€ Ü‰ÑÔØ*Ör   c                ój   <€ V ^8„  d   QhRS[ P                  RS[S[S[3,          RS[ P                  /# r   r"   )r   r   s   "€r   r   r;   *   s<   ø€ ÷ Nñ N™j×6Ñ6ð NÁÁSÉ#ÀXÅð NÑS]×SkÑSkñ Nr   c                óD   € \         P                  ! WP                  R 7      # )©r:   )r'   Úclamp_bounding_boxesr:   r)   s   &&&r   r*   ÚClampBoundingBoxes.transform*   s   € Ü×%Ò% d×:LÑ:LÔMÐMr   rA   )Úauto©r,   r-   r.   r/   r0   r   r   r#   r1   r*   r2   r3   r4   r5   s   @@r   r7   r7      s7   ù‡ € ñ÷+õ +ð %×2Ñ2Ð4Ð÷N÷ Nð Nr   r7   c                   óP   a € ] tR t^.t o Rt]P                  3tV 3R lR ltRt	V t
R# )ÚClampKeyPointsz†Clamp keypoints to their corresponding image dimensions.

The clamping is done according to the keypoints' ``canvas_size`` meta-data.
c                ój   <€ V ^8„  d   QhRS[ P                  RS[S[S[3,          RS[ P                  /# r   )r   Ú	KeyPointsr$   r   r   )r   r   s   "€r   r   ÚClampKeyPoints.__annotate__6   s6   ø€ ÷ 'ñ '™j×2Ñ2ð '¹DÁÁcÀ½Nð 'Éz×OcÑOcñ 'r   c                ó.   € \         P                  ! V4      # r   )r'   Úclamp_keypointsr)   s   &&&r   r*   ÚClampKeyPoints.transform6   s   € Ü× Ò  Ó&Ð&r   © N)r,   r-   r.   r/   r0   r   rI   r1   r*   r2   r3   )r   s   @r   rG   rG   .   s%   ø‡ € ñð
 %×.Ñ.Ð0Ð÷'ö 'r   rG   c                   ón   a a€ ] tR t^:t oRtV3R lV 3R llt]P                  3tV3R lR lt	Rt
VtV ;t# )ÚSetClampingModea   Sets the ``clamping_mode`` attribute of the bounding boxes for future transforms.



Args:
    clamping_mode: The clamping mode to set. Possible values are: "soft",
        "hard", or ``None``. Read more in :ref:`clamping_mode_tuto` for more
        details on how to use this transform.
c                ó$   <€ V ^8„  d   QhRS[ RR/# r9   r   )r   r   s   "€r   r   ÚSetClampingMode.__annotate__E   s    ø€ ÷ _ñ _Ñ&8ð _¸Tñ _r   c                ón   <€ \         SV `  4        Wn        V P                  R9  d   \        RV 24      hR # )Nz.clamping_mode must be soft, hard or None, got )NÚsoftÚhard)r   r   r:   Ú
ValueErrorr=   s   &&€r   r   ÚSetClampingMode.__init__E   s;   ø€ Ü‰ÑÔØ*Ôà×ÑÐ%;Ô;ÜÐMÈmÈ_Ð]Ó^Ð^ñ <r   c                ój   <€ V ^8„  d   QhRS[ P                  RS[S[S[3,          RS[ P                  /# r   r"   )r   r   s   "€r   r   rR   N   s7   ø€ ÷ ñ ™j×6Ñ6ð ÁÁSÉ#ÀXÅð ÑS]×SkÑSkñ r   c                óH   € VP                  4       pV P                  Vn        V# r   )Úcloner:   )r   r    r!   Úouts   &&& r   r*   ÚSetClampingMode.transformN   s    € Ø(,¯
©
«ˆØ ×.Ñ.ˆÔØˆ
r   rA   rE   r5   s   @@r   rP   rP   :   s6   ù‡ € ñ÷_ó _ð %×2Ñ2Ð4Ð÷÷ ð r   rP   N)Útypingr   r   Útorchvisionr   Útorchvision.transforms.v2r   r'   r   Ú&torchvision.tv_tensors._bounding_boxesr	   r   r7   rG   rP   rN   r   r   Ú<module>ra      sE   ðß å "ß @Ý EôK˜yô Kô&N˜ô Nô&	'�Yô 	'ô�iö r   