This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
import time | |
class App(): | |
def __init__(self): | |
self.root = tk.Tk() | |
self.label = tk.Label(text="") | |
self.label.pack() | |
self.update_clock() | |
self.root.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import math | |
import matplotlib.pyplot as plt | |
## (1) read | |
img = cv2.imread("img.jpg") | |
image = cv2.fastNlMeansDenoisingColored(img,None,10,10,7,21) | |
cv2.imshow("denoised", img) | |
cv2.waitKey(0) |
NewerOlder