Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
a5ea5888
Commit
a5ea5888
authored
Aug 10, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9328 from taketwo:example-superres-fix
parents
87c27a07
0f8faa34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
super_resolution.cpp
samples/gpu/super_resolution.cpp
+2
-2
No files found.
samples/gpu/super_resolution.cpp
View file @
a5ea5888
...
@@ -60,7 +60,7 @@ int main(int argc, const char* argv[])
...
@@ -60,7 +60,7 @@ int main(int argc, const char* argv[])
"{ s scale | 4 | Scale factor }"
"{ s scale | 4 | Scale factor }"
"{ i iterations | 180 | Iteration count }"
"{ i iterations | 180 | Iteration count }"
"{ t temporal | 4 | Radius of the temporal search area }"
"{ t temporal | 4 | Radius of the temporal search area }"
"{ f flow | farneback | Optical flow algorithm (farneback,
simple,
tvl1, brox, pyrlk) }"
"{ f flow | farneback | Optical flow algorithm (farneback, tvl1, brox, pyrlk) }"
"{ g gpu | false | CPU as default device, cuda for CUDA }"
"{ g gpu | false | CPU as default device, cuda for CUDA }"
"{ h help | false | Print help message }"
"{ h help | false | Print help message }"
);
);
...
@@ -136,7 +136,7 @@ int main(int argc, const char* argv[])
...
@@ -136,7 +136,7 @@ int main(int argc, const char* argv[])
for
(
int
i
=
0
;;
++
i
)
for
(
int
i
=
0
;;
++
i
)
{
{
cout
<<
'['
<<
setw
(
3
)
<<
i
<<
"] : "
;
cout
<<
'['
<<
setw
(
3
)
<<
i
<<
"] : "
<<
flush
;
Mat
result
;
Mat
result
;
MEASURE_TIME
(
superRes
->
nextFrame
(
result
));
MEASURE_TIME
(
superRes
->
nextFrame
(
result
));
...
...
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