Menu

Lesson 1

- Lessons
Lesson 1
  1. Introduction to the seminar cycle 
    Download
  2. Appendix 1
    Download
  3. Prerequisite
    Download 1
    Download 2
    Download 3
    Download 4
    Download 5
    Download 6
  4. Main goal of these lessons
    Conoscenza di base del computer
    Basi di programmazione software
    Introduzione a Python ed ai suoi utilizzi
    Python:
    a. Tipi di dati, variabili, condizioni
    b. Strutture e Loop
    c. Metodi più efficienti per i loop e vantaggi delle prestazioni del software
    d. Introduzione alla manipolazione delle immagini
    e. Manipolazione delle immagini e analisi dei risultati
    f. Come scrivere una propria libreria e maneggiare i files di I/O
    g. Applicare le conoscenze acquisite ad un progetto
  5. Google Colab
    link esterno
Tags:

4 thoughts on “Lesson 1

Ivan

Hi
In the homework section you write:
Install OpenCV library
But… how can we install this library?
Thanks!

Reply
    paolacelio

    That was an advanced exercise but you’re right so I’ll say here how to install libraries (this part is the official documentation that you can find here:
    ======>>> […]
    installation and Usage
    If you have previous/other manually installed (= not installed via pip) version of OpenCV installed (e.g. cv2 module in the root of Python’s site-packages), remove it before installation to avoid conflicts.
    Select the correct package for your environment:
    There are four different packages and you should select only one of them. Do not install multiple different packages in the same environment. There is no plugin architecture: all the packages use the same namespace (cv2). If you installed multiple different packages in the same environment, uninstall them all with pip uninstall and reinstall only one package.
    a. Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution)
    run pip install opencv-python if you need only main modules
    run pip install opencv-contrib-python if you need both main and contrib modules (check extra modules listing from OpenCV documentation)
    b. Packages for server (headless) environments
    These packages do not contain any GUI functionality. They are smaller and suitable for more restricted environments.
    run pip install opencv-python-headless if you need only main modules
    run pip install opencv-contrib-python-headless if you need both main and contrib modules (check extra modules listing from OpenCV documentation)
    Import the package:
    import cv2
    All packages contain haarcascade files. cv2.data.haarcascades can be used as a shortcut to the data folder. For example:
    cv2.CascadeClassifier(cv2.data.haarcascades + “haarcascade_frontalface_default.xml”)
    Read OpenCV documentation
    <<<===== [...] We'll cover this part in next lessons Paola Celio

    Reply
Silvia

Buongiorno, non riesco a scaricare la lezione 1, mi dà errore, grazie!

Reply
    paolacelio

    From sunday will be available sorry 🙂

    Reply

Leave a Reply to paolacelio Cancel reply

Your email address will not be published.