I'm an absolute beginner with Python, but unfortunately I have to reach in a RPI project within 20 days.
My task is to build a Barcode-Scanner. This is the code I want to use: github: loleg/iotcam.py, but it just prints "PiCamera ready" and "RESTART"
I tried to locate the problem:
if FULLSCREEN: cv2.namedWindow("Fenster", cv2.WND_PROP_FULLSCREEN) cv2.setWindowProperty("#iothack15", cv2.WND_PROP_FULLSCREEN,cv2.cv.CV_WINDOW_FULLSCREEN) else: cv2.namedWindow("Fenster")
I guess this is the non-working part, and I don't know why. Open CV says it should be
but nothing worked.
If this part does not issue an error:
from picamera.array import PiRGBArray from picamera import PiCamera import time import sys import cv2 import zbar import Image
then it means that the necessary modules are installed, doesn't it? I use Python 2 - with Python 3, I get a lot of errors.