__init__.py 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # copyright (c) 2024 PaddlePaddle Authors. All Rights Reserve.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. from __future__ import absolute_import
  15. from . import detection
  16. from . import classification
  17. from . import segmentation
  18. from . import tracking
  19. from . import keypointdetection
  20. from . import matting
  21. from . import facedet
  22. from . import facealign
  23. from . import faceid
  24. from . import ocr
  25. from . import headpose
  26. from . import sr
  27. from . import evaluation
  28. from . import generation
  29. from . import perception
  30. from .utils import fd_result_to_json
  31. from .visualize import *
  32. from .. import C
  33. def enable_flycv():
  34. return C.vision.enable_flycv()
  35. def disable_flycv():
  36. return C.vision.disable_flycv()