Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
3f9e745b
Commit
3f9e745b
authored
Aug 23, 2024
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超时去掉图片上传
parent
d1fa0a6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
CameraHandle.cpp
+12
-2
No files found.
CameraHandle.cpp
View file @
3f9e745b
...
...
@@ -901,12 +901,22 @@ void CameraHandle::licensePlateRecognitionResults(vides_data::requestLicensePlat
vides_data
::
response
*
resp
=
httpService
.
httpLicensePlateRecognition
(
location
,
result
);
if
(
resp
->
code
!=
0
)
{
if
(
resp
->
msg
==
"TimeoutError"
)
{
for
(
auto
&
plate
:
location
.
plates
)
{
plate
.
img
.
clear
();
}
vides_data
::
response
*
img_resp
=
httpService
.
httpLicensePlateRecognition
(
location
,
result
);
if
(
img_resp
->
code
!=
0
)
{
qInfo
()
<<
"不加图片上次失败"
;
}
instace
.
deleteObj
(
img_resp
);
}
else
{
qInfo
()
<<
"licensePlateRecognitionResults:车牌识别结果失败"
;
// 在达到最大重试次数且仍然没有成功的情况下执行相应的处理逻辑
}
instace
.
deleteObj
(
resp
);
}
instace
.
deleteObj
(
resp
);
}
void
CameraHandle
::
printWifi
(
XSDK_HANDLE
hDevice
,
XSDK_CFG
::
NetWork_Wifi
&
cfg
){
char
szOutBuffer
[
4000
]
=
{
0
};
...
...
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