Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Atlas_huawei_cpp_demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
文博强
Atlas_huawei_cpp_demo
Commits
9b38daef
Commit
9b38daef
authored
Apr 27, 2023
by
wenboqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充提交
parent
abe959b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
inc/CarParams.h
inc/CarParams.h
+3
-11
No files found.
inc/CarParams.h
View file @
9b38daef
...
...
@@ -92,6 +92,7 @@ struct OnlyDetectNameInfo {
};
struct
Detect2clsNameInfo
{
std
::
string
kInferName
;
std
::
string
kDetectPreName
;
...
...
@@ -102,16 +103,7 @@ struct Detect2clsNameInfo {
std
::
string
kRtspUrl
;
};
//struct elmetInfo {
// int modelInputWidth = 640;
// int modelInputHeight = 448;
// uint32_t classnum = 3;
// int totalBox = 17640;// cropped car image from original image
// ImageData resizedImgs; //resized image for classify inference
// Rectangle rectangle; // recognize rectangle
// std::string detect_result; // yolo detect output
// std::string classify_result;
//};
struct
ModelInfo
{
int
modelInputWidth
=
640
;
int
modelInputHeight
=
448
;
...
...
@@ -121,7 +113,7 @@ struct ModelInfo {
int
classnum
=
80
;
// cropped car image from original image
float
nmsThresh
=
0.45
;
float
conf
=
0.3
;
std
::
vector
<
int
>
activateLabel
=
{};
std
::
vector
<
int
>
activateLabel
=
{
0
};
std
::
vector
<
std
::
string
>
Label
=
{
"person"
,
"bicycle"
,
"car"
,
"motorbike"
,
"aeroplane"
,
"bus"
,
"train"
,
"truck"
,
"boat"
,
"traffic light"
,
"fire hydrant"
,
"stop sign"
,
"parking meter"
,
...
...
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