Describe the bug
When I use the recently updated GoogleVisionFormatter class to create opf from OCR output, Even when the work_id's CopyRight status is Public domain, the is_private key's value in the pecha object of the OpenpechaFS return is True and the published opf is private when it should be public.
Describe the bug When I use the recently updated GoogleVisionFormatter class to create opf from OCR output, Even when the work_id's CopyRight status is Public domain, the is_private key's value in the pecha object of the OpenpechaFS return is True and the published opf is private when it should be public.
To Reproduce Steps to reproduce the behavior:
use the below script
Below link is the OCR example of the OCR output used. OCR output of W3CN18530
Expected behavior the return of OpenpechaFS pecha object's
is_private
should befalse
Screenshots below screenshot image is what the GoogleVisionFormatter returns
Desktop (please complete the following information): Openpecha toolkit
Additional context None