'I really need help on this error trying to capture frames from a video using opencv

Error : ValueError: not enough values to unpack (expected 4, got 1)

while True:
    ret, frame = video.read()
    faces = face_cascade.detectMultiScale2(frame, 1.3, 5)
    for x, y, w, h in faces:


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source