Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python cv2 unblur

import cv2
import numpy as np

image = cv2.imread('1.jpg')
sharpen_kernel = np.array([[-1,-1,-1], [-1,9,-1], [-1,-1,-1]])
sharpen = cv2.filter2D(image, -1, sharpen_kernel)

cv2.imshow('sharpen', sharpen)
cv2.waitKey()
Comment

PREVIOUS NEXT
Code Example
Python :: how to install pandas for aws sam local 
Python :: True Positive, True Negative, False Positive, False Negative in scikit learn 
Python :: pandas append new column 
Python :: pydub create empty track 
Python :: convert numpy array to tfrecord and back 
Python :: how to remove axis in matplotlib 
Python :: ascii to int python 
Python :: python append list to list 
Python :: how to skip error python 
Python :: how to get the output in rupees in pandas 
Python :: django error displaying images page not found 
Python :: how to do tail recursion in python 
Python :: slice python 
Python :: how to get all distinct substrings in a string python 
Python :: run django server on any network address of the system 
Python :: check if input is pandas dataframe 
Python :: pyton como identificar se é numero 
Python :: easy python gui 
Python :: Fibonacci series up to n python 
Python :: python typewriter effect 
Python :: includes python 
Python :: RMSE value from cross validation 
Python :: how to skip number in while loop python 
Python :: pandas unstring list 
Python :: pyplot aera 
Python :: how to store something in python 
Python :: change edit last line python 
Python :: getting last n rows of column 
Python :: datatime add time in float 
Python :: lambda example python 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =