I have this project where I need (on iOS) to detect simple geometric shapes inside an image.

After searching the internet I have concluded that the best tool for this is OpenCV. The thing is that up until two hours ago I had no idea what OpenCV is and I have never even remotely did anything involving image processing. My main experience is JS/HTML,C#,SQL,Objective-C…
Where do I start with this?
I have found this answer that I was able to digest and by reading already other stuff, I understand that OpenCV should return an Array of shapes with the points/corners, is this true? Also how will it represent a circle or a half circle?
Also what about the shape orientation?
Do you know of any Demo iOS project that can demonstrate a similar functionality?
If you have only these regular shapes, there is a simple procedure as follows :
approxPolyDPfunction.Below is my example in Python:
Below is the output:
Remember, it works only for regular shapes.
Alternatively to find circles, you can use
houghcircles. You can find a tutorial here.Regarding iOS, OpenCV devs are developing some iOS samples this summer, So visit their site: http://www.code.opencv.org and contact them.
You can find slides of their tutorial here