r/computervision • • 10h ago

Showcase I optimized camouflage patterns with gradient descent (interactive demo)

119 Upvotes

Article: https://virostatiq.com/camouflage-gradient-descent/

Demo: https://virostatiq.com/projects/camouflage/

I grew camouflage patterns for a 3D human figure using gradient descent through a differentiable renderer. I tested them against two observers: a model of human vision, and person detectors. There's a write-up and an interactive three.js demo (links below).

Setup

- Figure: a MakeHuman figure (built with MPFB in headless Blender) in four poses: standing, walking, crouching, kneeling. Only the colours of the shirt and trousers are optimised.

- Scene: one 360° HDRI (Poly Haven, CC0) is both the backdrop and the light source. Lighting uses 9-coefficient spherical-harmonic irradiance, so the cloth is shaded as it would be on that site.

- Rendering: PyTorch3D. The geometry is fixed, so each view is rasterised once and only re-shaded at every step. A run takes about a minute on an RTX 3090 (256 px renders, 512 px texture, 400 steps).

- Held-out test: the panorama is split into six 60° sectors. The optimiser trains on three, and every reported number comes from the other three.

- Background panning: during training the background shifts randomly by up to ±12°, so the pattern can't memorise the strip of panorama that is always behind the chest.

Observer 1: a hand-built visibility loss, computed at several image scales (an image pyramid), comparing the figure with the background right behind it:

- contrast across the silhouette, relative to the background's own edges

- contour coherence

- colour difference

- texture difference, from VGG Gram matrices

Pattern constraints

- A learnable palette of 5 colours, picked from the training views.

- Either crisp patches of 5–10 cm or 1.5 cm "digital" pixels.

- A density penalty that keeps any one colour from forming patches larger than about 11 cm.

- The constrained patterns score within a few per cent of a free texture.

Observer 2: a person detector. COCO-trained Faster R-CNN is added to the loss, using its person confidence on views at 8–30 m. RetinaNet and FCOS are used only for testing transfer.

Results (held-out views; detection rates are the mean over the three detectors)

- At 30 m, the person is detected in 99% of views in the original clothes, 74% in an optimised flat colour, 48% in the patch pattern, and 21% in the pattern trained with the detector.

- Averaged over all distances, adding the detector to the loss lowers detection from 75% to 53%. The two detectors that weren't in the loss are fooled even more: at 30 m, RetinaNet finds him in 8% of views and FCOS in 14%.

- The two observers produce the two strategies biologists describe. The vision model leads to background matching. The detector leads to disruptive colouration: more contrast, plus colours the forest doesn't have (rust, tan, pale mint). The disruptive pattern is easier to spot up close.

- In rubble, every pattern does no better than one well-chosen flat colour. In deserts, the patterns don't carry over between sites: on a desert site never used in training, every trained pattern lost to the original clothes.

- "Adaptive cloth", which re-tunes its 5 colours for each viewer, cuts the far-distance outline score from 0.41 to 0.12 in the forest. It doesn't help up close in direct sun.

Demo: three.js with the optimiser's shading ported to a shader (same SH lighting and tonemapping). The pattern's evolution is recomputed on the GPU from saved snapshots and matches PyTorch to within 0.06/255 mean error. There's also a "Find him" mode.

Limitations: it's a simulation with diffuse light only (no shadows), and there's no human study yet. I compare against related work in the write-up: Owens et al. 2014, GANmouflage, the Bristol camouflage group, and adversarial clothing (AdvCaT and others).


r/computervision • • 6h ago

Help: Project I rebuilt the YOLO11 training pipeline from scratch. It's open source if you want to use it or learn from it

14 Upvotes

Since last year I worked on building the YOLO11 training architecture from scratch and it is at a point where I am happy to share it. The repo is here: https://github.com/hlreicha/glassbox-yolo

The main reason I built it was I wanted to understand and control every part of the training pipeline that is more human readable and not relying on a big framework with an AGPL license. The hope of rewriting everything from scratch and train my own weights would sidestep that license. Right now only Object Detection is currently supported.

This is what I implemented so far:

  • YOLO11 model in n/s/m/l/x sizes, defined by a YAML config.
  • Full training loop with SGD/AdamW, warmup, EMA, checkpointing and resume.
  • Task aligned assignment (TAL) and the box/cls/DFL loss.
  • Augmentation pipeline with mosaic, HSV, flips, translate, scale, rotation and perspective.
  • Validation with mAP@50 and mAP@50-95, plus NMS and postprocessing.
  • CLI commands for training, validation and prediction.
  • Pretrained weights can be loaded as a starting point.

Install is just pip install -e . after you get PyTorch set up for your platform.

AI Use Disclosure:
I used an AI assistance to help scaffold the project structure, the training loop boilerplate, and debugging. In addition it was extremely useful to learn how the loss, TAL, and post-processing work in this architecture.

Results:

I trained YOLO11n and YOLO11s on COCO for 550 epochs. I'm about 1-2% mAP behind the Ultralytics reference numbers. It started out much worse and most of the improvement came from fixing augmentation details, loss normalization and EMA. The goal was never to beat Ultralytics, it was to own and understand the whole pipeline. I am also limited on compute since I am only using RTX 3090 to train the models.

If you want to use it, learn from it, or tear it apart, the repo is open. Happy to answer questions about anything in there.

Any feedback or insights are very welcomed. I would like to have collaborators with this project as well.


r/computervision • • 1d ago

Showcase Ai2 released Molmo3 - an open, 3D VLM

46 Upvotes

Ai2 just released Molmo3; an open, 3D VLM, which can point, segment, and estimate depth to return 3D boxes from image/video 🤯

I paired the 4B model with Meta's VGGT-Ω to go from a 32s phone video to a labeled 3D room, locally:
• VGGT-Ω gives depth and camera poses for 54 key-frames (2.4 min on M4 Max)
• Molmo3 segments 12 object types in each frame
• The masks are lifted to 3D and merged across frames
• Result: 16 objects in 3D, with no training and no labels


r/computervision • • 1d ago

Showcase Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation at a fraction of the cost

86 Upvotes

I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.

When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.

To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.

We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:

Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.

  • Segment the video by topic
  • Segment only the portion where the speaker is shown.
  • Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.

Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.

Model : https://huggingface.co/ambient-intelligence-labs/tempora-1

Technical Blog: https://goambient.ai/blog/tempora-1/

Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1

I would love your feedback! Thank you.


r/computervision • • 8h ago

Showcase Open source on-device Pokémon card scanner & dataset

0 Upvotes

We’ve built an open-source card scanner that names the exact printing of a Pokémon card from a photo, and can pick the exact print from an index of over 200,000 cards — the most complete dataset of cards available, covering every language.

It’s a set of fine-tuned models & harness, small enough to run entirely on an iPhone, detecting dozens of cards from a photo in a couple seconds (with first feedback within 300ms)

The code, models and the dataset it's built on are at cardcorpus.com — code on GitHub, models on HuggingFace.

How it works

A small card detector we trained ourselves, on a MobileNetV4-small backbone, finds every card in the photo, even rotated, overlapping or in a pile.

Each card is straightened and turned into a fingerprint by a fine-tuned DINOv3 ViT-S/16. That fingerprint is matched against about 100k reference images of cards in English, Japanese and Chinese.

Reprints often share the same art, so to tell them apart we read the collector number and set code (OCR) and line the card up against our scans using classic computer vision (SIFT) to compare the small details.

First results appear in about 0.3s, and the full double-check finishes a second or so later. As the models improves, the double-check is finding even fewer places to correct.

We trained the models on cloud GPUs using thousands of real card photos. We labelled those photos by hand at first with custom tooling, and once the models got good enough we only had to double-check their answers.

OPEN SOURCE

Initially it was for our iOS app, pennysleeve.app, but we want everyone to benefit from the datasets & models!

cardcorpus.com


r/computervision • • 8h ago

Discussion Bounding box format gotchas I hit while writing exporters for YOLO, COCO and Pascal VOC

0 Upvotes

I've been writing dataset exporters for an annotation tool, and most of the bugs I hit were not in the code but in small differences between formats. Here's the list in case it saves someone a broken training run:

  1. Box encoding is different in every format

- YOLO: class cx cy w h, center point and size, normalized to 0–1 by image width and height

- COCO: [x, y, w, h], top-left corner and size, in absolute pixels

- Pascal VOC: xmin ymin xmax ymax, two corners, absolute pixels

Converting YOLO to COCO without moving from center to corner gives boxes shifted by half their size. They look almost right on big objects, which is why it's easy to miss.

2. You need the image size to convert YOLO

YOLO labels are normalized, so you can't get pixels back without reading each image's width and height. If your images were resized after labeling, the normalized labels still fit, but pixel formats do not.

3. Class IDs start at different places

YOLO class IDs are 0-based indexes into your class list. COCO category IDs are whatever the categories array says, and many datasets start at 1. An off-by-one here trains a model where every class is the wrong one.

4. VOC uses class names, not IDs

VOC XML stores the class name as text. Rename a class in one place and not the other, and those objects silently disappear from training.

5. Empty images

YOLO expects an empty .txt for images with no objects (background images); some pipelines skip the image if the file is missing. COCO keeps the image in images with no annotations.

6. Polygons

YOLO segmentation is class x1 y1 x2 y2 ... normalized; COCO stores polygons in absolute pixels and also needs area and bbox filled in, or some evaluation code breaks.

My habit now: after any conversion, draw a few random images with their converted boxes before training. It takes a minute and catches all of the above.

Disclosure: the tool is SwiftLabel, a paid desktop app I make (offline, local YOLO/SAM pre-labeling, 14-day trial): https://swiftlabel.io/?utm_source=reddit&utm_medium=community&utm_campaign=swiftlabel_trial_202612&utm_content=computervision

What other format traps have you run into?


r/computervision • • 1d ago Mindblown

Showcase How experts behave in a vision MoE

23 Upvotes

A short follow-up to the Birder 0.8.0 post - I trained a small MoE ViT with the new DeepSeek-v3-style layers and looked at how the experts route tokens. Some of it turned out more interesting than I expected, so sharing it here.

Setup

  • ViT-M/16 (12 layers, dim 512) with DeepSeek-v3-style MoE in the last 6 layers
  • 32 routed SwiGLU experts + 1 shared expert per MoE layer
  • Expert Choice routing, capacity factor 2: each expert picks its top 13 of the 197 tokens (196 patches + 1 register token)
  • Routing is done per image rather than across the batch, so inference routing doesn't depend on batch size or ordering
  • Attention-pooling head, LayerScale
  • Self-supervised with Franca, ~400M samples seen, on ImageNet-style web-scraped images

For the analysis I recorded the routing of all 6 MoE layers over the 10,000 images of ImageNet-V2. (All images below are from ImageNet-V2)

Early layers: orientation and texture

As expected, experts in earlier layers focus on low-level features. At layer 6, experts pick by orientation and texture: edges going /, edges going \, thin vertical stripes, fine dot patterns.
Much like the edge detectors of early vision.

Last layer: things you can name

By layer 11 many experts are easy to name. The clearest one is expert 21, which finds eyes - in dogs, cats, monkeys, a doll, and every face in a group photo.

It's not the only one: bare skin, thin wires and fences, and the outline where an animal meets its background.

And one I didn't expect - an expert that hunts a single stock-photo watermark: the faint diagonal X and the logo in the middle. Averaging the 32 images it's most active on makes the watermark show up clearly.

Position experts

Some experts ignore content entirely and pick by location: the right edge, the top row, the left column, and one that picks every other row and column. A few survive to the last layer, which still has experts for the top row, the bottom row and the center.

My guess is that this comes from the learned absolute position embedding (APE). It writes each patch's location into the features, where a linear router can read it directly. With RoPE only, position lives in attention instead, so I'd expect fewer of these experts (though probably not zero - border patches and image content still carry some position information).

Putting numbers on it

For each patch I took its top routed expert and measured how much of that choice is explained by:

  • position - the patch's cell on the 14×14 grid
  • appearance - mean color and contrast of the patch (256 bins)
  • meaning - the image's class

Each is mutual information minus a shuffled baseline, as a share of the routing entropy.

Position and appearance matter at every depth. Meaning starts near zero and grows ~8× by the last layer. The class label is per image, so background patches dilute it - it's a lower bound on how semantic the routing is.

Routes also get more stable with depth: a token's expert in one layer explains 15% of its next-layer choice at the start of the MoE stack, and 31% at the end.

Compute per patch isn't fixed

With Expert Choice, experts pick tokens, so the number of experts a patch gets varies. About 6% of patches get no routed expert at all (only the shared expert), while 11-15% get four or more. One patch got 17 of 32.

So where does the extra compute go? I compared it with where the attention pool looks. At layer 8 it follows the object, even on busy backgrounds:

The register token gets extra compute too. In every image 3 to 6 experts per layer pick it, compared to 2.1 for an average patch.

Experts that work as a team

Experts don't always act alone. In layer 10, three experts pick mostly the same tokens: 54% of each one's picks are shared by all three, while a typical pair shares 4%.

It's not duplication. Running the experts on those shared tokens, their outputs are nearly perpendicular (79-87° apart), so each token gets three different updates.

What I found interesting is that this was visible before running any images. Their router vectors are the most similar in the layer (cosine ~0.8), and the same holds in layers 9 and 11: the most similar router vectors belong to exactly the pairs that share the most tokens.

Code

Everything was trained with Birder. You can look at the routing of your own MoE model with the routing introspection tool:

python -m birder.tools introspection -n <model> --method moe-routing image.jpg

Any feedback is welcome and happy to answer questions.


r/computervision • • 13h ago

Research Publication Why Large-Scale Video Analytics Belongs on the Server, Not the Camera

0 Upvotes

Video analytics has quietly become one of the most demanding workloads in modern infrastructure. What began as simple motion detection now spans people counting, traffic analysis, demographic estimation, biometric identification, and ” increasingly” open-ended understanding of a scene through video language models. As the ambition of these deployments grows, so does a foundational architectural question: should the intelligence live on the camera, or on the server?

 

Both approaches are viable, and each has a legitimate place. But the two are not interchangeable, and choosing the wrong one for the scale of a project is an expensive mistake. For simple deployments with a handful of cameras, on-camera analytics can be perfectly adequate. For large, evolving, mission-critical projects, server-based analytics wins on performance, flexibility, and “perhaps counterintuitively” total cost of ownership.

 

**The appeal of the camera and where it breaks down**

 

The case for camera-based (edge) analytics usually starts with capital expenditure. If each camera carries its own accelerator and runs its own inference, you avoid buying a rack of servers and GPUs. The intelligence is distributed, the network carries less raw video, and on paper the hardware bill looks lean.

 

That logic holds until you try to scale. On a ten-camera pilot, distributing compute across the devices is manageable. On a project with hundreds or thousands of cameras spread across a city, the picture inverts. Every camera becomes an independent compute node that must be provisioned, updated, monitored, and eventually replaced. Analytics capability is now welded to hardware that was chosen years ago and is sitting on a pole in the field. When the requirements change and in video analytics, they always change you are looking at a hardware refresh across the entire fleet rather than a software update in a data center. The capex saving that justified the edge approach erodes as the deployment grows, precisely when budgets are most sensitive to it.

 

**Camera accelerators cannot match server-grade compute**

 

The hard ceiling on edge analytics is silicon. The accelerators embedded in smart cameras NPUs, VPUs, and similar edge chips are engineered around tight power and thermal budgets. They typically deliver compute in the single to low tens of INT8 TOPS. That is genuinely impressive for a device drawing a few watts, and it is enough to run a detector or two.

 

It is not in the same universe as a data-center GPU. A modern server-class GPU can deliver on the order of a thousand INT8 TOPS or more, and a single server can hold several of them. Just as important, a server can batch and schedule work across many camera streams at once, keeping expensive silicon fully utilized rather than leaving it idle between frames on a single view. No camera accelerator can match or beat this not on raw throughput, not on the size of models it can run, and not on efficiency of utilization across a fleet. The edge chip is optimized to be small, cool, and cheap; the server GPU is optimized to be powerful. When the workload is heavy, power wins.

 

**One camera, many use cases**

 

This compute headroom translates directly into capability. Because a server is not constrained to whatever the camera's chip can handle, a single video stream can drive many analytics pipelines simultaneously. From one camera feed, a server-based system can run multiple directional pathway counts, estimate age and gender, perform biometric identification, detect objects and anomalies, and track dwell time — all at once, and all upgradeable independently.

 

On the camera, every additional use case competes for the same tiny compute budget, and adding a new one often means reaching the limits of the hardware. On the server, adding a use case is a software decision. The same infrastructure that runs three models today can run six tomorrow without anyone visiting a single pole. This is the difference between a deployment that is frozen at install time and one that keeps getting more valuable as analytics improve.

 

**The video language model wave changes the math**

 

If there were any remaining ambiguity, the arrival of video language models settles it. These models bring a new class of use case: natural-language search over video, open-vocabulary detection, contextual scene understanding, and reasoning about events rather than just detecting objects. They are also enormous. Running them requires substantial GPU memory and compute that simply does not exist on a camera and will not for the foreseeable future.

 

Organizations that want to take advantage of this new generation of analytics have no realistic path to doing so at the edge. The models are best served, “often only served” from server infrastructure built to host them. A deployment architected around camera-based analytics is, by construction, cut off from the most important developments in the field. A server-based deployment can adopt them as they mature, on the same infrastructure it already runs.

 

**Heat is the enemy of the edge especially in the Middle East and the gulf.**

 

There is a physical dimension to this that is easy to overlook from an air-conditioned office. Cameras with built-in accelerators run hot, because inference is power-hungry and that power turns into heat inside a sealed enclosure. Now place that enclosure on a street in the Gulf, where ambient temperatures routinely climb past 45-50°C in summer and the housing bakes in direct sun.

 

The accelerator's own heat stacks on top of an already punishing environment. The result is elevated junction temperatures, thermal throttling that quietly degrades performance when you need it most, and accelerated aging of components that shortens the camera's service life. Field replacements in harsh outdoor conditions are costly and disruptive, and a fleet that ages faster than planned undermines the entire business case. Server GPUs, by contrast, live in climate-controlled data centers designed for exactly this thermal load, where cooling is engineered rather than left to chance on a pole.

 

**The economics favor the server at scale**

 

Put all of this into a total-cost-of-ownership model over the life of a large deployment, and the server-based approach comes out cheaper not despite the centralized GPUs, but because of them. Good scheduling algorithms keep those GPUs highly utilized by sharing them across many streams, so you buy compute for the aggregate workload rather than over-provisioning every camera individually. Auto-scaling lets the system expand and contract with demand instead of paying for peak capacity everywhere, all the time.

 

Maintenance is centralized: upgrades, security patches, and new models roll out from the data center rather than through thousands of field visits. Cameras become simpler, cheaper, longer-lived devices whose job is to capture good video, while the expensive and fast-moving intelligence lives somewhere it can be maintained and refreshed economically. Over a multi-year horizon (which is the only horizon that matters for infrastructure) that combination of high utilization, elastic scaling, and centralized maintenance consistently beats the distributed alternative on lifetime cost.

 

**Conclusion: match the architecture to the ambition**

 

None of this makes camera-based analytics wrong. For simple projects with a limited number of cameras and a fixed, modest set of use cases, running analytics on the edge is reasonable. The point is not that one architecture is universally superior; it is that they solve different problems.

 

Large-scale projects are a different animal. They demand throughput that edge silicon cannot provide, the flexibility to run many use cases per camera and to add more over time, a path to adopt compute-hungry video language models, resilience against harsh operating environments, and an economic model that holds up over years of operation. On every one of these dimensions, server-based video analytics is the architecture built for the job. When the deployment is big, evolving, and expected to last, the intelligence belongs on the server.

 


r/computervision • • 1d ago

Showcase Face restoration pipeline running fully in the browser on WebGPU (YuNet, GFPGAN 1.4, Real-ESRGAN)

6 Upvotes

I'm the developer; this is a free tool I built, source viewable on skillsafe.ai, using open models (YuNet, GFPGAN 1.4, Real-ESRGAN x4plus) through onnxruntime-web.

The pipeline, all in the tab:

  1. YuNet gives boxes and five landmarks per face.
  2. Each face is warped to the standard 512x512 template with a similarity transform from those landmarks.
  3. GFPGAN 1.4 runs on the aligned crop (fp32 on the GPU).
  4. The crop's colour is matched back to the input, then it is warped back and blended in with a soft mask.
  5. Real-ESRGAN x4plus (fp16) upscales the whole frame in tiles; faces are pasted over that.

Two controls come out of keeping the per-face results around: "strength" is just the blend weight between the rebuilt face and the original, so it changes instantly after the run, and each face can carry its own weight or be left out of the blend (the input, enlarged with a plain resample, shows there instead).

To be clear about what this is: the restored faces are generated. The detail is plausible, not recovered, and it must not be used where identity matters. In the video GFPGAN draws dark glasses on a face that is half out of frame; I pull that face's own strength to 30%, then keep the original, which on a 19 px face is a soft blur, shown as it is.

Numbers from the recording (Chrome, Apple M5 Pro, WebGPU, models already loaded): 360x222 input with 8 faces to 1440x888 in 3.6 s (detection 32 ms, GFPGAN on 8 faces 1.2 s, upscale in 2 tiles 1.8 s). A 220x220 portrait takes 1.2-1.3 s. The first run downloads 377 MB of weights.

https://face-restore.skillsafe.ai/?utm_source=reddit-computervision

Test photos are public domain (Lincoln 1863, Solvay 1927) or CC0, degraded on purpose.

Happy to go into the ort-web side (fp16, tile size, what breaks) if anyone is doing the same.


r/computervision • • 10h ago

Showcase Built a CV project recently? There's a computer vision tab on a wall of new AI work

Post image
0 Upvotes

Most of actually good and interesting CV projects never get seen past their author. So I made a wall of AI projects from the last few weeks, with a tab per field (computer vision is one of the subfields I created the thing for), placed by what the code shows rather than stars.

New projects get a reserved spot until people have seen them and it's free, reads public repos only and never runs the actual code.

Show what you're working on, I'd like to see more CV work on there.


r/computervision • • 1d ago

Discussion Replacement of yolo models

13 Upvotes

Looking for good segmentation models which serves as a good replacement of yolov8-seg model. Any suggestion?


r/computervision • • 1d ago

Help: Project Annotating 4k yak images for multi-modal Re-ID: how would you cut the labeling time?

5 Upvotes

I'm working on a multi-modal re-identification project for yaks. We have about 4,000 DSLR images covering face and eye region, and we plan to train a deep learning model that combines these two parameters to identify individual animals.

Manual annotation in Roboflow would take a long time, so I'm looking for a more efficient workflow.

What we need to label:

• Boxes for the face, and eyes (for cropping)

• Two eye-center keypoints per image (to compute normalized interocular distance)

Questions:

  1. Has anyone done a semi-automatic pipeline like this on animal faces? How many hand-labeled images were enough?
  2. Is interocular distance a useful feature when it's normalized, or does the face texture carry the identity better?

3.how to save time while annotating image?


r/computervision • • 1d ago

Showcase VisionPsy2-850M: open vision model that runs offline on phones and beats models up to 5x its size

3 Upvotes

r/computervision • • 1d ago

Research Publication [Blog] From OpenCV 4 to OpenCV 5: A new chapter for Python computer vision developers!

Post image
2 Upvotes

r/computervision • • 1d ago

Help: Theory Como iniciar um projeto de IA para a leitura de pesos em ordens de produção escritas a mão

1 Upvotes

Preciso de dicas e sugestões de como começar um projeto onde eu tenho uma ferramenta criada por IA para ler as anotações de uma foto de uma ordem de produção.


r/computervision • • 1d ago

Showcase A quick drop test with my RGB SLAM camera

2 Upvotes

I dropped my RGB SLAM camera to see what would happen to the data output on impact. The camera still worked and kept sending data after it hit the ground.

If you’ve tried something similar or want to compare notes, feel free to chat on Discord: https://discord.gg/Aw7gRjm3DD


r/computervision • • 1d ago

Help: Project Looking for Recommendations: Best Open-Source Face Recognition Models for Commercial Use (Accuracy + Licensing)

Thumbnail reddit.com
1 Upvotes

r/computervision • • 2d ago

Showcase Dec 10 - AI, ML and Computer Vision Meetup

Post image
6 Upvotes

Join us on Dec 10 for the AI, ML and Computer Vision virtual Meetup! Register for the Zoom.

Talks will include:

  • Your mAP is fine. Your slices are not. Finding the images that actually matter - Amandeep Jiddewar at Pinterest
  • Production AI Agents: Tool Use, Evaluation, Guardrails and Observability - Akshay Talathi at Goldman Sachs
  • From Virtual Worlds to Physical AI: Building Simulation Pipelines That Survive the Real World - Arturo Morales Rangel at Binary Core
  • Prompting Video-Language Models in Production: Lessons from Enterprise Video Tagging and Evaluation - Yash Gugale at TwelveLabs
  • Giving Physical AI a Voice with Deepgram - Dana Sacco at Deepgram

r/computervision • • 2d ago

Help: Project Guidance on self-supervised learning

6 Upvotes

Edit: This isn't about human classification or identification.

Note: adding an affiliate tag because this is a problem I'm struggling with at work, and management wants to go the 'just ask AI' route, but I believe a more accurate, cheaper solution is doable, hence the questions.

I have a computer vision problem that I have an idea of how to approach solving it, but I'm not sure that my idea is the best way to go about it. I don't really have anyone to ask, so maybe someone here can give me some guidance.

Let me define the problem like so: I have a very large amount of unlabeled, noisy images. Let's say, for illustration purposes, images of a large variety of cat species (number of species unknown). The images are from the real world, in real conditions. Bad lighting, occlusion, weird angles, darkness, graininess, noise, bad focus, but also good lots of good quality images. Sometimes there are multiple cats in an image, occluding each other, but I know which cat in the image is the one that I'm interested in. I also have a fair number of labels for the cats, of dubious quality, but the labels are not fine-grained. For example, a label would be 'house cat' or 'wild cat', but not 'panthera pardus' or 'felis catus'.

My task(s):

  1. Cluster cat images into their various species from an unseen, new dataset, same distribution, same conditions (the test set, basically). I.e cluster leopards (panthera pardus) together, cluster ginger house cats together, cluster black house cats together, etc. Basically cluster on physical appearance. Something like a jaguar and leopard would cluster close together, ideally, but still be separable enough to know they are separate classes.
  2. Ideally, given a few labeled samples of cats from a given species (or even 'male cats from species X'), be able to do retrieval/comparison (cosine similarity, like with face recognition).

The process that you'd normally follow is, from my understanding in a nutshell:

  1. Extract features using something like DinoV2 or any other pretrained feature extraction backbone.
  2. Then just use some form of clustering algorithm to cluster features, and then naturally similar cats would cluster together.

The problem that I've experienced (or I think that it is the problem) is that something like Dino or Siglip wasn't trained on data that allows it to discern the details of different kinds of cats (remember, cats are just for illustration. The data is not actually cats, so its harder than just cats). Like, a black cat, white cat, ginger cat, and ginger-and-white cat will cluster extremely close together, to the point of any form of clustering algorithm basically assigning them together, since the image conditions also introduces conditions of varying circumstances which increases difficulty of clustering.

My question:

Using the large amount of data at my disposal, would it be a good idea to run self-supervised learning with e.g FCMAE with convnextv2 on my data (with a good amount of data cleaning and such)? I'm currently using convnextv2 with my dubious labels, with mixed results. The primary goal is to extract higher quality, more informative features for clustering and retrieval.

I have asked AI about this before, but honestly I'm a bit sick of asking AI technical questions and never being sure how reliable the answer really is, and getting some human input (from people that might actually know their stuff) into a problem I struggle with would be a VERY nice breath of fresh air.

I'd be happy to elaborate, answer questions, or add more information as needed.


r/computervision • • 2d ago

Showcase Separating YOLO inference from live video delivery with Python plugins

Post image
2 Upvotes

One of our developers at Red5 built an Extractor/Analyzer pipeline that decodes live video separately from inference. A Python plugin can run YOLO, and the detections come back as stream metadata. Here's Nate's technical write-up, including the architecture, implementation details, and limitations: https://www.red5.net/blog/pluggable-live-stream-analysis-extractor-analyzer/


r/computervision • • 2d ago

Help: Project How do you guys actually use cloud GPUs? I'm trying to understand what's broken with the current experience.

Thumbnail
docs.google.com
2 Upvotes

Hey everyone,

I've been building an open-source runtime and a service around it that allows PyTorch to execute tensor operations on remote GPUs while keeping your Python environment local.

One thing I've realized while working on this is that my own frustrations with cloud GPUs might not necessarily reflect what other researchers and developers struggle with.

I'm curious about things like:

  • How much time you spend setting up environments versus actually running experiments.
  • Whether you find yourself paying for GPUs that aren't actively computing.
  • How much performance overhead you'd tolerate for a simpler development workflow.
  • Whether paying for actual computation rather than GPU rental time makes sense to you.

I've put together a survey to better understand these problems. Even if you've never used a cloud GPU service, your responses would be valuable.

It takes around 5–10 minutes, and no sign-up is required.

Thanks!


r/computervision • • 2d ago

Help: Theory Lost in Theory - Need Help Grounding to Reality

9 Upvotes

I am a seasoned Systems Test Engineer for about 8 years and decided to leave work and go back to school for my masters in Digital Agriculture Engineering at UIUC. Through my first 2 semesters absolutely fell in love with computer vision and attending agriculture conferences, everyone seems to be using cameras, lidar, sensors to build these amazing autonomous tractors! I took a Geospatial AI course by the co-author of TorchGEO and most of the concepts were too deep like the Gaussian Math etc but the concepts were fascinating and I learned a lot.

I have realized that I really like computer vision and especially finding cool ways to solve challenging problems like trying to fit a model on a small Jetson Nano that can harvest apples.

HOWEVER, I am facing a issue I could use some help with. This semester I took a course on computer vision, its a grad level course so it goes very deep into the math of edge detection stuff, gaussian math, Fourier stiff, laplacian math, then into stereo imaging, camera calibrations etc. BUT ITS ALL THEORY! Maybe if I was a student coming straight from an undergrad , I wouldn't mind , but it bothers me that what I am learning probably doesn't have much useful application except for the people who write the CV libraries etc.

I am fairly comfortable with python, I have a fair bit of ML experience and have build and trained some YOLO models to detect objects etc. However, I feel so lost when it comes to actual computer vision in the application front. I have a few stereo cameras I own , and I want to build some cool projects with them like some SLAM navigation for outdoor robotic lawnmowers using RTK GNSS , however I just don't know where to begin. I don't know C++ or ROS , etc.

Eventually, I would love work work as a computer vision / ML / Deep learning type of engineer for a high tech agriculture engineering company, however I just feel like I won't gain the real skills I need for that from coursework through my program.

What should I do ? I read some people doing the CS231n course from Stanford, but I feel like a bit of a failure doing that undergrad course as someone who's 1 semester away from graduating wihthmy masters and don't feel confident in the skills I would like to have to work in this field.

Please help me , I am happy to start from scratch and work on the fundamentals, but people who are already out there working as computer vision engineers or in deep learning, what's my best approach here ?


r/computervision • • 2d ago

Discussion On-device neural stereo + ToF fusion: where it helps, and where the accuracy falls off

1 Upvotes

Disclosure: I work at Luxonis. Sharing this because the depth approach might be useful to people here.

Stereo needs texture, so it struggles on blank walls and plain boxes. ToF handles those surfaces well and is strong up close, but it thins out at range. Most setups merge the two on a host. OAK 4 Lite ToF (one of our newest HW releases) fuses them on the camera, next to the neural net, and outputs a single dense point cloud.

  • ToF: 804x672 at 30 FPS. 0.2–6 m (Narrow) or 0.5–5 m (Wide).
  • Neural stereo: 1 MP global shutter pair, 7.5 cm baseline, for longer range and reflective surfaces.
  • Fused accuracy: 1% up to 6.5 m, under 3% at 6.5–8 m, under 6% at 8–12 m.

Under the hood: 32 TOPS sustained (52 burst), a 6-core CPU, 8 GB RAM, 128 GB UFS, and a 48 MP color camera. Detection, segmentation, tracking and depth all run on the device. It's IP67 and runs from -20 to 50 °C, over PoE+ or USB-C. It comes in the same form factor as OAK-D S2 PoE, so it fits existing mounts. There's also a stereo-only model.

Happy to answer questions on the fusion pipeline or the on-device AI. What are you running depth on right now, and where does it break for you?