Open antoniosap opened 5 years ago
TypeError Traceback (most recent call last) /mnt/YoloKerasFaceDetection/agegender_demo.py in <module> 377 378 if __name__=='__main__': --> 379 main(sys.argv[1:]) /mnt/YoloKerasFaceDetection/agegender_demo.py in main(argv) 357 358 img=frame --> 359 img = img[...,::-1] #BGR 2 RGB 360 inputs = img.copy() / 255.0 361 TypeError: 'NoneType' object is not subscriptable
Please confirm the image(video) is readable, for example, check the relative path, file permission and video format or camera permission.