Assistant Professor at GEC Thrissur | IIT H | Former Senior Engineer at Qburst
Block or Report
Block or report sreeragh-ar
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
pickle2_unpickle3.py
pickle2_unpickle3.py 1#pickle dict with image in Python2 (2.7.6 used)
2frame = cv2.imread('input.jpg')
3img_str = cv2.imencode('.jpg', frame)[1].tostring()
4data = {'img': img_str}
5with open('pickledObj.pkl', 'wb') as outfile:
-
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.