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ddgi ddgddgddgddgddgddgddgddgddgddgddgddgddgddgddgddgddgi ddgddgddgddgddgddgddgddgddgddgddgddgddgddgddgdd gddgi ddgddgddgd	d
gddgddgddgddgddgddgddgddgddgddgdd gd!d"gd#d$gi d%d&gd'd(gd)d*gd+d,gd-d.gd/d0gd1d2gd3d4gd5d6gd7d8gd9d:gd;d<gd=d>gd?d@gdAdBgdCdDgdEdFgdGgdHgdIgdJgdKgdLgdMgdNgdOgdPgdQgdRgdSgdTgdUgdVZd dWlZeee dX eei dYeje< dWS (Z      )TYPE_CHECKING)LazyImportModule   )ActionRecognitionPipeline)ActionDetectionPipeline)AnimalRecognitionPipeline)Body2DKeypointsPipeline)Body3DKeypointsPipeline)CMDSSLVideoEmbeddingPipeline)CardDetectionPipeline)HICOSSLVideoEmbeddingPipeline)CrowdCountingPipeline)ImageDetectionPipeline)ImageSalientDetectionPipeline)FaceDetectionPipeline)FaceImageGenerationPipeline)FaceRecognitionPipeline)FaceRecognitionOodPipeline)ArcFaceRecognitionPipeline)MaskFaceRecognitionPipeline)FaceRecognitionOnnxIrPipeline)FaceRecognitionOnnxFmPipeline)GeneralRecognitionPipeline)ImageCartoonPipeline)"GeneralImageClassificationPipeline)ImageColorEnhancePipeline)ImageColorizationPipeline)ImageDenoisePipeline)ImageDeblurPipeline)ImageEditingPipeline)!ImageInstanceSegmentationPipeline)ImageMattingPipeline) ImagePortraitEnhancementPipeline)ImageReidPersonPipeline)!ImageSemanticSegmentationPipeline)ImageStyleTransferPipeline)ImageSuperResolutionPipeline) ImageSuperResolutionPASDPipeline)Image2ImageGenerationPipeline)Image2ImageTranslationPipeline)ImageInpaintingPipeline)ImagePaintbyexamplePipeline)!ProductRetrievalEmbeddingPipeline)LiveCategoryPipeline)OCRDetectionPipeline)OCRRecognitionPipeline)LicensePlateDetectionPipeline)CardDetectionCorrectionPipeline)TableRecognitionPipeline) LinelessTableRecognitionPipeline)SkinRetouchingPipeline)FaceReconstructionPipeline)TinynasClassificationPipeline)VideoCategoryPipeline)VirtualTryonPipeline)ShopSegmentationPipeline)TextDrivenSegmentationPipeline)MovieSceneSegmentationPipeline)MogFaceDetectionPipeline)UlfdFaceDetectionPipeline)RetinaFaceDetectionPipeline)#FacialExpressionRecognitionPipeline) FacialLandmarkConfidencePipeline)FaceProcessingBasePipeline) FaceAttributeRecognitionPipeline)MtcnnFaceDetectionPipelin)HandStaticPipeline)(ReferringVideoObjectSegmentationPipeline)(LanguageGuidedVideoSummarizationPipeline)$VisionEfficientTuningAdapterPipeline)#VisionEfficientTuningPromptPipeline)#VisionEfficientTuningPrefixPipeline)!VisionEfficientTuningLoRAPipeline)VisionMiddlewarePipeline)VidtPipeline)VideoFrameInterpolationPipeline)ImageSkychangePipeline)ImageDrivingPerceptionPipeline)VopRetrievalPipeline)VopRetrievalSEPipeline)VideoObjectSegmentationPipeline)VideoDeinterlacePipeline)ImageMatchingPipeline)ImageMatchingFastPipeline)VideoStabilizationPipeline)VideoSuperResolutionPipeline)%PointCloudSceneFlowEstimationPipeline)FaceLivenessIrPipeline)$MaskDINOInstanceSegmentationPipeline)%ImageMultiViewDepthEstimationPipeline)PanoramaDepthEstimationPipeline) DDColorImageColorizationPipeline)#ImageStructuredModelProbingPipeline)VideoColorizationPipeline)ImageDefrcnDetectionPipeline))ImageQualityAssessmentDegradationPipeline)$ImageOpenVocabularyDetectionPipeline)ObjectDetection3DPipeline)%DDPMImageSemanticSegmentationPipeline)ImageInpaintingSDV2Pipeline)!ImageQualityAssessmentMosPipeline)!ImageQualityAssessmentMANPipeline)BadImageDetecingPipeline)"MobileImageSuperResolutionPipeline)ImageHumanParsingPipeline)NeRFReconAccPipeline)NeRFRecon4KPipeline)Image23DPipeline)SurfaceReconCommonPipeline)#ControllableImageGenerationPipeline)ImageBTSDepthEstimationPipeline)&PedestrainAttributeRecognitionPipeline)!ImagePanopticSegmentationPipeline)Text2360PanoramaImagePipeline)Human3DRenderPipeline)Human3DAnimationPipeline)!ImageLocalFeatureMatchingPipeline)#RIFEVideoFrameInterpolationPipeline)AnydoorPipeline)$ImageDepthEstimationMarigoldPipeline)%SelfSupervisedDepthCompletionPipeline)HumanNormalEstimationPipelineaction_recognition_pipeliner   action_detection_pipeliner   animal_recognition_pipeliner   body_2d_keypoints_pipeliner   body_3d_keypoints_pipeliner	   card_detection_pipeliner   cmdssl_video_embedding_pipeliner
    hicossl_video_embedding_pipeliner   crowd_counting_pipeliner   image_detection_pipeliner    image_salient_detection_pipeliner   face_detection_pipeliner   face_image_generation_pipeliner   face_recognition_pipeliner   face_recognition_ood_pipeliner   arc_face_recognition_pipeliner   mask_face_recognition_pipeliner   !face_recognition_onnx_ir_pipeliner   !face_recognition_onnx_fm_pipeliner   general_recognition_pipeliner   image_classification_pipeliner   image_cartoon_pipeliner   image_denoise_pipeliner   image_deblur_pipeliner   image_editing_pipeliner   image_color_enhance_pipeliner   image_colorization_pipeliner   $image_instance_segmentation_pipeliner    image_matting_pipeliner!   #image_portrait_enhancement_pipeliner"   image_reid_person_pipeliner#   $image_semantic_segmentation_pipeliner$   image_style_transfer_pipeliner%   image_super_resolution_pipeliner&   $image_super_resolution_pasd_pipeliner'   #image_to_image_translation_pipeliner)   $product_retrieval_embedding_pipeliner,   live_category_pipeliner-    image_to_image_generate_pipeliner(   image_to_3d_pipelinerm   image_inpainting_pipeliner*   image_paintbyexample_pipeliner+   ocr_detection_pipeliner.   ocr_recognition_pipeliner/    license_plate_detection_pipeliner0   "card_detection_correction_pipeliner1   table_recognition_pipeliner2   skin_retouching_pipeliner4   face_reconstruction_pipeliner5   tinynas_classification_pipeliner6   video_category_pipeliner7   virtual_try_on_pipeliner8   shop_segmentation_pipleliner9   "text_driven_segmentation_pipleliner:   !movie_scene_segmentation_pipeliner;   mog_face_detection_pipeliner<   ulfd_face_detection_pipeliner=   retina_face_detection_pipeliner>   &facial_expression_recognition_pipeliner?   #facial_landmark_confidence_pipeliner@   face_processing_base_pipelinerA   #face_attribute_recognition_pipelinerB   mtcnn_face_detection_pipelineMtcnnFaceDetectionPipelinehand_static_pipelinerD   ,referring_video_object_segmentation_pipelinerE   ,language_guided_video_summarization_pipelinerF   (vision_efficient_tuning_adapter_pipelinerG   'vision_efficient_tuning_prompt_pipelinerH   'vision_efficient_tuning_prefix_pipelinerI   %vision_efficient_tuning_lora_pipelinerJ   vision_middleware_pipelinerK   vidt_pipelinerL   "video_frame_interpolation_pipelinerM   image_skychange_pipelinerN   !image_driving_perception_pipelinerO   vop_retrieval_pipelinerP   vop_retrieval_se_pipelinerQ   "video_object_segmentation_pipelinerR   video_deinterlace_pipelinerS   image_matching_pipelinerT   image_matching_fast_pipelinerU   video_stabilization_pipelinerV   video_super_resolution_pipelinerW   (pointcloud_sceneflow_estimation_pipelinerX   face_liveness_ir_pipelinerY   'maskdino_instance_segmentation_pipelinerZ   #image_mvs_depth_estimation_pipeliner[   #ddcolor_image_colorization_pipeliner]   'image_structured_model_probing_pipeline#ImageSturcturedModelProbingPipelinevideo_colorization_pipeliner_   image_defrcn_fewshot_pipeliner`   -image_quality_assessment_degradation_pipelinera   (image_open_vocabulary_detection_pipelinerb   object_detection_3d_pipelinerc   image_inpainting_sdv2_pipelinere   %image_quality_assessment_mos_pipelinerf   %image_quality_assessment_man_pipelinerg   &mobile_image_super_resolution_pipelineri   bad_image_detecting_pipelinerh   image_human_parsing_pipelinerj   nerf_recon_acc_pipelinerk   nerf_recon_4k_pipelinerl   NeRFReconImgToMVPipelinern   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   )nerf_recon_img_to_mv_pipelinesurface_recon_common_pipeline&controllable_image_generation_pipeline#image_bts_depth_estimation_pipeline)pedestrian_attribute_recognition_pipeline$image_panoptic_segmentation_pipeline"text_to_360panorama_image_pipelinehuman3d_render_pipelinehuman3d_animation_pipeline%image_local_feature_matching_pipeline'rife_video_frame_interpolation_pipelineanydoor_pipeline(image_depth_estimation_marigold_pipeline)self_supervised_depth_completion_pipeline human_normal_estimation_pipelineN__file__)module_specextra_objects)typingr   modelscope.utils.import_utilsr   r|   r   r}   r   r~   r   r   r   r   r	   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r!   r   r"   r   r#   r   r$   r   r%   r   r&   r   r'   r   r(   r   r)   r   r*   r   r+   r   r,   r   r-   r   r.   r   r/   r   r0   r   r1   r   r2   #lineless_table_recognition_pipeliner3   r   r4   r   r5   r   r6   r   r7   r   r8   r   r9   r   r:   r   r;   r   r<   r   r=   r   r>   r   r?   r   r@   r   rA   r   rB   r   rC   r   rD   r   rE   r   rF   r   rG   r   rH   r   rI   r   rJ   r   rK   r   rL   r   rM   r   rN   r   rO   r   rP   r   rQ   r   rR   r   rS   r   rT   r   rU   r   rV   r   rW   r   rX   r   rY   r   rZ   r   r[   "panorama_depth_estimation_pipeliner\   r   r]   r   r^   r   r_   r   r`   r   ra   r   rb   r   rc   #ddpm_semantic_segmentation_pipelinerd   r   re   r   rf   r   rg   r   rh   r   ri   r   rj   r   rk   r   rl   r   rm   r   rn   r   ro   r   rp   r   rq   r   rr   r   rs   r   rt   r   ru   r   rv   r   rw   r   rx   r   ry   r   rz   r   r{   _import_structuresys__name__globals__spec__modules r  r  T/home/ubuntu/.local/lib/python3.10/site-packages/modelscope/pipelines/cv/__init__.py<module>   sv  	
 "#%&')+-./012345789:;<=>@BCDEGIJMNORUX[^
a
bc
fg
j
kl
o
p
q
r
st
wx{~   
  
    
  
  
        
  
  
  
   
 
?
