Ask Your Question

Revision history [back]

Documentation says the following

Python: cv.CreateHist(dims, type, ranges=None, uniform=1) → hist

So I am guessing that the createHist function actually throws back a python defined hist data type.

This link has some information contained on how histograms are actually created. I guess this can help ya further? http://msenux.redwoods.edu/math/python/hist.php

When storing in a database, I would suggest reading out the data of that object type and putting it in a own selected format.