Smart Mirror with Object Measuring Functionality
Hoang, Hai (2022)
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022052411715
https://urn.fi/URN:NBN:fi:amk-2022052411715
Tiivistelmä
Mirror has always been an integral part of a person’s clothing choice. However, when it comes to information beyond visual appearance, we have to rely on archaic instruments to get our body measurements. The lack of these metrics can result in uncertainty when it comes to buying or trying on new looks. The idea of a mirror capable of giving human measurements was born from this. The main goal of this project is smaller in scale: a mirror capable of giving width and height of small objects.
The focus of this thesis is the creation of a smart mirror setup with the ability to measure an object width and height in millimetre. The setup was created using a generic 720p webcam to get an image input, a Raspberry Pi 3 minicomputer to calculate sizes, and a generic 1080p monitor to display the result. The measurement script was written using Python programming language and an open-source computer vision library called OpenCV.
A small functioning setup was created for this project. The Pi unit was capable of capturing an image from the webcam. It then performs various image processing steps to separate the needed objects and get their measurements. The processed image is then output onto the monitor as output. With further development, this setup will be able to measure larger objects, more measurement parameters and eventually all human measurements used in clothes sizing
The focus of this thesis is the creation of a smart mirror setup with the ability to measure an object width and height in millimetre. The setup was created using a generic 720p webcam to get an image input, a Raspberry Pi 3 minicomputer to calculate sizes, and a generic 1080p monitor to display the result. The measurement script was written using Python programming language and an open-source computer vision library called OpenCV.
A small functioning setup was created for this project. The Pi unit was capable of capturing an image from the webcam. It then performs various image processing steps to separate the needed objects and get their measurements. The processed image is then output onto the monitor as output. With further development, this setup will be able to measure larger objects, more measurement parameters and eventually all human measurements used in clothes sizing