Source code of functions

General discussion about topics related to OpenMV.
suik52
Posts: 3
Joined: Sun Sep 16, 2018 1:15 pm

Source code of functions

Postby suik52 » Sun Sep 16, 2018 1:19 pm

Hi, guys. I am recently doing the project using openmv. and currently i want to get deeper understanding of the alogrithm behind all the api functions like find_circles, mean_filters all these functions. I looked up the openmvb github but i was kind of lost there. so I am wondering how do i find these source code python file ? really appreciate if someone can help me this.
User avatar
kwagyeman
Posts: 2195
Joined: Sun May 24, 2015 2:10 pm

Re: Source code of functions

Postby kwagyeman » Sun Sep 16, 2018 3:19 pm

Um, it's under:

src/omv/imlib

Find circles is under Hough.c
Nyamekye,
suik52
Posts: 3
Joined: Sun Sep 16, 2018 1:15 pm

Re: Source code of functions

Postby suik52 » Sun Sep 16, 2018 9:24 pm

Hi, thank you for ur reply. I found the hough.c file. one question it comes to me is that are these functions all written in c? I thought they are supposed to be python code since we import them in python syntax. if so , how these functions are transfomed into python code? is there any way that i could find the python way ? sorry, I dont know much about c or c++.
User avatar
kwagyeman
Posts: 2195
Joined: Sun May 24, 2015 2:10 pm

Re: Source code of functions

Postby kwagyeman » Sun Sep 16, 2018 9:36 pm

Hi, all methods are written in C. Python just provides the high level user interface. Um, what allows the code to be called in python isn't particularly interesting. It's just business logic.
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests