@jazzycamel said in Picamera significant delay and low FPS, but low CPU and memory usage:
Thanks this worked i also changed the camera parameters so it runs even faster.
self._camera=PiCamera(sensor_mode=4,resolution='640x480',framerate=40).
Now the only problem is when i try to capture using the worker thread is not responding to the signal ,this is also happening with the stop function its not responding to a button click or custom emit signal to stop the camera it just keeps running
@pyqtSlot()
def snapshot(self):
self._looping=False
self._camera.capture('image.jpg')
self._looping=True
stopcamera = pyqtSignal()
self._thread = QThread()
self.stopcamera.connect(self._camera.stop)
self._thread.start()
self.CameraSnap.clicked.connect(self._camera.snapshot)
self.CameraBack.clicked.connect(self.functionstopcamera)
def functionstopcamera(self):
self.stopcamera.emit()