Image Extractor

A month ago, I took up a project to analyse images in textbooks. It sounded like a good idea back then because I was interested in learning Google Vision api and computer vision in general and was looking for a project to implement it. I later found out that the api, specifically the label images function, labels images based on context but not the content of the images. My first diagnosis of the problem was that I needed to extract the images from the documents and analyse them separately using the api. Which was naive in hindsight but alas that was the birth of this side project. This for instance was labelled as friendship (77%) but what I needed was to label the five humans and the one cake. I later found out though that it still doesn't work and is currently working on a different method using object detection Initially, I was resistant to embark on this project mainly because I could not find a way to do in R. I came across this solutio...