pupil-labs / pupil-detectors

GNU Lesser General Public License v3.0
24 stars 18 forks source link

Segmentation Fault when Passing Color Image to detect #25

Open cancan101 opened 1 year ago

cancan101 commented 1 year ago

eg, running this on a color image:

import cv2
from pupil_detectors import Detector2D
detector = Detector2D()
detector.detect(cv2.cvtColor(cv2.imread('/Users/me/Downloads/iris.png', cv2.IMREAD_COLOR), cv2.COLOR_BGR2RGB))

Causes a segmentation fault.