Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
camtron
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kr69sugu
camtron
Commits
415d967e
Commit
415d967e
authored
6 years ago
by
Thomas Boy
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
4f5e7f93
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Demo.cpp
+4
-1
4 additions, 1 deletion
Demo.cpp
with
4 additions
and
1 deletion
Demo.cpp
+
4
−
1
View file @
415d967e
...
...
@@ -327,8 +327,9 @@ int main(int argc, char * argv[])
vector
<
string
>
myFileListAfterContourSelection
;
//list for no contours found after selection;
vector
<
string
>
myFileListCorrupted
;
//list all corrupted jpg files
for
(
frameCounter
=
0
;
frameCounter
<
amountFiles
||
g_badSignalFlagAbort
;
frameCounter
++
)
for
(
frameCounter
=
0
;
frameCounter
<
amountFiles
;
frameCounter
++
)
{
//measure time consumption
clock_t
begin
=
clock
();
...
...
@@ -623,6 +624,8 @@ int main(int argc, char * argv[])
double
elapsedSecTotal
=
double
(
endAll
-
beginAll
)
/
CLOCKS_PER_SEC
;
cout
<<
"process single pic:
\t
"
<<
elapsedSecs
<<
" s -
\t\t
"
<<
(
int
)(
elapsedSecTotal
/
60
)
<<
" min -
\t
"
<<
(
int
)(
elapsedSecTotal
/
60
/
60
)
<<
" h"
<<
endl
;
if
(
g_badSignalFlagAbort
)
frameCounter
=
amountFiles
;
//we abort
}
//finishing time
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment