Put axis index on OpenCV histogram

I want to draw a histogram of an image in OpenCV. I am using demo code but there is no index of the number on the x-axis or y-axis.

Then I use cvPutText to include some numbers. Again, cvPutText does not support wrapping text in different orientations (horizon only). I want the text to be placed vertically

Is there a way to get around this?


source to share

All Articles