Image detection

I would like to create a projected book. the individual pages contain pre-printed elements. I would like to recognize these image objects, then an animation runs on the book. When the next pattern is detected, it continues.

which libraries would you recommend for this?

ofxAruco should work I think.

its marker based? I need omage detection on pages with text or some outlines.