Skip to content Skip to sidebar Skip to footer

How To Read Image From Database(sqlite Django) Not Local File?

OpenCV => 3.4, Operating System / Platform => Ubuntu18.4, Compiler => Pycharm2018, Django => 2.1.2 I am trying to get an image from a database and encode the image

Solution 1:

This is my method when create a AI web project :

np.ndarray <=( cv2.imencode| cv2.imdecode) => buff <==> base64

Post a Comment for "How To Read Image From Database(sqlite Django) Not Local File?"