We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see class Sharpen in fimage/fimage/filters.py but can't use it
env google colab
google colab
code
from fimage import FImage from fimage.filters import * from fimage.presets import * import matplotlib.pyplot as plt ori_img = 'maxresdefault.jpg' res_img = 'Sharpen.png' image = FImage(ori_img) image.apply(Sharpen() ) image.save(res_img) fig = plt.figure(figsize = (22, 22) ) plt.subplot(1, 3, 1) plt.title("original") image0 = plt.imread(ori_img) plt.imshow(image0) plt.subplot(1, 3, 2) plt.title("Sharpen") image0 = plt.imread(res_img) plt.imshow(image0)
result
NameError Traceback (most recent call last) [<ipython-input-56-febf78888ce2>](https://localhost:8080/#) in <cell line: 3>() 1 res_img = 'Sharpen.png' 2 image = FImage(ori_img) ----> 3 image.apply(Sharpen() ) 4 image.save(res_img) NameError: name 'Sharpen' is not defined
best regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
see class Sharpen in
fimage/fimage/filters.py
but
can't use it
env
google colab
code
result
best regards
The text was updated successfully, but these errors were encountered: