Skip to content

무게센서 연동을 위한 과정 #3

@IT-HONGREAT

Description

@IT-HONGREAT

Pre무게센서 연동

  • 무게센서를 연동해서 음식의 무게 값을 측정하고 해당음식에 대한 무게를 받음.
  • 음식의 무게를 받고, 음식의 이미지를 촬영한 다음 이미지 분류 모델을 활용.
  • 어떤 음식인지 구분하고, 그 음식의 무게에 따른 칼로리를 받아서 얼마나 되는지 출력.

git clone [https://github.com/tatobari/hx7121py](https://github.com/tatobari/hx7121py) 를 클론한다.

image


  • 파이썬 버전 업데이트가 필요했다.

    우선 라즈비안os 업데이트

image

python 3.8.5 다운로드 → 

```
wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz

#설치
sudo tar zxf Python-3.8.5.tgz
cd Python-3.8.5
sudo ./configure --enable-optimizations
sudo make -j4
sudo make altinstall
```

image


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions