質問編集履歴
1
import部を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,4 +20,14 @@
|
|
20
20
|
|
21
21
|
canny_image = cv2.Canny(img, 50, 100, 3)
|
22
22
|
canny_image_PIL = Image.fromarray(canny_image)
|
23
|
+
```
|
24
|
+
```import
|
25
|
+
import os,sys
|
26
|
+
import cv2
|
27
|
+
from PIL import Image, ImageChops, ImageTk
|
28
|
+
import numpy as np
|
29
|
+
from tkinter import *
|
30
|
+
from tkinter import ttk
|
31
|
+
from tkinter import filedialog
|
32
|
+
from tkinter import messagebox
|
23
33
|
```
|