Commit 54dc35ba authored by robinechuca's avatar robinechuca
Browse files

ajout conventionxo

parent eb032af7
......@@ -7,16 +7,21 @@
"""
import cv2
import os
import tkinter.filedialog
import trouve
import cache
def main():
source = tkinter.filedialog.askopenfilename(
filetypes=[("jpeg", "*.jpg"),
("tiff", "*.tiff"),
("portable network g", "*.png")])
source_path = tkinter.filedialog.askopenfilename(
filetypes=[ ("jpeg", "*.jpg"),
("tiff", "*.tiff"),
("portable network g", "*.png")],
initialdir=os.path.basename(os.path.abspath(__file__)),
title="Image source")
if not source_path:
return
if __name__ == '__main__':
main()
......@@ -10,8 +10,13 @@ import numpy as np
def trouve_img(img):
"""
entree
------
:param img: L'image truquee qui contient les 2 images.
:type img: np.ndarray
sortie
------
:return: L'image cachee.
:rtype: np.ndarray
"""
......
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