How to save an image in levelDB
<p>I started a new project in deep learning with caffe. I need to get lots of RGB/Depth/infrared images and some other information from kinect 4 windows and analyze them with caffe. 
Caffe uses leveldb/lmdb for large scale data import/export. leveldb is installed on my c++ project and its wotking correctly.
Now, what is the most efficient way to save images on leveldb? is it enough to convert image to a byte array and put in in leveldb? </p>