Skip to main content

Objekterkennungsbibliothek für SWENG25

Project description

SWENG25_ObjectPatternRecognizer_GrpA

A small Python application that uses a camera livestream to perform real-time object pattern recognition and color detection.
The main purpose of this project is to practice software engineering principles.

From our perspective, this includes:

  1. Collaborating as a team on a shared software project using a version control system (Git/GitHub).
  2. Writing proper documentation that is clear, structured, and maintainable.
  3. Implementing unit tests to ensure code quality and reliability.

Installation and Usage

These instructions explain how to set up the environment and run the application.
We recommend using Visual Studio Code (VS Code) as the development environment, since the steps below refer to its interface.

Requirements

Extensions

Make sure the following VS Code extensions are installed:

  • Mypy – for static type checking
  • Pylint – for code linting and style checks
  • Black Formatter – for automatic code formatting

To enable automatic formatting on save, open your VS Code settings and set:

"editor.formatOnSave": true

Setting Up the Virtual Environment

We use venv, which comes preinstalled with Python. This ensures compatibility across all systems.

Follow these steps to create and activate the virtual environment:

  1. Open the project folder in VS Code.

  2. Open the integrated terminal (`Ctrl+`` or via View > Terminal).

  3. Run the following commands:

    python -m venv venv
    .\venv\Scripts\activate
    pip install -r requirements.txt
    

Updating the Virtual Environment

If you install new packages (e.g., using pip install package_name), remember to update the requirements.txt file so teammates can reproduce your environment.

pip freeze > requirements.txt

Notes

  • Make sure Python is added to your system PATH.
  • If you encounter issues activating the virtual environment on Windows, run PowerShell as an administrator and use:
    Set-ExecutionPolicy RemoteSigned
    
  • For macOS/Linux, activate the environment with:
    source venv/bin/activate
    

Development Process and Community Rules:

responsibility

Lenny: config, log, sources, output Sascha: Main, ImgProc Fabian: CICD, GUI, DOC

Branching

main-Branch
development-Branch
feature-Branch
doc-Branch

Pull-Requests

due to small project and learn process one creats pull-request, second person aproves by coment and third aproves realy.

and state how you work and which rules to you have

Repository Structure:

introduce your folder structure, which folder contains what.

Features:

tate which awesome features this project contains

Architecture:

We will learn how to document the architecture in a separate lecture

Additionals:

Placeholder for all the other project related stuff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sweng25_objectpatternrecognizer_grpa-0.1.0.tar.gz (87.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file sweng25_objectpatternrecognizer_grpa-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sweng25_objectpatternrecognizer_grpa-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db24797dd0f7e82315a383710bd5dc74b51371f877a71e7453d62ffcf6dbc88a
MD5 9b33877096074d61803eee6d78104a37
BLAKE2b-256 f4c340257456bda9d0c96e5b87f7a7e792b9e5cf0c5f1a6218190bfbd2e1c5f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sweng25_objectpatternrecognizer_grpa-0.1.0.tar.gz:

Publisher: CI_deploy_toPyPI.yml on codemonk8/SWENG25_ObjectPatternRecognizer_GrpA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sweng25_objectpatternrecognizer_grpa-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sweng25_objectpatternrecognizer_grpa-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 852fd8bae775390e2394d063eab54b51b7ac03a2bda89024991f9a412252b78e
MD5 51cc1e4a0bfbb6facd1b758358cb8159
BLAKE2b-256 17a45e187f995f9abeefc79f6f7277c6ff263fc2417a2bad5fcfbcfb9cd58022

See more details on using hashes here.

Provenance

The following attestation bundles were made for sweng25_objectpatternrecognizer_grpa-0.1.0-py3-none-any.whl:

Publisher: CI_deploy_toPyPI.yml on codemonk8/SWENG25_ObjectPatternRecognizer_GrpA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page