Q: Opimizing OpenCV face detection scripts

Is there a way to make the face recognition more efficient? I'm making a simple face / expression detection system but I need to make it lighter on the CPU. I'm not quite sure if lowering or making the image grayscale would help a lot

Btw I'm using OpenCV with python 3.10, and I need to run the face detection on a Raspberry Pi Zero W

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum