Code Monkey home page Code Monkey logo

flisol17's Introduction

Primeros pasos con Python: Manipulando imágenes 🖼⟷💻

Author: Rodolfo Ferro Pérez
Email: [email protected]
Twitter: @FerroRodolfo

About 🕹

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.

Setup ⚙️

You can download Python from the official site. For this workshop, version 3.6 is recommended (we will be using operators such as @). We will also need to install NumPy and Matplotlib.

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:

To install numpy and 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 sudo.

Checking your installation:

To check if the installation was successful, on the open terminal open your Python prompt by entering:

$ python

Something like this should have appeared in your console: Python prompt

Now try to import numpy and matplotlib as follows:

>>> import numpy
>>> import matplotlib

If any error is raised, congrats! Now you're all set to go.

Content 👾

  • You can find the lecture here.
  • You can find the scripts folder here.
  • You can find some images here.

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:

Built from Mandelbrot set using Python

Copyright (c) 2017 Rodolfo Ferro

flisol17's People

Contributors

rodolfoferro avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.