Giter Club home page Giter Club logo

babsprojekt311's Introduction

Bildanalyse und Bildsynthese Projekt

Dieses Projekt ist für die Uni und macht super viel Spaß.

Installation von allen Dependencies für die Entwicklung (Windows 10/11)

  1. Python 3.11.7 installieren: https://www.python.org/downloads/release/python-3117/
    1.1. Falls mehrere Python versionen installiert sind: Die Pfade unter "PATH" von Python 3.11 in den Systemumgebungsvariablen nach ganz oben Setzen (höchte Priorität).

  2. Github Repo herunterladen und in VSCode öffnen.

  3. Python Version innerhalb vom VSCode-Terminal mit python --version prüfen ("Python 3.11.7" sollte in der Konsole stehen).
    3.1. Python 3.11.7 als interpreter in VSCode auswählen (Sicherheitshalber).

  4. Virtuelles Environment in VSCode einrichten.
    4.1. In Konsole python -m venv .venv eingeben (mehr Hilfe: https://www.youtube.com/watch?v=GZbeL5AcTgw)

  5. CUDA 12 Toolkit herunterladen: https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64
    (zwingend Notwendig für ZED SDK, evtl. Rechner nach Installation neu starten)

  6. ZED SDK installieren: https://www.stereolabs.com/developers/release
    Rechner neustarten (Wie von Installationswizard verlangt)

  7. Requirements installieren (ZED/mediapipe/etc) (VSCode: Ctrl+Shift+P --> Python: Create Terminal)
    In Konsole eingeben: pip install -r requirements.txt

  1. get_python_api.py in virtuellem Environment ausführen um den Rest der Dependencies für die ZED SDK installieren.

  2. Hoffen

  3. Profit???

Troubleshooting

OpenCV hat kein Intellisense

  1. VSCode: Ctrl+Shift+P --> Preferences: Open User Settings (JSON) auswählen

  2. folgende Zeilen einfügen:
    "python.autoComplete.extraPaths": [".venv\\Lib\\site-packages\\opencv_python-4.9.0.80.dist-info"],
    "python.analysis.extraPaths": [".venv\\Lib\\site-packages\\opencv_python-4.9.0.80.dist-info"],

  3. VSCode: Ctrl+Shift+P --> Preferences: Open Workspace Settings (JSON) auswählen

  4. folgende Zeile einfügen:
    "python.autoComplete.extraPaths": [".venv\\Lib\\site-packages\\opencv_python-4.9.0.80.dist-info"],
    "python.analysis.extraPaths": [".venv\\Lib\\site-packages\\opencv_python-4.9.0.80.dist-info"],

Wenn bei den Strings in der Json schon was vorhanden ist, z.B. bei "python.autoComplete.extraPaths", einfach den Pfad als String im Array hinzufügen. Beispiel: "python.analysis.extraPaths": [ "C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python36\\Lib\\site-packages\\cv2", ".venv\\Lib\\site-packages\\opencv_python-4.9.0.80.dist-info" ],

babsprojekt311's People

Contributors

funzyy avatar konsti7777 avatar monnitz avatar vollkornholztuer avatar

Watchers

 avatar  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.