py-feat
py-feat copied to clipboard
Issue with tutorial example code
I'm attempting to run this example code from the tutorial on my local Pycharm.
However, my program does not generate an image, (See below)
To ensure the program is using the correct photo directory I've used print(). (Below)
I don't receive any errors, just a "Process finished with exit code 0" and I should have an image which should pop up like the example
Any help on the matter would be greatly appreciated thank you!
Environment: Python version: 3.8.0 SciPy version: 1.10.1 Py-Feat version: 0.6.1 Operating System: WIndows 10
Please note this same issue occurs when doing the video detection tutorial code and there is no issue with the directory files
Hi, I am just a passerby.
The issue is caused by the IDE, which is PyCharm. In jupyter notebook, the plot will be shown. But in PyCharm, you need extra calls to show it.
Maybe adding the following code after your imshow()
will show the image.
import matplotlib.pyplot as plt
plt.show()
Thanks @sucv! Yes @deepblue8581 this seems to be an issue with your IDE not py-feat so I'm going to close this