Technical practice
How do you decide between object detection and instance segmentation for a visual inspection problem?
What to coverSource-backed topic (classification, detection, segmentation, visual inspection). Address whether bounding boxes suffice for localization and counting or whether pixel-level defect area and irregular shapes require segmentation masks, along with the annotation cost and inference latency trade-offs.
What steps do you take to prevent data leakage and ensure label quality when preparing video datasets?
What to coverSource-backed topic (preparing, annotating, validating image/video datasets). Explain splitting video data by scene, camera, or session rather than random frame sampling so near-duplicate consecutive frames do not inflate validation metrics, and describe inter-annotator agreement checks and edge-case guidelines.
How do you design a data augmentation pipeline in Python/OpenCV without corrupting ground-truth labels?
What to coverSource-backed topic (Python, OpenCV, data augmentation). Discuss synchronizing spatial transforms (flips, crops, rotations, aspect-ratio padding) across images, bounding boxes, and masks, and selecting domain-appropriate photometric changes (lighting, blur, noise) that reflect real capture conditions.
Which evaluation metrics do you prioritize for imbalanced object detection or segmentation tasks, and why?
What to coverSource-backed topic (task-specific evaluation metrics, diagnosing performance issues). Compare mAP across IoU thresholds, precision-recall trade-offs, and Dice/IoU scores, explaining how confidence threshold selection depends on the downstream cost of false positives versus missed detections.
How do you diagnose a computer vision model whose validation metrics are strong but production performance degrades?
What to coverSource-backed topic (diagnosing model performance issues, model monitoring). Outline a systematic triage workflow checking input preprocessing parity (color space, normalization, resizing), domain shift (lighting, resolution, camera angle), class drift, and slice-level error analysis.
What is your workflow for optimizing a PyTorch or TensorFlow vision model for low-latency GPU or edge inference?
What to coverSource-backed topic (optimizing inference for latency/throughput; preferred ONNX, TensorRT, GPU/edge deployment). Walk through profiling bottlenecks, exporting to ONNX, applying FP16 or post-training/quantization-aware INT8 calibration in TensorRT, and validating numerical and task-metric parity after conversion.
How do you structure and test a REST API serving a computer vision model in production?
What to coverSource-backed topic (integrating models into REST APIs, batch workflows, software testing). Cover input validation, preprocessing isolation, batching versus single-frame latency, graceful error handling for corrupted frames, and unit/integration tests verifying deterministic outputs.
Suggested preparation: Compare single-stage detectors (such as YOLO) with two-stage frameworks (such as Detectron2) for enterprise deployment.
What to coverInferred preparation suggestion grounded in preferred frameworks (YOLO, Detectron2, torchvision). Contrast architectural trade-offs in small-object detection, training convergence, export compatibility, and real-time throughput across hardware constraints.
Behavioural practice
Tell me about a time you diagnosed and resolved a stubborn model performance issue traced back to dataset or annotation flaws.
What to coverSource-backed theme (preparing/analyzing datasets, diagnosing model performance issues). Structure your answer with Situation, Action, and Result, detailing how you isolated the error slice, audited raw labels or preprocessing, corrected the dataset, and measured the resulting metric improvement.
Describe a situation where you had to balance model accuracy against strict latency, throughput, or hardware deployment constraints.
What to coverSource-backed theme (optimizing inference for accuracy, throughput, latency, and deployment constraints). Use Situation, Action, and Result to explain the target environment constraints, the optimization techniques you tested, the trade-offs communicated to stakeholders, and the final production outcome.
Give an example of collaborating with software or data engineering teams to integrate a vision model into a production API or batch pipeline.
What to coverSource-backed theme (collaborating with software/data teams, integrating into APIs/batch workflows, Git, software testing). Frame with Situation, Action, and Result, highlighting interface contracts, testing or release validation practices, and how you documented model performance and limitations.
Tell me about a time you worked within an iterative delivery team to triage defects and validate a model release.
What to coverSource-backed theme (working in iterative software delivery teams, planning, defect triage, release validation). Use Situation, Action, and Result to describe how you prioritized competing bug reports or model edge cases, established release criteria, and verified stability before deployment.