I'm trying to extract the data from image using **pytesseract**. This module has **image\_to\_data**, **image\_to\_osd** methods. These two methods provides lot of info(TextLineOrder, WritingDirection, ScriptDetection, Orientation etc...) as output.

Below image is the output of **image\_to\_data** method. what does values of these columns(level, block\_num, par\_num, line\_num, word\_num) meaning?

[![enter image description here](https://i.stack.imgur.com/aYwsl.png)](https://i.stack.imgur.com/aYwsl.png)

Output of **image\_to\_osd** looks as below. What is the meaning each term in this?

Page number: 0
Orientation in degrees: 0
Rotate: 0
Orientation confidence: 16.47
Script: Latin
Script confidence: 4.00

I refered docs but I did not get any info regarding these parameters.