Is there a way in R to ocr an image just for specific coordinates ?

Is there a way in R to ocr an image just for specific coordinates ? as in java there is a package called "get croods" which helps to make ocr with bbox_coordinates

I would use something like The magick package: Advanced Image-Processing in R (r-project.org) to image_crop and then send that for OCR.

with the magick package it used only the width and height to crop the image , i just want it to be more specefic like top left bottom right coordinates

image_crop(image, "100x150+50") : *crop out width:100px and height:150px starting +50px from the left

Starting from 50 pixels of the left

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.