ppstructurev2_layout.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
  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. #pragma once
  15. #include <vector>
  16. #include "ultra_infer/ultra_infer_model.h"
  17. #include "ultra_infer/vision/common/processors/transform.h"
  18. #include "ultra_infer/vision/common/result.h"
  19. #include "ultra_infer/utils/unique_ptr.h"
  20. #include "ultra_infer/vision/ocr/ppocr/structurev2_layout.h"
  21. namespace ultra_infer {
  22. namespace pipeline {
  23. typedef ultra_infer::vision::ocr::StructureV2Layout PPStructureV2Layout;
  24. namespace application {
  25. namespace ocrsystem {
  26. // TODO(qiuyanjun): This pipeline may not need
  27. typedef pipeline::PPStructureV2Layout PPStructureV2LayoutSystem;
  28. } // namespace ocrsystem
  29. } // namespace application
  30. } // namespace pipeline
  31. } // namespace ultra_infer