2

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!

H Dave
  • 306
  • 1
  • 11

1 Answers1

1

You can delete the temporary files from your system and then try again. It would free up some space and should ideally work as per my experience with a similar error.

Ronnie
  • 21
  • 3