Class Review

Well guys, the semester is ending (thank God) and we needed to do a Review of the class. I made a video for this, and here is the link.

The objective of my project is to furnish and facilitate the user the problem of not knowing the lenght and/or angle of an object in an image and give it to them in known dimensions.

Talking about the angles:

  1. The first attempt was with the slope equation which they give tou you a point (x1,y1) and a slope “m”, and have to plug it into the formula : y-y1=m(x-x1), but it was really confusing.
  2. Second attempt after being explained by another student we chose to do it with vectors.
  3. We added dot product.

 

Talking about lenghts :

After doing several experiments we realized that the best distance from where we should take the picture was from two meters away from the object, and using a camera with a 2448 x 3264 pixeles resolution.

Here are some pictures of the code and ran in the terminal:

Captura de pantalla 2016-05-05 a las 12.50.17 a.m.Captura de pantalla 2016-05-05 a las 12.50.32 a.m.Captura de pantalla 2016-05-05 a las 12.52.10 a.m.Captura de pantalla 2016-05-05 a las 12.53.21 a.m.

and the link to the code in GitHub.

 

CC BY-SA 4.0 Class Review by fernandacano is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.