/VisionOrdinateur

Primary LanguageJupyter NotebookMIT LicenseMIT

Logo

THE BEAUTY OF COMPUTER VISION

Computer Vision Shenanigans ...

Contribute Β· Report Bug

License Python OpenCV Jupyter Notebook


drawimemeng

> Would it work on my machine ?

Probably ?! idk as long as these following conditions are meet.

  • A Working computer
  • And hands
  • At least 1gb of free storage
  • python 3.9.1 (can be downloaded from here)
  • Have patient (it might take minutes, hours or maybe years)

1. Open your terminal in the project working directory :

Make sure you are operating in the project folder.

2. Create a Virtual Environment :

$ python3 -m venv env

This will create a Python self contained virtual environment that contains a specific version of Python and any associated libraries and dependencies.This allows for the creation of isolated environments for different projects or purposes, without affecting your overall system Python installation. elimenating any possibiltie for conflecting files and packages.

After running the previous command a folder by the name env should appear.

In order to not fall in any compatibilities issues it's highly recommended to update your pip and setuptools by running the following :

$ pip install pip -U
$ pip install setuptools -U

3. Activate your virtual environment :

To activate your virtual environment run the following commands that corresponds to your OS.

  • Windows :
    • cmd
      $ env\Scripts\activate.bat
    • powershell
      $ env\Scripts\activate.ps
  • Mac/Linux:
     $ source ./env/bin/activate

This will activate our virtual environment by adding an env next to our terminal command line.

To deactivate it run the following command

$ deactivate

4. Installing the required libraries :

Open-CV / easyocr / imutils / matplotlib

now we will install the required libraries needed for our project to run which python made easy using pip on a requirements.txt file.

$ pip install -r requirements.txt

πŸ’‘ Tip of the day if you are working on your own vitual environement and you want to extract all the libraries you used in your isolated environment run the following. pip freeze > requirements.txt this should list all your packages and their versions in a requirements.txt

5. Congratulations new skill acquired πŸ₯³

Now you are a certified average python venv user.

> Code Documentations πŸ‘¨β€πŸ’»

This Project consists of two parts :

Cars Plates Detections 🚘

In this first project you will find two files a Jupyter Notebook and a python main file, both are implementing what we have learned in our previous lessons regarding the High-pass filter and it's utilization in edge detection,by implementing the Marr–Hildreth algorithm we can extract car plates from pictures. The Mar-Hildreth code is done by Afaf & Mouna.

Video Detection πŸ€–

This one is just straight forward, we try to use image processing and classification to detect objects from an already trained data.

Scripts Showcase

Contributions

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork the repo
  • Create a new branch (git checkout -b feature/AmazingFeature)
  • Make your changes and add them (git add .)
  • Commit and push your changes (git commit -m 'Add some AmazingFeature' && git push origin feature/AmazingFeature)
  • Create a new pull request 🀩
  • And that's it 😊
  • Don't forget to star ⭐ the repo if you like it 😊

License

Distributed under the MIT License. See LICENSE for more information.

Contact Information


Note: The object detection algorithms are here to aid students and learners. Please use it responsibly, following your educational institution's rules and applicable regulations related to mathematical optimization and algorithms.