raspberry pi4
tensorflow 설치 하기 for libcamera
v처니v
2022. 5. 10. 18:05
# tensorflow 설치
: qengineering.eu 의 tensorflow 설치시 빌드 오류 발생됨. 아래 경로 내용 참조 하여 설치
Post-Processing with TensorFlow Lite 의 note 박스 안에 lindevs.com 경로 링크 있음.
[tensorflow2.8 링크]
https://lindevs.com/install-precompiled-tensorflow-lite-on-raspberry-pi/
wget https://github.com/prepkg/tensorflow-lite-raspberrypi/releases/latest/download/tensorflow-lite.deb
sudo apt install -y ./tensorflow-lite.deb
rm -rf tensorflow-lite.deb
# libcamera build 및 생성된 파일들.
cd libcamera-apps/build
cmake .. -DENABLE_DRM=1 -DENABLE_X11=1 -DENABLE_QT=1 -DENABLE_OPENCV=1 -DENABLE_TFLITE=1
make -j4
sudo make install
sudo ldconfig
