Excessive Lag

I am having a lot of lag running face detection with opencl using a pi cam. System monitor shows cpu maxed out. Would a SSD drive help?

Probably not. More I/O won’t help if your problem is CPU bound. I think your issues that most OpenCV code you will find out there does not use the GPU, and the CPU is not supposed to be very powerful on Tegra.

You might try giving something like DeepStream a shot instead, or examining the use of TensorRT in @dusty_nv’s Jetson Inference repository.

Thank you for your help!