§
    à©ºjr  ã                  ób   — d Z ddlmZ ddlZddlmZmZmZ ddlmZ ddlm	Z	m
Z
 dZg d	¢Zdd„ZdS )u  ultrafast-pycocotools â€” a bit-exact, fast drop-in replacement for pycocotools.

Three ways to use it:

Import it directly::

    from ultrafast_pycocotools import COCO, COCOeval

    gt = COCO("instances_val2017.json")
    dt = gt.loadRes("detections.json")
    ev = COCOeval(gt, dt, "bbox")
    ev.run()

Alias the module in code you already have::

    import ultrafast_pycocotools as pycocotools

Or take over the ``pycocotools`` import name for the whole process, which is
what you want when a third-party library imports it for you (torchvision,
detectron2, mmdetection)::

    from ultrafast_pycocotools import init_as_pycocotools
    init_as_pycocotools()

``init_as_pycocotools`` must run before whatever imports ``pycocotools``,
since Python caches modules on first import.
é    )ÚannotationsNé   )ÚcocoÚcocoevalÚmask)ÚCOCO)ÚCOCOevalÚParamsz0.1.6)r   r	   r
   r   r   r   Úinit_as_pycocotoolsÚ__version__ÚreturnÚNonec                 óÌ   — ddl } | t          j        d<   t          t          j        d<   t          t          j        d<   t
          t          j        d<   t
          t          j        d<   dS )zäRegister this package under the ``pycocotools`` import name.

    Also registers ``pycocotools._mask``, because some code imports the
    private extension module directly rather than going through
    ``pycocotools.mask``.
    r   NÚpycocotoolszpycocotools.cocozpycocotools.cocoevalzpycocotools.maskzpycocotools._mask)Úultrafast_pycocotoolsÚsysÚmodulesr   r   r   )r   s    ún/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/ultrafast_pycocotools/__init__.pyr   r   3   sV   € ð !Ð Ð Ð à!6…C„K�ÑÝ&*…C„KÐ"Ñ#Ý*2…C„KÐ&Ñ'Ý&*…C„KÐ"Ñ#Ý'+…C„KÐ#Ñ$Ð$Ð$ó    )r   r   )Ú__doc__Ú
__future__r   r   Ú r   r   r   r   r	   r
   r   Ú__all__r   © r   r   ú<module>r      s¨   ððð ð8 #Ð "Ð "Ð "Ð "Ð "à 
€
€
€
à "Ð "Ð "Ð "Ð "Ð "Ð "Ð "Ð "Ð "Ø Ð Ð Ð Ð Ð Ø &Ð &Ð &Ð &Ð &Ð &Ð &Ð &à€ð	ð 	ð 	€ð,ð ,ð ,ð ,ð ,ð ,r   