Computer Vision Intern
Computer Vision Intern Interview Questions and Answers
Q1. What is softmax loss? Why can't it be used in hidden layers?
Softmax loss is a function used in classification tasks to calculate the probability distribution of classes. It cannot be used in hidden layers due to its non-differentiability.
Softmax loss is used in the output layer of neural networks for multi-class classification tasks.
It calculates the probability distribution of classes by normalizing the output scores using the softmax function.
Softmax loss is not used in hidden layers because it is non-differentiable, which makes bac...read more
Q2. 1. Write program to rotate, convert to greyscale, generate gaussian noise in the given picture.
Program to rotate, convert to greyscale, and generate gaussian noise in a given picture.
Use OpenCV library for image processing functions
Rotate the image using cv2.rotate() function
Convert the image to greyscale using cv2.cvtColor() function
Generate gaussian noise using cv2.randn() function
Computer Vision Intern Interview Questions and Answers for Freshers
Q3. Difference between object detection and segmentation?
Object detection identifies objects in an image, while segmentation assigns a label to each pixel in the image.
Object detection involves identifying and locating objects within an image.
Segmentation assigns a class label to each pixel in an image, creating a pixel-wise mask.
Object detection typically outputs bounding boxes around objects, while segmentation outputs pixel-level masks.
Object detection is used for tasks like counting objects in an image, while segmentation is us...read more
Q4. What is Otsu threshold and why is it used?
Otsu threshold is a method used for image segmentation to automatically calculate the optimal threshold value for binarizing an image.
Otsu thresholding is used to separate foreground and background pixels in an image by finding the threshold that minimizes the intra-class variance.
It is based on the assumption that the image contains two classes of pixels (foreground and background) with different intensity distributions.
The method calculates the threshold that maximizes the ...read more
Q5. 2. Write python program to fetch data from SQL.
Python program to fetch data from SQL database using SQLAlchemy library.
Import necessary libraries like sqlalchemy, create_engine, and sessionmaker.
Establish a connection to the SQL database using create_engine.
Create a session using sessionmaker and bind it to the engine.
Query the database using session.query() method to fetch data.
Iterate over the results and process the fetched data as needed.
Q6. Explain previous projects in Machine Learning
Developed a project using convolutional neural networks for image classification.
Implemented CNN architecture for image classification tasks
Used popular frameworks like TensorFlow or PyTorch
Trained the model on large datasets like CIFAR-10 or ImageNet
Share interview questions and help millions of jobseekers 🌟
Q7. Write code to do threading in python/
Threading in Python allows for concurrent execution of multiple tasks.
Use the 'threading' module in Python to create and manage threads.
Threads can be created by subclassing the 'Thread' class and implementing the 'run' method.
Use the 'start' method to start a thread and the 'join' method to wait for a thread to finish.
Avoid shared resources among threads to prevent race conditions.
Q8. Write code to reverse string.
Code to reverse a string using array manipulation.
Create an array of characters from the input string.
Iterate through the array in reverse order and append each character to a new string.
Return the reversed string.
Computer Vision Intern Jobs
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month