Apollo 11.0
自动驾驶开放平台
postprocess.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2020 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16#pragma once
17
18#include <vector>
19
20#include "Eigen/Core"
21
25
26namespace apollo {
27namespace perception {
28namespace camera {
39void GetObjects(const base::BlobPtr<float> &box3ds,
40 const base::BlobPtr<float> &labels,
41 const base::BlobPtr<float> &scores,
42 const std::vector<base::ObjectSubType> &types,
43 float score_threshold, std::vector<base::ObjectPtr> *objects);
44
51void FillBBox3d(const float *bbox, base::ObjectPtr obj);
52
61 const std::vector<base::ObjectSubType> &types);
62
63} // namespace camera
64} // namespace perception
65} // namespace apollo
std::shared_ptr< Object > ObjectPtr
Definition object.h:127
void FillBBox3d(const float *bbox, base::ObjectPtr obj)
Fill the 3d bbox to object
base::ObjectSubType GetSubtype(int cls, const std::vector< base::ObjectSubType > &types)
Get the Subtype
void GetObjects(const base::BlobPtr< float > &box3ds, const base::BlobPtr< float > &labels, const base::BlobPtr< float > &scores, const std::vector< base::ObjectSubType > &types, float score_threshold, std::vector< base::ObjectPtr > *objects)
Get the Objects objects from blob
class register implement
Definition arena_queue.h:37