winkelement / ocrstream

ResourceSpace plugin to integrate Optical Character Recognition through tesseract.
MIT License
8 stars 0 forks source link

empty page_count on new resources #12

Closed winkelement closed 9 years ago

winkelement commented 9 years ago

When importing new multipage pdf files page_count in table resource_dimensions is not populated. So OCR will fail as it tries to get this value as $pg_num in scan.php. After full screen preview of the resource, page_count is set correctly.