Issue with the new json data (data from the body section of the form):
It's common for fields in the body section of the form to be blank. In these instances, the histogram of the image performed during word_segmentation will equal zero. This makes the program crash because it returns a value of NaN.
**Possible Solutions**
Figure out a way to catch those instances where the histogram equals zero and discard them.
Issue with the new json data (data from the body section of the form):
It's common for fields in the body section of the form to be blank. In these instances, the histogram of the image performed during word_segmentation will equal zero. This makes the program crash because it returns a value of NaN.