Page 212 - Ai_417_V3.0_C9_Flipbook
P. 212

Pixel It—Learning-Based Approach

              In computer vision applications, understanding pixels, resolution, and megapixels is crucial for processing images.
              The pixel is the smallest unit of digital images or displays. It is a tiny dot (smallest point) in a graphic image that
              stores colour and intensity details. Pixels work together to create the graphic that you view on your screen.

              Resolution refers to the clarity or sharpness of a picture or text seen on the display. It is the total number of pixels
              (tiny dots) that comprise the display. A higher resolution involves more pixels, which leads to an improved and
              more accurate image.
              The term megapixel refers to the resolution of digital cameras and camera sensors. It indicates one million pixels.
              For example, a 16-megapixel camera can capture photographs with a resolution of about 4928 x 3264 pixels that
              contain approximately 16 million pixels.
              Calculating the number of megapixels in an image involves a simple formula based on its resolution. The formula
              is:
                                                          Width in pixels × Height in pixels
                                          Megapixels =
                                                                     1,000,000

              "Pixel It" is an example of a machine learning approach that is used in computer vision applications. The graphics
              or images created on computers are pixel-based images. It shows how the computer classifies the images and
              reads them.

              Let us do an activity that helps us understand how the images are processed and classified by the computers.


                              Task                                                #Experiential Learning


                  Let us start with an activity. Follow the instructions step-by-step, as mentioned below:

                     • Cut out the matrix from the page given below or draw the same on a blank page with 6x6 square blocks.
                     • Write an uppercase letter on this matrix. The height of the letter should be equal to the height of this
                     matrix. In other words, it should start from the bottom line of the matrix to the top line. You can write any
                     capital alphabet in any handwriting.
                     • Now, colour the boxes on which the lines of that letter have fallen.

                     • After this, cut out horizontal stripes of the matrix such that it goes from 1–2, 2–3, 3–4, 4–5, 5–6 and 6–7.
                     • Now, paste all these stripes together to form a single paper string. Make sure that neither the last block
                     should be over the first block of the next line nor there should be any gap between the first and the last
                     blocks.
                     • Now, find those students in your class who have chosen the same letter as you.

                     • Put their paper strings under your string and add up all the coloured blocks to get a series of numbers. A
                     block without colour counts as 0, while the coloured ones count as 1. If a column has 3 coloured boxes,
                     the summation turns out to be 3.
                     • Now, get another student whose letter is different from yours. Put his paper string under your multiple
                     strings (of the same alphabet) and see if the pattern of coloured blocks is the same or not.
                     • Also, go to other groups and check if their summation series of numbers is the same as yours or not.

                     • Note down your observations in the end.



                    210     Touchpad Artificial Intelligence (Ver. 3.0)-IX
   207   208   209   210   211   212   213   214   215   216   217