FLISoL2017 - Primeros pasos con Python: Manipulando imágenes 🖼⟷💻- 2 mins
This is a Python 🐍 workshop for the Festival Latinoamericano de Instalación de Software Libre 2017 (FLISoL) for which I was invited at the Instituto Tecnológico de León. It is basically a workshop about some Python basics, focused on image manipulation.
I don’t use any lib other than NumPy and Matplotlib to manipulate images, since I was asked to teach through the basics. Even tho, I coded some image derivatives (sobel X and sobel Y) to illustrate some image processing, and coded some fractals.
Checkout the slides of the workshop:
If you’re installing Python on Windows, just remember to check the “Add Python to PATH” little box during the installation.
Installing NumPy and Matplotlib:
matplotlib we will use
pip. After installing Python, open a terminal and enter the following:
$ pip install numpy
Now enter the following:
$ pip install matplotlib
If you want not only to install this libs on your user, but in the whole system, use
Checking your installation:
To check if the installation was successful, on the open terminal open your Python prompt by entering:
Something like this should have appeared in your console:
Now try to import
matplotlib as follows:
>>> import numpy >>> import matplotlib
If any error is raised, congrats! Now you’re all set to go.
ABOUT COPYING OR USING PARTIAL INFORMATION: 🔐
These documents were originally created by the author. Any usage of these documents or their contents is granted according to the provided license and its conditions. For any question, you can contact the author via email or Twitter.
Want to see an awesome fractal? Check this one:
Copyright (c) 2017 Rodolfo Ferro