Low FPS with Mediapipe

I’m currently learning how to do hand recognition with OpenCV and Mediapipe on Python

However, the course video shows the instructor getting a full 30-40 FPS, but however, I can’t seem to reach 30. It’s somehow capped 15 FPS. (Logitech C270 webcam) Any ideas?

room too dark, webcam throttling frame rate to reduce noise?

instructor’s computer is a lot better than yours?

in any case, you said “mediapipe”, so it’s a mediapipe problem. this is the forum for OpenCV. we’ll help if there’s a problem and the MRE shows that no other library could cause the issue.