Practice 45 Computer Vision interview questions on image tensors, CNNs, augmentation, transfer learning, object detection, segmentation, metrics, OpenCV, and deployment.
45 questions with answersKey Takeaways
Computer vision is the field of building systems that understand images and video. In interviews, computer vision questions test how you represent images as tensors, preprocess and augment data, train CNN or transformer-based models, evaluate detection or segmentation outputs, and deploy models where latency, camera quality, and real-world drift matter.
Watch: TensorFlow for Computer Vision course
Video: TensorFlow for Computer Vision course (freeCodeCamp.org, YouTube)
Test yourself and earn a certificate
6 quick questions. Score 70%+ to download your Computer Vision certificate.
Start here. These are the definitions and first-principle checks that open most rounds.
An image is represented as a tensor with height, width, channels, and often a batch dimension.
Frameworks may use channel-last or channel-first layout, so shape matters.
Image tensor changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Watch a deeper explanation
Video: TensorFlow for Computer Vision course (freeCodeCamp.org, YouTube)
RGB and BGR place color channels in different order, so wrong ordering changes the image the model sees.
OpenCV often uses BGR while many deep learning models expect RGB.
Color channels changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Normalization puts pixel values on a scale that makes optimization easier and matches pretrained model expectations.
Use the same normalization at training and inference.
Normalization changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
A convolution applies learned filters over local image regions to detect patterns such as edges, textures, and shapes.
Stacked convolutions build higher-level features.
Convolution changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Vision model path
The head changes with task type.
| Answer part | What to say | Evidence to mention |
|---|---|---|
| Definition | Convolution in one direct sentence. | Official docs or course material |
| Use case | The work where it changes a decision. | Dataset, model, query, dashboard, or pipeline |
| Risk | What breaks when it is misunderstood. | Metric, log, test result, or review note |
A convolutional neural network uses convolution, activation, pooling, and learned layers to process image data.
CNNs remain common for image classification and many embedded use cases.
CNN changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Watch a deeper explanation
Video: PyTorch computer vision (PyTorch tutorial, YouTube)
Pooling reduces spatial size and summarizes local features.
It can reduce compute, but too much pooling loses detail.
Pooling changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Augmentation creates training variations such as crops, flips, rotations, brightness changes, or blur.
Use augmentations that could happen in the real world.
Data augmentation changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Transfer learning starts from a pretrained vision model and adapts it to a new dataset.
It helps when labeled data is limited.
Transfer learning changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Object detection predicts bounding boxes and class labels for objects in an image.
Evaluation usually uses IoU and mAP.
Object detection changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
IoU measures overlap between predicted and ground-truth boxes or masks.
It is intersection area divided by union area.
IoU changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
mAP summarizes precision-recall performance across classes and IoU thresholds.
It is more informative than raw accuracy for detection.
mAP changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Segmentation assigns labels to pixels or predicts object masks.
Semantic segmentation labels classes. Instance segmentation separates object instances.
Segmentation changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
OCR extracts text from images or scanned documents.
Real OCR systems need detection, recognition, language rules, and post-processing.
OCR changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Watch a deeper explanation
Video: OpenCV Python tutorial (OpenCV tutorial, YouTube)
NMS removes duplicate detection boxes by keeping high-confidence boxes and suppressing overlapping lower-confidence boxes.
Bad NMS settings can remove true objects or keep duplicates.
Non-maximum suppression changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Drift means production images differ from training images due to camera, lighting, background, product, or user behavior changes.
Vision systems need monitoring and sample review.
Model drift changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
These questions test whether you can apply the topic to real data, real code, and messy constraints.
Define classes, collect labeled examples, split by source, resize and normalize images, train a baseline, evaluate per class, and inspect mistakes.
Defect datasets often have imbalance and subtle labels.
image classifier changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
# Interview check: split data, run baseline, inspect metric
from sklearn.metrics import accuracy_score
print(accuracy_score(y_true, y_pred))Choose augmentations that match real variation: lighting, crop, blur, rotation, viewpoint, or background changes.
Do not use flips or rotations that change label meaning.
augmentation policy changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Freeze the base, train a task head, unfreeze selected layers with a lower learning rate, and validate on realistic images.
Track class-level errors, not only top-line score.
transfer learning plan changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Label boxes, train a detector, tune confidence and NMS thresholds, evaluate mAP and false positives, then test on site-specific footage.
Camera angle and occlusion matter.
object detection project changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Collect pixel masks, train a segmentation model, evaluate mIoU or Dice, and inspect boundary errors.
Thin objects and class imbalance are common pain points.
segmentation project changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Detect text regions, correct orientation, recognize text, validate fields, and route low-confidence cases to review.
OCR needs business validation after recognition.
OCR pipeline changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Use OpenCV for image loading, resizing, color conversion, filtering, thresholding, contours, and geometry before or after model inference.
Keep preprocessing identical between training and inference.
OpenCV preprocessing changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Use IoU-based metrics such as mAP, plus precision and recall at operating thresholds.
Choose threshold based on false-positive and false-negative cost.
metric choice changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Collect more examples, use sampling, class-aware loss, augmentation, threshold tuning, and per-class reporting.
A model can ignore rare classes and still look good.
class imbalance changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Pick a smaller model, resize inputs, quantize if fit, batch carefully, and measure latency on the target hardware.
Laptop latency does not predict edge latency.
latency budget changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Watch a deeper explanation
Video: Convolutional neural networks explained (3Blue1Brown, YouTube)
Split by source, patient, camera, user, site, or time when leakage risk exists.
Near-duplicate images across splits inflate metrics.
data split changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Inspect false positives, tune thresholds, add hard negatives, improve labels, and adjust post-processing.
The right threshold depends on the product cost.
false positive review changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Use frame sampling, tracking, temporal smoothing, latency controls, and drift checks.
Frame-by-frame predictions can flicker.
video inference changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Review examples by class, camera, lighting, confidence, and confusion pairs; use saliency only as supporting evidence.
Human image review is still essential.
explain model errors changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Track confidence, class mix, input quality, latency, review samples, drift signals, and downstream business outcomes.
Images can drift without schema changes.
monitor production changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Advanced rounds test trade-offs, failure modes, and whether the decision can hold up under production pressure.
Input distribution changed: resolution, color, lens, angle, compression, or lighting may differ.
Add camera-specific validation and retraining data.
camera changed changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Check class imbalance, thresholds, false positives, false negatives, and real user cost.
Top-line accuracy can hide painful errors.
high accuracy low value changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Check image quality, object size, occlusion, label policy, threshold, NMS, and new object appearances.
Detection is sensitive to real-world visuals.
mAP drops changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Tune NMS threshold, confidence threshold, anchor settings if applicable, and training labels.
Post-processing matters.
duplicate boxes changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Use higher input resolution, feature pyramid models, better labels, tiling, or task-specific architecture.
Small objects disappear after aggressive resizing.
small objects missed changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Check mask label quality, resolution, loss function, class imbalance, and boundary examples.
Pixel labels are expensive and often noisy.
bad masks changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Define labeling rules, measure agreement, resolve edge cases, and keep an audit set.
Unclear labels cap model quality.
label disagreement changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
The augmentation may create unrealistic images or change the label.
Match augmentation to real variation.
augmentation hurts changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Use smaller architecture, lower resolution, quantization, pruning, batching changes, or hardware acceleration.
Measure on the target device.
edge latency fail changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Improve deskewing, denoising, contrast, text detection, field validation, and manual review for low confidence.
OCR is rarely just recognition.
OCR messy scans changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Near-duplicate frames or same source images may exist in both train and validation sets.
Split by source or time.
train test leakage changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Training data likely lacks night lighting examples or suitable augmentation.
Collect representative samples.
night images fail changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Check class index mapping, dataset loader, saved metadata, and post-processing label names.
Label maps should ship with the model.
class map bug changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Discuss consent, retention, anonymization, access, purpose limits, and legal requirements.
Vision systems often process sensitive data.
privacy concern changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Ask about label policy, split method, metrics, thresholds, edge cases, deployment latency, monitoring, and human review path.
These decide whether the model survives production.
senior review changes Computer Vision decisions by affecting the chosen method, the failure mode, or the validation step. Reliable evidence comes from a metric, test result, query output, log, or review note.
Vision interviews often start by matching the task to the output format. A classifier predicts an image label. A detector predicts boxes. A segmentation model predicts pixels or masks.
| Task | Output | Common metric | Example |
|---|---|---|---|
| Classification | Class label or probabilities | Accuracy, F1, AUC | Is this image defective? |
| Object detection | Bounding boxes plus classes | mAP, IoU | Find helmets in a worksite image |
| Semantic segmentation | Class per pixel | mIoU, Dice | Mark road, car, and sidewalk pixels |
| Instance segmentation | Separate object masks | Mask mAP | Separate each person in a frame |
Computer vision answer signals
Good answers model output maps to labels and metrics.
Prepare by tracing one image through the whole system: capture, preprocessing, model, post-processing, metric, and production monitoring.
Computer vision interview prep flow
Most rounds reward clear reasoning more than memorized phrasing.
A strong computer vision answer starts with the visual task and label format. Say whether the problem needs classification, detection, segmentation, OCR, or tracking; describe image size, channels, preprocessing, augmentation, model family, metric, and failure cases. production-ready answers mention data collection bias, annotation quality, calibration, edge latency, false-positive cost, and monitoring camera drift after deployment.
The label format decides the model family and metric. Boxes, masks, and class labels are different products.
Lighting, blur, occlusion, viewpoint, background, resolution, and camera change can break a model.
Accuracy is not enough for detection or segmentation. Use IoU, mAP, Dice, precision, and recall where they fit.
Vision models often run with latency, memory, power, and privacy constraints.
6 questions, about 4 minutes. Score 70% or higher to earn a shareable certificate.
Use this Computer Vision bank for model and evaluation reasoning, then practice Python tasks with Hyring's AI Coding Interviewer.
See Hyring AI Coding Interviewer