Unit 4 & 5-Data Science and Computer Vision
Unit 4 & 5-Data Science and Computer Vision
DATA SCIENCE
Data science is a field that combines statistics, computer science, and domain
expertise to extract insights and knowledge from data. It involves using various
techniques such as machine learning, data visualization, and statistical modeling
to analyze and interpret complex data sets.
These are just a few examples of the many uses of data science. The field is
constantly evolving and has the potential to transform various industries and
aspects of our lives.
Here are some of the advantages and disadvantages of data science
Advantages:
- Better decision-making: Data science helps businesses and
organizations make better-informed decisions.
- Improved efficiency: Data science can help companies and organizations
streamline their operations by identifying inefficiencies and areas for
improvement.
- Enhanced customer experience: Data science can help businesses and
organizations tailor their products and services to better meet the needs of
their target audience.
- Predictive analytics: Data science can be used for predictive analytics,
which involves using data to forecast future trends and outcomes.
- Innovation and new discoveries: Data science can lead to new
discoveries and innovations by revealing previously unknown relationships
and insights in data.
Disadvantages:
- Data privacy concerns: There is a risk of data privacy concerns when data is
collected and analyzed.
- Bias in data: Data can be biased due to many factors, such as the selection
of the data or the way it is collected.
- Misinterpretation of data: Data science involves complex statistical
analysis, which can sometimes lead to misinterpretation of the data.
- Data quality issues: Data science depends on the quality of the data used.
If the data is not accurate, complete or consistent, it can lead to incorrect
results.
- Cost and time: Data science can be time-consuming and expensive.
5. What is the name of the popular data science tool used for data
manipulation and analysis?
Answer: Pandas.
10. Which machine learning model is used for predicting continuous outcomes?
Answer: Regression.
11. What is the name of the popular data science library used for machine learning?
Answer: scikit-learn.
12. Which technique is used to select the most important features in a dataset?
Answer: Feature engineering.
13. What is the name of the algorithm used for text classification?
Answer: Naive Bayes.
5. Explain the concept of bias and variance in machine learning and how they
affect model performance.
Answer: Bias refers to systematic error, while variance refers to model
sensitivity to data. High bias leads to under fitting, while high variance leads
to overfitting. The goal is to balance bias and variance to achieve optimal
model performance.
UNIT-5: COMPUTER VISION
Facial recognition
The most frequently used technology is smartphones. It is a technology to
remember and verify a person, object, etc from the visuals from the given pre-
defined data. Such kinds of mechanics are often used for security and safety
purposes.
For eg: Face security lock-in devices and traffic cameras are some examples
using facial recognition.
Facial filters
Modern days social media apps like Snapchat and Instagram use such kinds of
technology that extract facial landmarks and process them using AI to get the best
result.
Goggle lens
To search data, Google uses Computer vision for capturing and analysing
different features of the input image to the database of images and then gives us
the search.
Automotive
The machinery in industries is now using Computer vision. Automated cars are
equipped with sensors and software which can detect the 360 degrees of
movements determine the location, detect objects and establish the depth or
dimensions of the virtual world.
For eg: Companies like Tesla are now interested in developing self-driving cars.
Medical Imaging
For the last decades, computer vision medical imaging application has been a
trustworthy help for physicians and doctors. It creates and analyses images and
helps doctors with their interpretation.
The application is used to read and convert 2D scan images into interactive 3D models.
Resolution
•The number of pixels covered in an image is sometimes called the resolution
•Term for area covered by the pixels in conventionally known as resolution.
•For eg :1080 x 720 pixels is a resolution giving numbers of pixels in width
and height of that picture.
• A megapixel is a million pixels.
Pixel value
• Pixel value represent the brightness of the pixel.
• The range of a pixel value in 0-255(2^8-1)
• where 0 is taken as Black or no colour and 255 is taken as white
Computer systems only work in the form of ones and zeros or binary systems.
Each bitin a computer system can have either a zero or a one. Each pixel uses
1 byte of an image each bit can have two possible values which tells us that
the 8 bits can have 255possibilities of values that start from 0 and ends at 255.
Grayscale Images
• Grayscale images are images which have a range of shades of gray without
apparent colour.
• The lightest shade is white total presence of colour or 255 and darkest
colour is black at 0.
• Intermediate shades of gray have equal brightness levels of the three
primary colours RBG.
• The computers store the images we see in the form of these numbers.
RBG colours
• All the coloured images are made up of three primary colours Red, Green and
Blue.
• All the other colour are formed by using these primary colours at
different proportions.
• Computer stores RGB Images in three different channels called the R
channel, G channel and the B channel.
Image Features
• A feature is a description of an image.
• Features are the specific structures in the image such as points, edges or objects.
• Other examples of features are related to tasks of CV motion in image
sequences, or to shapes defined in terms of curves or boundaries between
different image regions.
Open CV or Open Source Computer Vision Library is that tool that helps a
computerto extract these features from the images. It is capable of processing
images and videos to identify objects, faces, or even handwriting.
Subjective Questions-4
marks
1. Explain two different real-world applications of Computer Vision and
how they benefit society.
2. Explain the concepts of pixel value, resolution, and color channels in
digital images, and how they collectively affect image quality.
3. Discuss the evolution of Computer Vision and its impact on modern
technology.
4. Describe the concept of feature extraction and its importance in
different Computer Vision tasks.
5. Compare and contrast object detection, image classification, and
image segmentation in Computer Vision.
Case Study/Application-Based Questions on Computer Vision- 5
marks
1. Case Study: Autonomous Vehicles