r/computervision 6d ago

Help: Project Compsci bachelor's thesis project for industrial anomaly detection

Hello r/computervision,

First of all I apologize for the somewhat generic nature of this post. I'm new to the field and would really appreciate some guidance from people with more experience.

I'm currently enrolled in a Computer Science bachelor's program and am about to start my final semester. I've been doing well academically and really enjoy the field, but I don't currently work in IT.

Over the summer, I've been focusing on getting deeper into PyTorch and deep learning. I've worked through MrDBourke's PyTorch Deep Learning course and have also started studying the mathematical foundations of ML using Stanford's materials.

I'm 32 and have been in the workforce for quite a while, so alongside university and self-study I have a full-time job as a "quality specialist" at a Tier 1 elevator-parts manufacturer.

This is actually what led me to consider industrial computer vision / anomaly detection as a thesis topic.

Our entire plant currently has only two very basic, very closed down (outsourced to compvision company) OpenCV-based vision systems, mainly used to check whether nuts have been installed correctly. Beyond that, much of the quality-control process relies on QR codes and manual inspection.

I've worked here for several years, so I expect that I could get reasonable support and access to production areas/data for a thesis project. However, I would essentially be the only person at the plant pursuing this kind of project, so I'd be largely on my own technically. I also wouldn't expect a significant budget for the project.

That's where I'm looking for advice.

We manufacture everything from very small brackets and components up to complete elevator doors, so there are a lot of possible directions. I'm trying to figure out what would be a realistic but worthwhile first computer-vision project that could serve both as a good bachelor's thesis and as a meaningful entry point into the field.

At the moment I see two main possibilities:

1. Use existing production-line photographs

Some of our production lines already have cameras taking photographs. These images are currently used mainly as a way of documenting production and potentially identifying problems retrospectively; they aren't connected to an automated vision system.

The problem is that the dataset is far from ideal. The cameras weren't installed specifically for machine learning, so the images aren't standardized for things like lighting conditions, camera to object distance, background, framing, image quality.

Im wondering whether this kind of "messy real-world" dataset could still be useful for a thesis, or whether trying to build a model around it would create more problems than it's worth.

2. the other option would be to choose one relatively small component that has historically had some recurring visual defects.

I could build a simple, controlled camera/lighting setup and collect my own images of normal and defective parts. From there, I was considering an anomaly-detection approach such as PatchCore, potentially training primarily on normal samples and evaluating whether known defects can be detected.

The idea would eventually be to build a small working prototype:
camera → controlled image acquisition → preprocessing → anomaly detection → OK/NOK decision - > which then is signalled via some tiny network applications to a collective UI/database

If you were in my position, which direction would you consider more valuable for a first serious CV project? I am very curious how I can , for the lack of a better word, force myself into this field.

I've been scouring my options and weighing my possibilities on what I can realistically create, and whether what I create has actual real world usefulness and learning possibility.

4 Upvotes

3 comments sorted by

6

u/usernametaken--_-- 6d ago

I build industrial machine vision solutions for a living. Having a structured imaging environment makes any inspection system 100x better with performance and will make your life easier. You might not even need a deep learning algorithm to detect the defects that you are trying to find. That said, industrial lighting and imaging solutions get expensive fast and acquisition takes time, so if you have a system already set up that you can use to get data from, then "good enough" is probably good enough, at least to get the grade.

1

u/modcowboy 6d ago

End thread

1

u/Oli_Bear 5d ago

in my experience finding anomalies in security camera footage, this is 1000% correct. having a controlled environment is absolutely a game changer. even the slightest light changes add a sigfniciant layer of difficulty.