Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have a solution: f = open(some_kyrillic_name, "rb") chunk = f.read() chunk_arr = np.frombuffer(chunk, dtype=np.uint8) img = cv2.imdecode(chunk_arr, cv2.IMREAD_COLOR)

I have a solution: f = open(some_kyrillic_name, "rb") chunk = f.read() chunk_arr = np.frombuffer(chunk, dtype=np.uint8) img = cv2.imdecode(chunk_arr, cv2.IMREAD_COLOR)

Thank for your time, berak!

click to hide/show revision 3
No.3 Revision

updated 2018-12-14 05:12:19 -0600

berak gravatar image

I have a solution: solution:

f = open(some_kyrillic_name, "rb")
chunk = f.read()
chunk_arr = np.frombuffer(chunk, dtype=np.uint8)
img = cv2.imdecode(chunk_arr, cv2.IMREAD_COLOR)

cv2.IMREAD_COLOR)

Thank for your time, berak!