Draw flower using turtle

Python has a library called turtle that is part of the standard python installation. To use it, you need only type:

 from turtle import * 

or

 import turtle 

You can type this right in the python interpreter to experiment with turtle graphics or, better yet, include this line at the top of your program and then use turtle drawing commands in your program!
In the turtle package when you run a program with turtle commands, a special window will open where the drawing will take place.

Continue reading

Canny Edge Detection

Simpson family

The Canny Edge Detection is a popular edge detection algorithm. It was developed by John F. Canny in 1986. It is a multi-stage algorithm. Also known to many as the optimal detector, Canny algorithm aims to satisfy three main criteria:

  • Low error rate: Meaning a good detection of only existent edges.
  • Good localization: The distance between edge pixels detected and real edge pixels have to be minimized.
  • Minimal response: Only one detector response per edge.

Canny Edge Detection in OpenCV: cv2.Canny().

Continue reading

Create your own summer pictures!

When you don’t have time and money to go for summer vacation, take pictures and show them to your friends. One way is to make your summer vacation pictures at your office!! How? easy, you just need Matlab, pc, part of the two amigos code and creativity!

Here, my summer vacation pictures are ready 😀

vacation

 

Continue reading

Explore Mars and the Moon by Google Maps!

Google quietly launched an interesting new feature within Google Maps yesterday: the ability to explore both Mars and the Moon (here) The feature is easy enough to use. Simply visit Google Maps, click the “Earth” button in the bottom left corner, and zoom out. Once you see a full view of the Earth, you’ll see two options along the bottom to visit the moon or Mars. From there, you’re free to explore those distant worlds. (very impressive work from Google)