aws-samples / amazon-rekognition-video-analyzer

A working prototype for capturing frames off of a live MJPEG video stream, identifying objects in near real-time using deep learning, and triggering actions based on an objects watch list.
Other
368 stars 158 forks source link

unsupported pickle protocol: 3 #31

Closed jacksonrdlc closed 6 years ago

jacksonrdlc commented 6 years ago

I think it has something to do with running python 3 on my computer for the pynt videocapture and and imageprocessor.py running in python 2? I don't want to reset up my environment. Is this is whats happening? Is there another fix?

unsupported pickle protocol: 3: ValueError
Traceback (most recent call last):
File "/var/task/imageprocessor.py", line 243, in handler
return process_image(event, context)
File "/var/task/imageprocessor.py", line 69, in process_image
frame_package = cPickle.loads(base64.b64decode(frame_package_b64))
ValueError: unsupported pickle protocol: 3