Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

8668 bites

Page 61

Computer Vision2 min read

How ViT and CNN process an image differently

A CNN slides local filters over the raw pixel grid; a ViT splits the image into patches, flattens and linearly embeds each into a token, adds positional embeddings, and feeds the sequence to…

Computer Vision2 min read

Scene flow versus optical flow

Optical flow is 2D pixel motion in the image plane; scene flow is the 3D motion field of points in space, needing depth via stereo, RGB-D, or LiDAR.

Computer Vision2 min read

Self-supervised pretraining for video understanding

Define a label-free task like temporal order prediction or contrastive clip matching that forces temporal reasoning, then fine-tune on labeled action data.

Computer Vision1 min read

Re-identification in multi-object tracking

Re-ID matches an object to its prior id using appearance embeddings, not just position; store track features and match re-entering detections by embedding similarity.

Computer Vision1 min read

3D CNNs vs two-stream action recognition

3D CNNs learn spatiotemporal filters end to end but are heavy; two-stream splits RGB appearance and precomputed optical flow, strong but costly to compute flow.

Computer Vision1 min read

Kalman filter for bounding-box tracking

State, transition, measurement models, and process plus measurement noise; predict then correct each frame. State holds box position and velocity; measurement is the detected box.

Computer Vision1 min read

Brightness constancy and small-motion assumptions

Brightness constancy says a point's intensity is invariant under motion; small motion lets you linearize via Taylor expansion.

Computer Vision1 min read

Design a tracking-by-detection tracker

Detect per frame, then associate boxes across frames by IoU or appearance using Hungarian matching, maintaining track ids.

Computer Vision1 min read

Sparse vs dense optical flow and Lucas-Kanade

Sparse flow tracks selected feature points, dense flow computes a vector per pixel; Lucas-Kanade solves brightness constancy in a local window assuming constant motion.

Computer Vision1 min read

Adapting ViT for dense semantic segmentation

Reassemble patch tokens into a 2D feature map, add a decoder, and handle low resolution plus quadratic attention cost.

Computer Vision1 min read

Explain panoptic segmentation and Panoptic Quality

Panoptic assigns every pixel a class and instance id over things and stuff; PQ factors into SQ, average IoU of matches, times RQ, an F1 over matched segments.

Computer Vision1 min read

How to improve coarse segmentation boundaries?

Skip connections and higher-resolution features, boundary-aware losses, and point-based or CRF refinement.

Computer Vision1 min read

How does Mask R-CNN do instance segmentation?

Faster R-CNN backbone plus RPN, then RoIAlign and a parallel mask head predicting per-class binary masks.

Computer Vision1 min read

U-Net architecture and its skip connections

U-Net has a contracting encoder, an expanding decoder, and skip connections that concatenate matching-resolution encoder features into the decoder to recover spatial detail lost in downsampling.

Computer Vision1 min read

Semantic versus instance segmentation

Semantic segmentation labels each pixel by class but merges objects of the same class; instance segmentation also separates individual objects.

Computer Vision2 min read

Detector head losses: regression versus classification

The head splits into a classification branch using cross-entropy over classes and a regression branch using a robust Smooth L1 or IoU loss on box offsets, combined as a weighted sum.

Computer Vision2 min read

Deploying real-time detection on edge devices

Pick an efficient one-stage detector, train with augmentation, then quantize, prune, and compile to a hardware-accelerated runtime, measuring latency and accuracy tradeoffs.

Computer Vision2 min read

Focal Loss and class imbalance in detectors

Focal loss multiplies cross-entropy by a (1-p)^gamma factor that down-weights easy, well-classified examples so the vast easy background does not swamp the loss.

Computer Vision2 min read

Mean Average Precision in object detection

AP is the area under the precision-recall curve per class; mAP averages AP over classes, and COCO also averages over IoU thresholds.

Computer Vision1 min read

Intersection over Union for detection

IoU is the area of overlap divided by the area of union of predicted and ground-truth boxes; a threshold decides true positives.