Welcome, no question is dumb here, we are here to help you!
Check out this tutorial where we do what you want to do, but for a different algorithm (a dice counting algo). We start from a standalone C++/OpenCV program and convert it into a JeVois module:
There are other introductory tutorials at:
and also be sure to check the core documentation for some explanations of concepts: