Where can I find the source code for img.find_rects?
I think it is on github, but I have no idea how to find it.
Is there a web page explaining how to use github?
See the bottom of the code for the intro to the find_rects method:
Find rects just re-uses AprilTags quad finder. I recommend you read the paper on how AprilTags works to edit the code.