Python Challenge 5 Hints and Tips

Hints for Python Challenge 5


  • The only package used (on top of numpy and matplotlib) is the OpenCV package. This has a Python wrapper called cv2. This wrapper is a set of scripts that interfaces between Python and OpenCV commands, which is written in a ‘lower level’ (faster) language.
  • In fact, OpenCV is a Computer Vision package that can be used for a wide range of tasks beyond the simple image analysis considered here.

Hints and Notes

  • The methods within OpenCV are quite comprehensive. Use these liberally to achieve what you are looking to do.
  • These methods often have parameters that need to be tweaked to get the desired result. Experiment with these parameters and see what outputs you can create!

Solution for Python Challenge 5