Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Claire Lemoine
TP3-image
Commits
dac3f0da
Commit
dac3f0da
authored
Dec 16, 2020
by
Claire Lemoine
Browse files
Merge branch 'master' of
https://gitlab.ensimag.fr/lemoincl/tp3-image
into master
parents
d5744f94
eed42606
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
__pycache__/cache.cpython-38.pyc
__pycache__/cache.cpython-38.pyc
+0
-0
__pycache__/trouve.cpython-38.pyc
__pycache__/trouve.cpython-38.pyc
+0
-0
main.py
main.py
+3
-3
No files found.
__pycache__/cache.cpython-38.pyc
View file @
dac3f0da
No preview for this file type
__pycache__/trouve.cpython-38.pyc
View file @
dac3f0da
No preview for this file type
main.py
View file @
dac3f0da
...
...
@@ -29,17 +29,17 @@ def choisir(titre):
return
image
=
cv2
.
imread
(
impath
)
if
image
==
None
:
sys
.
stderr
.
write
(
"L'image est corro
n
pue!
\n
"
)
sys
.
stderr
.
write
(
"L'image est corro
m
pue!
\n
"
)
return
return
image
def
main
():
support
=
choisir
(
"Image support"
)
cacher
=
choisir
(
"Image a ca
h
cher"
)
cacher
=
choisir
(
"Image a cacher"
)
truque
=
cache
.
cache_im
(
support
)
devoile
=
trouve
.
trouve_img
(
truque
)
if
__name__
==
'
__main__
'
:
if
__name__
==
"
__main__
"
:
main
()
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