firelab-general/examples/base64_test.py

9 lines
140 B
Python
Raw Normal View History

2022-10-11 16:03:00 -07:00
import base64
import cv2 as cv
img = cv.imread('01-0001-cropped.png')
print(img[0:100])
# print(base64.b64encode(img).decode()[0:5_000])