Skip to content

ggallitz/bachelor_thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bachelor Thesis Project

This repository contains the technical proof of concept developed as part of my bachelor thesis.

The project explores how analog shelf information in brick-and-mortar grocery retail can be transformed into structured digital data using computer vision. More specifically, it focuses on detecting price tags in shelf images, extracting relevant information such as product names and prices, and storing the results in a machine-readable format.

Project Scope

The repository includes code for:

  • model training for price tag detection
  • price tag detection on shelf images
  • cropped tag extraction
  • structured information extraction
  • basic end-to-end processing

This is not a full production system or consumer-facing platform. It is a research-oriented prototype that demonstrates the technical feasibility of the proposed approach.

Repository Structure

  • model_training/ – notebooks and artefacts for model selection, hyperparameter search, and final training
  • detect/ – detection logic for localizing price tags
  • extract/ – extraction logic for reading product information from detected tags
  • store/ – components for storing structured outputs
  • utils/ – helper functions
  • gradio_app.py – simple interface for testing the pipeline

Testing the Pipeline with Gradio

The full pipeline can be tested through the Gradio app.

Setup

  1. Create and activate a virtual environment.
  2. Install the required dependencies:
    pip install -r requirements.txt
    
  3. Add your own OpenAI API key to the .env file:

OPENAI_API_KEY=your_api_key_here

Start the App

Run:

python gradio_app.py

After that, Gradio will provide a local URL in the terminal which you can open in your browser.

Notes

The full training dataset is not included in this repository due to storage constraints. It can be made available upon request.

Some folders may contain experimental or generated artefacts created during development and testing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors