I am working with imagemagick in R and while using it to convert an image into text, am facing a problem where I get an error which says "Unable to Extend Cache". I have referred to current website and it did give me this result which does not solve my problem. I have also refereed to this external source, but it does not work as well. My CPU usage seems to be fine.
Below is the code I am trying to run:
test3 <- image_read("D:/xyz/Untitled112.jpg") %>%
image_resize("5300") %>%
image_convert(colorspace = 'gray') %>%
image_trim() %>%
image_ocr()
cat(test3)
write.table(test3, "D:/xyz/untitled.txt", sep="\t")
If someone could help, that would be great!