Commit 94fd050d authored by robinechuca's avatar robinechuca
Browse files

creation du main.py

parent 86ece36d
#!/usr/bin/env python3
"""
|====================|
| Fusionne 2 images. |
|====================|
"""
import cv2
import tkinter.filedialog
import trouve
import cache
def main():
source = tkinter.filedialog.askopenfilename()
......@@ -6,12 +6,14 @@
|=========================================|
"""
import numpy
import numpy as np
def trouve_img(img):
"""
:param img: L'image truquee qui contient les 2 images.
:type img: np.ndarray
:return: L'image cachee.
:rtype: np.ndarray
"""
assert isinstance(img, np.ndarray), \
"'img' doit etre une array numpy, pas un %s" % type(img).__name__
......
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