title: Draw a frequency histogram in C++/OpenCV
body: <p>An array of frequency is created.</p>
  
  <pre><code>int arr[10];
  arr[0] = 24;
  arr[1] = 28;
  arr[2] = 23;
  arr[3] = 29;
  //and so on
  </code></pre>
  
  <p>How do i draw a histogram using OpenCV in C++ based on the array?</p>