Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ros_camera_bev
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangxue
ros_camera_bev
Commits
b11afb2f
Commit
b11afb2f
authored
May 15, 2025
by
ChengQingshui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 在原图上检测时不使用预测深度处理实例目标
parent
0b481d62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CameraBevParam.yaml
src/camera_bev_infer/configs/CameraBevParam.yaml
+1
-1
vision_3d.cpp
src/camera_bev_infer/src/vision_transform/vision_3d.cpp
+1
-1
No files found.
src/camera_bev_infer/configs/CameraBevParam.yaml
View file @
b11afb2f
...
...
@@ -30,7 +30,7 @@ camera2lidar_extrinsic1: [-0.0052204, -0.999893, 0.0136667, 0.0384177,
-0.00280128
,
0.0136814
,
0.999902
,
0.0599195
,
0
,
0
,
0
,
1
]
original_image_detect
:
fals
e
original_image_detect
:
tru
e
src_img_width
:
1920
src_img_height
:
1080
...
...
src/camera_bev_infer/src/vision_transform/vision_3d.cpp
View file @
b11afb2f
...
...
@@ -1277,7 +1277,7 @@ int Visione_3D::Process_objects(const cv::Mat& image, const cv::Mat& depth, Clou
auto
&
obj
=
objs
[
mm
];
if
(
0
==
obj
.
bDetectType
){
int
res
=
Process_Instance_Objects
(
obj
,
point_index_in_camera
,
pcl_cloud
,
vGrid
);
if
(
res
==
-
1
){
// valid points太少,
使用深度估计
if
(
res
==
-
1
&&
!
camera_param_ptr_
->
original_image_detect
){
// valid points太少, 且不是在原始图像检测
使用深度估计
// std::cout<<"using depth " << obj.name << "," <<obj.fConfidence<< std::endl;
if
(
!
depth
.
empty
()){
Process_Instance_Objects
(
obj
,
depth
,
pTable
,
vGrid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment