How can I get an image from LMDB in Python?
And what is the data type of that result? Would that data type match the function open('xx.jpg').read()
?
My purpose is to read an image from LMDB, and then match my code (that code is written for the data type of open('xx.jpg').read()
), so I want to get the same data type from LMDB if I can.