Processing Image:
Processing any kind of function using coding is
simple as explaining or instructing a normal human to do task, the difference
is that the channel of communication is nothing but programing languages. In
Image processing the minute detail are needing to make the image displayed
correctly to the screen.
Today, we went over some old stuff such as how
to utilize the git lab, setting up virtual environment for python, etc. The
library we are using are OpenCV, Matplotlib, numpy.
The
image processing starts when user uploads an image, which runs under OpenCV
function ‘imread’ which reads the image, there are three ways you can read an
image using ‘imread’ you can choose between Gray scale, Color or luma. Since,
the image is bigger the size from the screen one need to fit the image
according to the size of the dimensions of one’s computer screen. Make sure one
gets the correct value to resize, or one can always use calculator if needed.
Caution: if one gets the wrong values in the first step the whole program will be
something like following image size(4:5) and result will also be not even close
to accurate:
Once you get the correct dimensions of your
computer screen the image size will be full screen and object detect will be
100% accurate. Something like following:
Comments
Post a Comment