A Computer vision package that makes its easy to run Image processing
CVZone
This is a Computer vision package that makes its easy to run Image processing and AI functions. At the core it uses OpenCV and Mediapipe libraries.
Installation
You can simply use pip to install the latest version of cvzone.
pip install cvzone
60 FPS Face Detection
import cvzone
import cv2
cap = cv2.VideoCapture(0)
detector = cvzone.FaceDetector()
while True:
success, img = cap.read()
img, bboxs = detector.findFaces(img)
print(bboxs)
cv2.imshow("Image", img)
cv2.waitKey(1)
Hand Tracking

Basic Code Example
import cvzone
import cv2
cap = cv2.VideoCapture(0)
cap.set(3, 1280)
cap.set(4, 720)
detector = cvzone.HandDetector(detectionCon=0.5, maxHands=1)
while True:
# Get image frame
success, img = cap.read()
# Find the hand and its landmarks
img = detector.findHands(img)
lmList, bbox = detector.findPosition(img)
# Display
cv2.imshow("Image", img)
cv2.waitKey(1)