I built mediapipe facemesh solution with gpu support on Jetson Xavier AGX with reference to https://forums.developer.nvidia.com/t/mediapipe/121120/33
After obtaining desired landmarks I also used OpenCV with CUDA support to develop my own code to detect iris of the eye.
JetPack version: 4.5.1
OpenCV version: 4.1.1
Mediapipe version: 0.8
Python version: 3.6.9
However despite using GPU support and CUDA accelerated OpenCV, the maximum FPS I have attained is around 14. I am using an USB camera which can give me maximum 30 fps for image size 640*480. How do I optimise my code?