+
    {Dìj‹  ã                   ó<   € R t ^ RIt^RIHtHtHtHt ^RIH	t	 R t
R# )zÔ
"warp" engine: works on any CPU, no downloads, ~0.3 s per photo.
Same pipeline as the live mode: MediaPipe finds the body, the old clothes are
painted over, and the garment is perspective-warped onto the torso.
N)Úblend_warpedÚcover_clothesÚ	fit_quadsÚ
warp_dress)Údetect_bodyc           
     óº  € \        V 4      pVf   R	# V P                  R,          w  rgVR,          \        P                  ! Wv.\        P                  R7      ,          p\        VR,          VP                  W14      p	\        V P                  W4      p
RVR,          RVR,          /pV
f   W3# \        WV	^,          VR,          W$V
R
,          R7      p\        WÊ4      V3# )zMReturn (edited photo BGR, info dict), or (None, None) if no person was found.:Né   NÚpoints)Údtype:Né   NÚhips_okÚlegs_okÚmask)Údress_alpha)NN)ºNNNr   é   )	r   ÚshapeÚnpÚarrayÚfloat32r   r   r   r   )Ú	frame_bgrÚ
dress_bgraÚdress_colorÚanchorsÚsleevesÚ	detectionÚhÚwÚ	points_pxÚfitÚwarpedÚinfoÚresults   &&&&&        Útryon\services\engine_warp.pyÚrenderr$      sÊ   € ä˜IÓ&€IØÒØÐà�?‰?˜2Õ�D€AØ˜(Õ#¤b§h¢h°¨v¼R¿Z¹ZÔ&HÕH€IÜ
�I˜b•M :×#3Ñ#3°WÓ
I€CÜ˜	Ÿ™¨Ó9€FØ�y Õ+¨Y¸	À)Õ8LÐM€DØ‚~ØˆÐäØ˜c !�f i°Õ&7¸Ø˜7•Oô€Fô ˜Ó'¨Ð-Ð-ó    )Ú__doc__Únumpyr   Úoverlayr   r   r   r   Úpose_detectorr   r$   © r%   r#   Ú<module>r+      s   ðñó
 ç GÓ GÝ &ô.r%   