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
5878ab6a
Commit
5878ab6a
authored
Mar 18, 2012
by
Gary Bradski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added destroyAllWindows at end
parent
8a48b8df
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
0 deletions
+8
-0
edge.py
samples/python/edge.py
+1
-0
fback.py
samples/python/fback.py
+1
-0
ffilldemo.py
samples/python/ffilldemo.py
+1
-0
houghlines.py
samples/python/houghlines.py
+1
-0
inpaint.py
samples/python/inpaint.py
+1
-0
lkdemo.py
samples/python/lkdemo.py
+1
-0
logpolar.py
samples/python/logpolar.py
+1
-0
minarea.py
samples/python/minarea.py
+1
-0
No files found.
samples/python/edge.py
View file @
5878ab6a
...
@@ -57,3 +57,4 @@ if __name__ == '__main__':
...
@@ -57,3 +57,4 @@ if __name__ == '__main__':
# wait a key pressed to end
# wait a key pressed to end
cv
.
WaitKey
(
0
)
cv
.
WaitKey
(
0
)
cv
.
DestroyAllWindows
()
samples/python/fback.py
View file @
5878ab6a
...
@@ -53,3 +53,4 @@ class FBackDemo:
...
@@ -53,3 +53,4 @@ class FBackDemo:
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
demo
=
FBackDemo
()
demo
=
FBackDemo
()
demo
.
run
()
demo
.
run
()
cv
.
DestroyAllWindows
()
samples/python/ffilldemo.py
View file @
5878ab6a
...
@@ -157,3 +157,4 @@ if __name__ == "__main__":
...
@@ -157,3 +157,4 @@ if __name__ == "__main__":
elif
c
==
ord
(
'8'
):
elif
c
==
ord
(
'8'
):
print
(
"8-connectivity mode is set"
);
print
(
"8-connectivity mode is set"
);
connectivity
=
8
;
connectivity
=
8
;
cv
.
DestroyAllWindows
()
samples/python/houghlines.py
View file @
5878ab6a
...
@@ -55,3 +55,4 @@ if __name__ == "__main__":
...
@@ -55,3 +55,4 @@ if __name__ == "__main__":
USE_STANDARD
=
not
USE_STANDARD
USE_STANDARD
=
not
USE_STANDARD
if
k
==
27
:
if
k
==
27
:
break
break
cv
.
DestroyAllWindows
()
samples/python/inpaint.py
View file @
5878ab6a
...
@@ -66,3 +66,4 @@ if __name__=="__main__":
...
@@ -66,3 +66,4 @@ if __name__=="__main__":
if
c
==
ord
(
'i'
)
or
c
==
ord
(
'
\n
'
):
if
c
==
ord
(
'i'
)
or
c
==
ord
(
'
\n
'
):
cv
.
Inpaint
(
img
,
inpaint_mask
,
inpainted
,
3
,
cv
.
CV_INPAINT_TELEA
)
cv
.
Inpaint
(
img
,
inpaint_mask
,
inpainted
,
3
,
cv
.
CV_INPAINT_TELEA
)
cv
.
ShowImage
(
"inpainted image"
,
inpainted
)
cv
.
ShowImage
(
"inpainted image"
,
inpainted
)
cv
.
DestroyAllWindows
()
samples/python/lkdemo.py
View file @
5878ab6a
...
@@ -189,3 +189,4 @@ if __name__ == '__main__':
...
@@ -189,3 +189,4 @@ if __name__ == '__main__':
night_mode
=
not
night_mode
night_mode
=
not
night_mode
elif
cc
==
' '
:
elif
cc
==
' '
:
fc
=
(
fc
+
1
)
%
len
(
frames
)
fc
=
(
fc
+
1
)
%
len
(
frames
)
cv
.
DestroyAllWindows
()
samples/python/logpolar.py
View file @
5878ab6a
...
@@ -42,3 +42,4 @@ if __name__ == "__main__":
...
@@ -42,3 +42,4 @@ if __name__ == "__main__":
cv
.
ShowImage
(
"original"
,
src
)
cv
.
ShowImage
(
"original"
,
src
)
cv
.
WaitKey
()
cv
.
WaitKey
()
cv
.
DestroyAllWindows
()
samples/python/minarea.py
View file @
5878ab6a
...
@@ -59,3 +59,4 @@ if __name__ == "__main__":
...
@@ -59,3 +59,4 @@ if __name__ == "__main__":
break
break
use_seq
=
not
use_seq
use_seq
=
not
use_seq
cv
.
DestroyAllWindows
()
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