{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/102950"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/102950","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Optimizing OCR Performance Through Black-Box Approximation on Full-Resolution Text Images","abstract":"Optical Character Recognition (OCR) technology continues to face challenges when applied to noisy or domain-specific images, making effective image preprocessing a critical area of research. The differentiable bypass method, which enables end-to-end optimization by replacing non-differentiable (Black-Box) functions with differentiable approximations, has shown promise in this context. Previous work has applied this method to train preprocessors that improve OCR performance by leveraging feedback from OCR engines, despite their non-differentiable nature. This approach typically relies on bounding box (BBX) annotations for patch-based processing, making it labor-intensive, costly, and query-heavy. To address these issues, we propose an end-to-end framework that processes full-resolution images without BBX annotations or patching. Leveraging a transformer-based approximator, our method enables preprocessor training with larger contexts and variable image sizes. We validated our method on two noisy receipt datasets, POS and SROIE, achieving a WER reduction of 0.6593 to 0.5042 for SROIE and 0.7404 to 0.3069 for POS. OCR query calls were reduced by 98.14% for SROIE and 95.92% for POS. Additionally, our approach improved Tesseract’s WER and CER to levels comparable to the commercial OCR engine Google Vision API.","abstract_html":"Optical Character Recognition (OCR) technology continues to face challenges when applied to noisy or domain-specific images, making effective image preprocessing a critical area of research. The differentiable bypass method, which enables end-to-end optimization by replacing non-differentiable (Black-Box) functions with differentiable approximations, has shown promise in this context. Previous work has applied this method to train preprocessors that improve OCR performance by leveraging feedback from OCR engines, despite their non-differentiable nature. This approach typically relies on bounding box (BBX) annotations for patch-based processing, making it labor-intensive, costly, and query-heavy. To address these issues, we propose an end-to-end framework that processes full-resolution images without BBX annotations or patching. Leveraging a transformer-based approximator, our method enables preprocessor training with larger contexts and variable image sizes. We validated our method on two noisy receipt datasets, POS and SROIE, achieving a WER reduction of 0.6593 to 0.5042 for SROIE and 0.7404 to 0.3069 for POS. OCR query calls were reduced by 98.14% for SROIE and 95.92% for POS. Additionally, our approach improved Tesseract’s WER and CER to levels comparable to the commercial OCR engine Google Vision API.","abstract_has_math":false,"creators":["Naquib, Faizah Binte"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Nilanjan Ray (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-06","date_published":"2025-06","updated_at":"2026-11-26T21:57:54Z","subjects":["Image Processing","Optical Character Recognition (OCR)","Vision Transformer","Large Language Model","Black Box Approximation"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/81732","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/81732","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F102950","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F102950","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Nilanjan Ray (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Naquib, Faizah Binte"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-06-12T18:21:36Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-06"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Image Processing","Optical Character Recognition (OCR)","Vision Transformer","Large Language Model","Black Box Approximation"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/81732"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Optical Character Recognition (OCR) technology continues to face challenges when applied to noisy or domain-specific images, making effective image preprocessing a critical area of research. The differentiable bypass method, which enables end-to-end optimization by replacing non-differentiable (Black-Box) functions with differentiable approximations, has shown promise in this context. Previous work has applied this method to train preprocessors that improve OCR performance by leveraging feedback from OCR engines, despite their non-differentiable nature. This approach typically relies on bounding box (BBX) annotations for patch-based processing, making it labor-intensive, costly, and query-heavy. To address these issues, we propose an end-to-end framework that processes full-resolution images without BBX annotations or patching. Leveraging a transformer-based approximator, our method enables preprocessor training with larger contexts and variable image sizes. We validated our method on two noisy receipt datasets, POS and SROIE, achieving a WER reduction of 0.6593 to 0.5042 for SROIE and 0.7404 to 0.3069 for POS. OCR query calls were reduced by 98.14% for SROIE and 95.92% for POS. Additionally, our approach improved Tesseract’s WER and CER to levels comparable to the commercial OCR engine Google Vision API."]},{"key":"dc:title","label":"Title","values":["Optimizing OCR Performance Through Black-Box Approximation on Full-Resolution Text Images"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Nilanjan Ray (Computing Science)"],"dc:creator":["Naquib, Faizah Binte"],"dc:date.accessioned":["2025-06-12T18:21:36Z"],"dc:date.issued":["2025-06"],"dc:description.abstract":["Optical Character Recognition (OCR) technology continues to face challenges when applied to noisy or domain-specific images, making effective image preprocessing a critical area of research. The differentiable bypass method, which enables end-to-end optimization by replacing non-differentiable (Black-Box) functions with differentiable approximations, has shown promise in this context. Previous work has applied this method to train preprocessors that improve OCR performance by leveraging feedback from OCR engines, despite their non-differentiable nature. This approach typically relies on bounding box (BBX) annotations for patch-based processing, making it labor-intensive, costly, and query-heavy. To address these issues, we propose an end-to-end framework that processes full-resolution images without BBX annotations or patching. Leveraging a transformer-based approximator, our method enables preprocessor training with larger contexts and variable image sizes. We validated our method on two noisy receipt datasets, POS and SROIE, achieving a WER reduction of 0.6593 to 0.5042 for SROIE and 0.7404 to 0.3069 for POS. OCR query calls were reduced by 98.14% for SROIE and 95.92% for POS. Additionally, our approach improved Tesseract’s WER and CER to levels comparable to the commercial OCR engine Google Vision API."],"dc:identifier.doi":["https://doi.org/10.7939/81732"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"dc:subject":["Image Processing","Optical Character Recognition (OCR)","Vision Transformer","Large Language Model","Black Box Approximation"],"dc:title":["Optimizing OCR Performance Through Black-Box Approximation on Full-Resolution Text Images"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:57:54Z"}