django_ocr_server/utils.py
def ocr_img2str(stdin):
    """
    It recognize image from 'stdin' to string 2019-03-10
    :param stdin: image as bytes
    :return: content of recognized image as a string
    """
    return cmd_stdin(TESSERACT_STRARG, stdin).decode()

    It recognize image from 'stdin' to string 2019-03-10
    :param stdin: image as bytes
    :return: content of recognized image as a string
    
It recognize image from 'stdin' to string 2019-03-10
It recognize image from ' stdin ' to string 2019 - 03 - 10
def ocr_img2str(stdin):
    return cmd_stdin(TESSERACT_STRARG, stdin).decode()
def ocr_img2str ( stdin ) : return cmd_stdin ( TESSERACT_STRARG , stdin ) . decode ( )
It recognize image from 'stdin' to string 2019-03-10
It recognize image from ' stdin ' to string 2019 - 03 - 10
"""
    It recognize image from 'stdin' to string 2019-03-10
    :param stdin: image as bytes
    :return: content of recognized image as a string
    """
content of recognized image as a string
content of recognized image as a string
stdin
image as bytes
image as bytes