Commit 31711510 authored by Claire Lemoine's avatar Claire Lemoine
Browse files

petites modifs sur trouver

parent 1c1eee49
......@@ -41,14 +41,15 @@ def main():
"""
support = choisir("Image support")
cacher = choisir("Image a cacher")
trouver = choisir("Image a trouver")
mixe = cache.cache_img(support, cacher)
devoile = trouve.trouve_img(mixe)
devoile = trouve.trouve_img(trouver)
repertoire = tkinter.filedialog.askdirectory(title="Repertoire d'enregistrement")
cv2.imwrite(os.path.join(repertoire, "lemoine_mixe.png"), mixe)
cv2.imwrite(os.path.join(repertoire, "lemoine_dissimulee.png"), devoile)
cv2.imwrite(os.path.join(repertoire, "lemoine_richard_mixee.png"), mixe)
cv2.imwrite(os.path.join(repertoire, "lemoine_richard_trouvee.png"), devoile)
if __name__ == "__main__":
main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment