每当我尝试从图像中提取猪肉功能时,核仁就会死亡 . 我的代码......我正在使用jupyter笔记本..

hog = cv2.HOGDescriptor()
im = cv2.imread(s)
h = hog.compute(im)