The software is an extremely primitive prototype written to study on image processing and AI. The aim of the software is to calculate the bmi from the person's photo and compare it with the previous measurements, if any, and make recommendations. There is no height, weight or any other entry in the software. Bmi calculation and recognition the person is done with the person's photo.
- In the project, I used LBPG Algorithm and I developed in windows forms with C#
We enter the ip of the ip camera there may be changes in the code according to the ip camera software you use, you can edit it. I used my own phone as a ip camera.
- In this screen software is using webcam of computer because here the webcam is more useful than ip camera, but it can be easily converted to ip camera.
- İf dot is green, this mean face detected and it can recognize
- Here the software uses the phone camera as an ip camera, I did not use a webcam because the phone camera can take portraits. It is very difficult to take portraits on webcam
- For healthy results, the camera should be kept parallel to the person and the person should be centered.
- Here old results are drawn from the database, compared with the new result and recommendations are given to the person
- When BMI calculating the background of the captured photo is deleted and I use the remove.bg site's api to do this.
- This site gives you 5 free attempts, that's why api-key must be change regularly.
- I created a class called
database.cs
and performed the database operations in it. - The software creates the database itself, changing the following three variables in the
database.cs
class will be sufficient for the database connection.
You just need to change the server name for the software to work. No need to manually create databases or tables.
persons.dbo |
---|
Column Name | Data Type |
---|---|
[Name Surname] | varchar(50) |
BMI | varchar(50) |
Date | datetime |