-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
img.save(disp) can't save #2
Comments
Unfortunately the original code isn't my own. I ran into the same problem, On Tue, Nov 3, 2015 at 6:25 AM, NoiZeR355 [email protected] wrote:
|
Is there maybe a way to reach kscottz. Maybe she will know the answer. |
I've tried once before and never got a response, but by all means.... On Wed, Nov 4, 2015 at 4:04 AM, NoiZeR355 [email protected] wrote:
|
On Wed, Nov 4, 2015 at 2:26 PM, Matt Tucker [email protected]
|
You need to install uv4l. That is a driver for the camera module. |
Hello,
Im trying to test your code but when im running it with python dewrap.py. I gets the following error:
pi@raspberrypi ~/Downloads/dewarp-master $ python dewarp.py
<SimpleCV.Image Object size:(0, 0), filename: (None), at memory location: (0x70e00be8)>
ERROR:
Traceback (most recent call last):
File "dewarp.py", line 48, in
img.show()
File "/usr/local/lib/python2.7/dist-packages/SimpleCV/ImageClass.py", line 5448, in show
self.save(d)
File "/usr/local/lib/python2.7/dist-packages/SimpleCV/ImageClass.py", line 1984, in save
saveimg = saveimg.toBGR()
File "/usr/local/lib/python2.7/dist-packages/SimpleCV/ImageClass.py", line 1196, in toBGR
cv.CvtColor(self.getBitmap(), retVal, cv.CV_RGB2BGR)
TypeError: CvArr argument 'src' must be IplImage, CvMat or CvMatND. Use fromarray() to convert numpy arrays to CvMat or cvMatND
Is it my issue or some mistake in the code?
The text was updated successfully, but these errors were encountered: