Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- img = cv2.imdecode(np.fromstring(f.read(), np.uint8), 1)
- img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
- input_data.input = base64.b64encode(zlib.compress(cPickle.dumps(img, 2)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement