r/computervision • • Oct 10 '26

Help: Project Need advice on a safety-critical CV system: detecting a tiny tool being inserted into a fixed socket by a worker without PPE (4K CCTV, edge deployment)

0 Upvotes

Hey everyone!

I'm an embedded/IoT engineer working on an industrial computer vision project, and I've reached a point where I think I need to reconsider my approach rather than just keep training better object detection models.

I'd really appreciate some suggestions from people who've dealt with small-object detection, fixed-camera surveillance, industrial automation, or event detection.

The actual problem

I'm developing a safety monitoring system for an electrical switchgear room in an industrial plant.

There are 16 switchgear panels arranged along an alley. Each panel has a specific socket into which an operator inserts a T-shaped handle to rack a circuit breaker in or out.

For safety reasons, operators are required to wear an arc flash protective suit (ArcSuit) while performing this operation.

The objective is simple:

If someone inserts the T-handle into a panel's socket without wearing the required protective suit, the system should detect the event and automatically email a screenshot of the violation to the concerned personnel.

That's it. I don't particularly care about achieving the highest mAP on a benchmark. I care about reliably detecting this specific event in the real environment.

Missing a genuine operation is significantly worse than generating an occasional false alarm.

The hardware and environment

  • One fixed-position 4K CCTV camera overlooking the entire alley.
  • Approximately 20 FPS RTSP video.
  • 16 panels with fixed, known socket locations.
  • An NVIDIA Jetson Orin Nano Super for edge inference (TensorRT).
  • No requirement to track people across multiple cameras for this initial POC.
  • Camera placement is fixed, so the scene geometry and panel positions are largely constant.

The biggest problem is perspective.

Workers close to the camera are relatively easy to detect. However, workers operating panels at the far end of the alley occupy a tiny fraction of the frame.

When someone kneels down to operate a lower panel, their visible body becomes even smaller.

The T-handle is substantially smaller than the person, making detection at the far end extremely difficult.

What I've tried so far

My initial approach uses YOLO-based models:

1. ArcSuit detection

A model trained to distinguish between:

  • Workers wearing an ArcSuit
  • Workers not wearing an ArcSuit

2. T-handle detection

A separate model trained to detect the specific T-shaped handle.

Because real-world handle images were limited, I also generated synthetic training data using BlenderProc, with randomized perspectives, lighting, and environments.

I've also experimented with a combined detection model and spatial/temporal logic to identify interactions between the handle and a worker not wearing the suit.

The models were trained on an RTX 3060 laptop GPU, and I've been deploying inference on the Jetson using TensorRT.

Why I'm not satisfied

The approach works better when the objects are reasonably large in the frame, but I have several problems:

1. Extremely small objects

At the far end, the worker occupies very few pixels, and the handle is almost impossible to distinguish reliably.

Upscaling a low-resolution region obviously doesn't recover details that were never captured.

2. Workers kneeling or bending

A person who is clearly visible while standing becomes considerably harder to classify while kneeling, particularly when partially occluded by the panel or other objects.

3. Tool detection is fragile

The T-handle may be partially obscured by the operator's hand, body, or the panel itself.

Even a good object detector might not consistently detect it during the exact moment of insertion.

4. Bounding-box overlap isn't necessarily the right event definition

A person holding a handle near a panel doesn't necessarily mean they're operating the breaker.

Conversely, an actual insertion may be missed if the handle itself isn't detected.

5. Real-time inference constraints

My both models inference can take approximately 120 ms per frame, depending on configuration. The camera produces around 20 FPS, so I also need to think carefully about sampling, buffering, and potentially missing short-duration events.

One important advantage I haven't fully exploited

The camera is stationary, and I know exactly where all 16 sockets are.

The socket positions can be manually calibrated and stored as ROIs.

In other words, I don't necessarily need a general-purpose object detector to discover where an operation might occur.

I know the locations where an operation can happen.

I also don't necessarily need to detect a T-handle everywhere in the frame. I only need to determine whether a breaker operation is happening at one of those specific locations, and whether the operator is wearing the protective suit.

This makes me wonder whether object detection is even the best primary approach.

What I'm considering

Some possible alternatives I've been thinking about:

  • ROI-based processing: Crop the socket regions directly from the native 4K stream rather than resizing the entire frame to 640/768 pixels.
  • Temporal change detection: Detect characteristic motion or visual changes around each socket that indicate insertion/operation.
  • Optical flow or background subtraction: Exploit the stationary camera to detect interactions at known locations.
  • Event-based classification: Train a model on short video clips of actual operations versus normal activity, rather than detecting individual objects in isolation.
  • Hybrid approach: Use lightweight motion/event detection around the sockets to trigger more expensive analysis of the relevant high-resolution region.
  • Multi-frame analysis: Accumulate evidence across frames instead of requiring the handle to be detectable in an individual frame.

I'm very open to entirely different approaches, including classical CV techniques if that would meaningfully improve reliability.

My questions

  1. How would you architect a system like this? Would you continue pursuing object detection, or switch to a more event-oriented approach?
  2. Given a stationary 4K camera and 16 known socket positions, would per-socket ROI processing and temporal analysis be more reliable than detecting a tiny T-handle?
  3. Are there established approaches for detecting human-object interactions when the object is too small or frequently occluded to detect reliably?
  4. How would you approach distinguishing an actual breaker operation from someone merely standing, kneeling, or moving near the panel?
  5. How would you structure inference and buffering to avoid missing short events when model inference is slower than the incoming frame rate?
  6. For a safety-related application where false negatives are particularly costly, what techniques would you use to measure and improve event-level recall rather than just detection mAP?

I'm also interested in approaches that can improve over time using collected real-world video, particularly hard-negative mining, active learning, or semi-supervised learning.

My ultimate goal

I want a system that can run continuously on an edge device, detect genuine breaker operations, verify whether the operator is wearing an ArcSuit, and report violations with an image.

I understand that no purely vision-based system can guarantee zero missed detections, particularly with occlusions and limited pixel information. My goal is to make it as reliable as practically possible, quantify its limitations, and determine whether the current camera arrangement is sufficient.

I'm happy to share screenshots of the scene, sample crops showing the size of distant workers and handles, and examples of successful and failed detections. If you feel invested enough for that, hit me up in the DMs!

I am also very new to computer vision in general and have only done a single course in my university days being mainly from electronics background.

Any advice, papers, architectures, or practical experience would be greatly appreciated.

Thanks!


r/computervision • • Oct 09 '26

Discussion 3rd-year AI undergrad wondering if Computer Vision (ADAS/Automotive) is worth specializing in right now?

20 Upvotes

Hey everyone,

I’m currently in my 3rd year of an official AI degree here in Spain (yeah, the actual degree is called "Artificial Intelligence"). Our curriculum is pretty heavily focused on general ML models, but we have a few Computer Vision courses and I’m finding them super interesting. Also, my professors seem to be legit experts in the field and they even teach in a specialized master’s program focused on CV.

My main goal is to work on ADAS / autonomous systems in automotive, or maybe robotics. I also find some data science stuff cool, but cars/robotics are my real focus.

Right now, my tech stack is basically Python, plus the typical solid foundation in math/stats from the first two years... although let’s be real, I’ve already forgotten a good chunk of the raw theory after the exams lol.

I have a few questions for people working in the industry:

  1. Is CV still a safe/rewarding bet with the whole AI boom? My gut feeling is that CV in physical systems (robotics, ADAS, edge devices) is way more resilient to being "automated away" than generic text/LLM/data analysis stuff, but I’d love to hear your take.
  2. Would staying for that specialized Master’s be worth it, or is it better to push for junior/internship roles right after the bachelor’s?
  3. What should I focus on building right now? From what I gather, learning C++ is pretty much mandatory for low-latency automotive/embedded work. Besides that, should I just stick to building side projects with OpenCV, YOLO, and PyTorch while trying to apply what I learn in class?

Any advice on how to stand out would be greatly appreciated!


r/computervision • • Oct 10 '26

Research Publication ROMA: an LLM system that decides what to sense next — object-centric active perception, code released

0 Upvotes

Most vision pipelines sense first and reason after. ROMA (code released) makes the ordering explicit: the system tracks what it knows about an object, decides which sensory action would resolve the most uncertainty, and commits only when evidence is sufficient.

The interesting engineering question for this crowd: the information-gain estimate that drives the "what to sense next" decision is LLM-guided rather than learned from a labeled information-gain dataset. That makes it deployable without training data, but it also means the sensing policy inherits the LLM's blind spots — it will reliably request the modalities the prompt author thought to mention, not necessarily the one that would actually disambiguate the scene.

Hub (related reading): https://papers.tinrobotics.com/paper/roma-llm-system-for-real-world-object-centric-multi-sensory-active-perception/


r/computervision • • Oct 10 '26

Research Publication 4th place on llamaindex benchmark

Thumbnail
gallery
0 Upvotes

4th place on the llamaindex benchmark locally 72.62% word f1. I know it's not much, but after a month of research and many experiments, I reached this point.

TonerHound doesn't use any API or LLM. It's GPU free and anyone can use it at 0$ cost.

GitHub: https://github.com/vanrajsinh650/TonerHound


r/computervision • • Oct 10 '26

Help: Project style augmentation pipelines

2 Upvotes

Hi guys, I’m working on a pose estimation cnn and I was wondering wether any low cost yet effective style augmentation pipeline exists rather than neural style augmentation cnns that are heavy to run during training. Did anyone experiment some simple algorithm that manages to perform something like style transfer? Thanks!


r/computervision • • Oct 09 '26

Showcase A surprising amount of image processing and CV in manufacturing shuttlecocks

86 Upvotes

r/computervision • • Oct 10 '26

Showcase OKS says the keypoints are close; poseaudit says whether the elbow angle is usable

Post image
1 Upvotes

I kept running into this during an internship: a pose model with a good mAP, but the joint angles we computed from its keypoints were not reliable enough to use. OKS and PCK say whether points land near the label. They don't say how far off the angle (or tilt, or length) you compute from them is.

So I made poseaudit. It reads COCO or YOLO labels and predictions (or supervision objects), computes the same angle from both, and reports how large the disagreement is, how often it is large, and where: bias, limits of agreement, rate of large errors, broken down by person size.

Demo on 200 COCO val2017 images with yolo11n-pose: when the arm segments average under 30 px, 58% of elbow angles disagree with COCO's labels by 15 degrees or more; above 60 px, 26%. Part of that may be the labels' own noise: if COCO's label spread were independent, isotropic noise, it alone would put 30 to 44% of the small arms and 17 to 31% of the large ones past 15 degrees. How much of the gap is the labels' is unknown, and the README says so.

There's also a mode for angles you've already computed (CSV or OpenSim .mot vs. a reference). It now has a real-data example (17 subjects on a treadmill, side-view YOLOv8 against marker motion capture) and can estimate the time offset itself (--time-offset auto).

Install: pip install poseaudit

GitHub: https://github.com/8rulerstar/poseaudit

Browser demo (no install): https://huggingface.co/spaces/8rulerstar/poseaudit

Feedback welcome, especially on what you'd want measured.


r/computervision • • Oct 09 '26

Showcase Real-time Funko Pop recognition on a phone

16 Upvotes

I built a Funko Pop scanner that runs fully on-device (44 ms per scan on an iPhone 16 Pro, ~165 ms on a Pixel 10) for a conference talk. A coding agent did most of the ML work, and I spent most of my time checking it against reality. Sharing what happened, because the failure was more interesting than the result.

Pipeline

  1. Detector: RF-DETR Nano fine-tuned as a single-class "funko" detector
  2. Square crop around the box (10% margin, so the figure isn't squashed)
  3. Embedding model: CLIP ViT-B/32 with a 256-d projection, fine-tuned for retrieval
  4. Nearest neighbour (dot product) over 818 catalog vectors, with an unknown-figure threshold

On-device

Exported with ExecuTorch: Core ML on iOS, Vulkan on Android. Getting RF-DETR onto Vulkan took some graph surgery: exporting attention as plain matmul + softmax instead of the SDPA decomposition, splits as slices, constant-folding the weight transposes, and restricting the partitioner to the ops the shipped Vulkan backend actually has. That took it from 96 GPU partitions to 6, and dropping the input from 384 to 320 px cost nothing measurable (mAP@50 0.997 vs 0.996 on the Roboflow test split, 0.930 vs 0.935 mAP on the synthetic one).

Code, training pipeline and models: https://github.com/NorbertKlockiewicz/funko-scanner


r/computervision • • Oct 10 '26

Help: Project Suggest some projects idea

0 Upvotes

I have learn to fundamentals of CV. I want to move forward suggest some good project idea which includes : YOLO, ViT, DL.


r/computervision • • Oct 09 '26

Help: Project What would be a meaningful next step after building a U-Net baseline for emergency landing site segmentation?

1 Upvotes

I’m working on an academic project to identify potential emergency landing areas from overhead imagery, and I would appreciate advice from people working in computer vision and remote sensing.

Using the Moroccan Aircraft Emergency Landing Sites Semantic Segmentation Dataset, I’ve trained a U-Net from scratch and tested two changes: adding brightness/contrast augmentation and replacing BCE + Dice loss with BCE alone.

Each configuration was evaluated across three random seeds with a fixed data split. Neither change showed a clear improvement over the baseline.

I’m now deciding where to focus the next stage:

• Investigate failure cases and annotation quality more closely.
• Compare training from scratch with a pretrained encoder.
• Explore transferring the model to imagery from Vietnam with limited labeled data.

My supervisor suggested the third direction. However, I haven’t yet established a Vietnamese imagery source or suitable labeling criteria. Defining what can reasonably be considered a potential landing area from imagery alone is one of the questions I need to resolve.

There are also limits to the current evaluation: geographic independence between splits has not been fully established, and matching the dataset’s “safe” labels does not demonstrate real-world landing safety.

For a student project with limited resources, which direction would you prioritize—and what evidence would you want to see before pursuing transfer to a new region?

I’d appreciate relevant papers, dataset suggestions, or lessons from similar projects. Thank you for sharing your perspective.

#ComputerVision #RemoteSensing #SemanticSegmentation


r/computervision • • Oct 09 '26

Showcase Webcam hand-tracking pointer built on MediaPipe: thumb-tip pointing, pinch gestures, One Euro filtering [open source]

4 Upvotes

I built a webcam pointer that controls a web page with your hand, and I'd like feedback on the tracking side.

Pipeline:

- MediaPipe HandLandmarker on the webcam stream. A measured run held a steady 30 fps (95th percentile frame time 37 ms).

- A 4-point calibration maps camera coordinates to screen coordinates.

- The pointer is the thumb tip. I started with the index finger, but the thumb tip was more stable when pinching, because the index finger moves when you close the pinch.

- A One Euro filter smooths the pointer. It removes jitter when you hold still without adding much lag when you move.

- Pinch detection uses hysteresis: the pinch closes below a normalized thumb-to-index distance of 0.18 and opens above 0.23. A short lookback (0.25 s) restores the pointer position from just before the pinch started, so closing the pinch doesn't shift the target.

Gestures on top of that: pinch and release selects, pinch and hold for 0.6 s clicks, pinch and drag vertically scrolls, and pinch and drag horizontally past 250 px navigates back or forward.

The selection is sent to an AI agent through an MCP server, so you can point at a paragraph and ask a question about it. That part isn't related to computer vision, so I'll leave it out here.

Known problems: a background fan made my voice detector think I was speaking (separate audio issue). Lighting and distance from the camera affect tracking. It's tested on one webcam and one machine, so I'd like to hear how it behaves on others.

Repo (Apache 2.0) and demo video: https://github.com/mdelaba/visionpointer

Questions I have: has anyone tuned pinch hysteresis thresholds on a larger set of hands? And is there a better way than the lookback to stop the pointer from jumping when a pinch closes?


r/computervision • • Oct 09 '26

Help: Theory Could a physical adversarial pattern prevent AI from replicating real people in videos?

2 Upvotes

With tools like Kling Motion Control, it's becoming increasingly easy to take a video of a real person and transfer their movements to an entirely AI-generated character (e.g. Jean Philanthrope, etc.), I've been thinking about whether it's possible to protect people from having their appearance, movements, or actions replicated by AI. And I'm wondering if there's a way to disrupt this process using physical adversarial patterns.

I have seen research on adversarial clothing and patterns that can confuse computer vision systems or interfere with person detection. For example: https://adversarialapparel.com/

But could a similar approach work against AI video replication? For example, imagine a smartphone case with a specially designed pattern that appears in videos and interferes with an AI's ability to accurately analyze or replicate the person.

A few questions:

  • Could a physical adversarial pattern interfere with pose estimation or motion extraction?
  • Could a relatively small object, like a smartphone case, have any meaningful effect?
  • Would something like this work across different AI video models?
  • Is there any existing research exploring ways to protect real people from AI video replication?

I understand that disrupting traditional computer vision doesn't necessarily mean disrupting generative video models. I'm curious whether this is technically plausible or fundamentally unrealistic.

Would love to hear your thoughts! Thanks!


r/computervision • • Oct 09 '26

Help: Project Looking for access to the CLRS Dataset. Baidu Netdisk Link Requires a Chinese Phone Number

Thumbnail
reddit.com
1 Upvotes

r/computervision • • Oct 08 '26

Discussion All the best for the WACV notification

Post image
22 Upvotes

Let's all pray together for what is coming tomorrow/today!

Edit : Got delayed guyz, new date is 14th October! Now we have more time to pray!!!!


r/computervision • • Oct 09 '26

Help: Project On premise OCR for printed + handwritten invoices

Thumbnail reddit.com
1 Upvotes

r/computervision • • Oct 08 '26

Discussion WACV 2027 Round 2 results

45 Upvotes
  1. Review outcomes: In about 24 hours, final reviews and acceptance for WACV 2027 will be out. I want to start this thread to discuss review experience and scores.

If accepted can you let us know if you were a direct R2 submission or a resubmission from R1.

2. Acceptance rate: I am eager to know what the acceptance rate is for this year.

3. Possible conference recommendations: Also, in case papers get rejected what other upcoming conferences would you recommend for a resubmission?


r/computervision • • Oct 09 '26

Showcase ParkerLabel: a CPU-only annotation tool using MobileSAM

1 Upvotes

I open-sourced ParkerLabel for object detection and instance segmentation annotation.

It runs locally on the CPU using MobileSAM and ONNX Runtime. Positive and negative clicks generate a target mask, with manual correction available. Image embeddings are cached so you can resume work.

Each instance is saved with its category, bounding box, area, and independent mask as COCO RLE in a per-image JSON file. This is not a full COCO dataset export.

Portable builds are available for macOS arm64 and Windows x64, with no Python setup required. The README has a short demo.

Source and demo: https://github.com/Parker-Lyu/ParkerLabel

Download: https://github.com/Parker-Lyu/ParkerLabel/releases/tag/v1.0.0

Feedback from people doing image annotation would be useful, especially around mask correction and resuming saved work.


r/computervision • • Oct 08 '26

Discussion The Alchemy of Semi-Supervision

3 Upvotes

Hey r/computervision, I wrote this blog post on semi-supervised learning applied to semantic segmentation.

Blog post: https://stefankeselj.com/entries/semi_supervision.

I think it's a useful but underrated technique. I'd be curious about people's thoughts.


r/computervision • • Oct 09 '26

Help: Project I'm building a vision-based AI assistant that learns procedures from demonstrations. Where could it be useful?

Thumbnail reddit.com
0 Upvotes

r/computervision • • Oct 08 '26

Showcase Watchdoggy

12 Upvotes

r/computervision • • Oct 08 '26

Help: Project RGB-D relocalization: good feature matches, but wrong camera poses

2 Upvotes

I’m building a 3D mapping system using RGB-D cameras, based on existing SLAM techniques, with persistent spatial memory.

The main issue is relocalization after tracking loss, especially when the camera returns to a known place from a different viewpoint.
I’m using historical keyframes, shared 3D landmarks, PnP/RANSAC and geometric verification.

Yet some incorrect poses still pass verification: one had 44 inliers, 0.83 px median reprojection error and 3.72 cm depth residual, but was actually off by 10.36 cm and 5.99°.
My best experiment correctly relocalized only 9/34 known returns.

What would you investigate first: landmark quality, geometric degeneracy, matching, or pose verification?
I can share a minimal reproducible example.


r/computervision • • Oct 08 '26

Discussion Open-source TCG card recognition with Yolo + DINOv3

Post image
18 Upvotes

I've been working on an open-source computer vision project for recognizing trading cards from images (currently only english MTG/Pokemon are supported):

https://github.com/matteot11/open-card-collector

The current pipeline is:

image → YOLO OBB detection → DINOv3 embedding → vector retrieval

  • The detector is trained entirely on synthetic images, with backgrounds generated using FLUX2 and real card scans composited into different scenes.
  • DINOv3 is fine-tuned on original card scans and then used for visual retrieval.

Models are available on huggingface:

Currently it works reasonably well for identifying cards, but it still does not reliably distinguish between different printings/editions of the same card. That's one of the main things I'm trying to improve.

It's still a work in progress, so I'm mainly sharing it to get feedback on how the approach could be improved, specifically:

  • improving the synthetic → real domain gap for the detector
  • better approaches for exact printing recognition
  • faster vector retrieval (still not real time)
  • ideas on possible downstream applications

r/computervision • • Oct 08 '26

Showcase Turned a stock Xiaomi pan/tilt camera into a local object tracker that runs at 0.5Hz

Post image
3 Upvotes

The most useful thing I learned building this: my camera has about 1.4 seconds of dead time between a move command and the picture actually moving.

Setup is a Xiaomi MJSXJ10CM on the firmware it shipped with (4.5.6_0450). I didn't flash it or exploit it. go2rtc v1.9.14 with the go2rtc-xiaomi-control patch gets 1080p HEVC over the LAN, and the pan/tilt motor takes a MISS command with a payload of 1 to 4 for left, right, up and down.

The camera replies acknowledged: true to every command, but that only means it heard you. So I measured the frames instead. I grabbed a frame, sent one step, grabbed another, block-matched to estimate the shift, and compared that against a no-move baseline. Left moved about 40px and right about 36px, so the steps aren't symmetric. Each step shifts the picture 8 to 12% of the frame.

Then I sampled frame difference every 200ms after a single command. I saw nothing at 823ms, movement at 1331ms, and it was settled by 1824ms. Video comes in at 12fps, so a naive tracker would fire about fifteen more commands before the first one lands. The fix is to ignore everything for 2 seconds after each command and use a dead zone of 0.18, which is wider than one step's displacement. Make it any tighter and it oscillates forever.

Detection uses Apple's Vision framework through a ~150-line Swift helper (10 to 30ms, no dependencies), with optional SSD-MobileNetV1 ONNX for the 80 COCO classes.

Two traps cost me time. That ONNX graph returns zero detections, with no error, if you feed it a pre-shrunk 300x300 image. It works fine at native 1280x720. And Vision uses a bottom-left origin, so if you get the flip wrong, tilt inverts and the camera runs away from the target.

In testing, a dragged box around a chair went from 0.76 centring error to 0.21 in 3 steps.

Full write-up with the details: https://blog.shravanrevanna.me/reverse-engineering-a-xiaomi-camera-into-a-self-tracking-robot


r/computervision • • Oct 08 '26

Showcase Screph demo: from a visual CV experiment to a reusable Python program

2 Upvotes

Hi r/computervision,

I’m the developer of Screph, a Windows desktop application that brings visual computer vision tools, AI assistance, dataset preparation, and code into one workspace.

I’ve recorded a walkthrough showing how these pieces fit together around a small parts-counting task.

The example uses three synthetic images of metal bushings and rectangular plates. The lighting and arrangement vary, and one image has a missing bushing. The workflow is:

  • Select the region to inspect and run contour detection.
  • Inspect the result: the initial settings include unwanted plates.
  • Use the agent’s suggestion to filter by circularity, rerun processing, and check the result.
  • Save the configuration and use it in a Python program through Screph Code.
  • Run the program on all three images and inspect the CSV and visual output: 6, 6, and 5 bushings.

The video also covers image correction, GrabCut segmentation, and an annotation example where an agent proposes boxes, I correct one, and the image and annotations are added to a dataset.

Screph started as a GUI automation project. It has grown toward a broader workflow where you can describe a task visually, inspect and revise a processing approach, then carry that work into editable code. The agent can help choose operations and parameters and assemble a processing workflow that remains available for inspection and editing.

A few details about the recording: the agent responses were obtained beforehand and are replayed, while the image processing and generated program run again during the demonstration. The parts images are synthetic teaching examples. Model training is not run in this video.

The project is still in development. I’d appreciate feedback on the transition from visual experimentation to code: what information would you want preserved so that you could debug and trust the resulting program? Where would this fit—or get in the way—in your current workflow?

Project website: Screph