Download PaddleDetection-release-2.6/deploy/cpp/include/lapjv.h from SUM010/model_fall: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/SUM010/model_fall/resolve/main/PaddleDetection-release-2.6/deploy/cpp/include/lapjv.h
- Command line
-
hf download hf://SUM010/model_fall/PaddleDetection-release-2.6/deploy/cpp/include/lapjv.h
-
curl -L -o lapjv.h https://huggingface.co/SUM010/model_fall/resolve/main/PaddleDetection-release-2.6/deploy/cpp/include/lapjv.h
1.51 kB
| // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| // See the License for the specific language governing permissions and | |
| // limitations under the License. | |
| // The code is based on: | |
| // https://github.com/gatagat/lap/blob/master/lap/lapjv.h | |
| // Ths copyright of gatagat/lap is as follows: | |
| // MIT License | |
| namespace PaddleDetection { | |
| typedef signed int int_t; | |
| typedef unsigned int uint_t; | |
| typedef double cost_t; | |
| typedef char boolean; | |
| typedef enum fp_t { FP_1 = 1, FP_2 = 2, FP_DYNAMIC = 3 } fp_t; | |
| int lapjv_internal( | |
| const cv::Mat &cost, const bool extend_cost, const float cost_limit, | |
| int *x, int *y); | |
| } // namespace PaddleDetection | |