raspberry pi4 7

라즈베리파이 SD Card 백업 및 복구

https://sourceforge.net/projects/win32diskimager/files/Archive/Win32DiskImager-0.9.5-install.exe/download win32diskimager v0.9.5 를 사용 한다. v1.0.0 은 실행이 되지 않는다. 실행시 위와 같은 창이 뜨지만 문제 없이 동작 된다. 1. 백업 - Image file 창에서 경로 및 파일 이름 설정 하고, 'Read' 버튼 클릭 16GB 기준 약 20분 가량 소요된다. 읽기 속도 초당 약 12MB/s 2. 복구 - Image file 창에서 사용할 파일 이미지 로드 후, "Write" 클릭 약 40분 가까이 소요된다. 쓰기 속도 초당 약 6~8MB/s 3. 이후 해당 SD Card로 RPI4 정상 동작..

raspberry pi4 2022.05.12

tensorflow 설치 하기 for libcamera

# tensorflow 설치 : qengineering.eu 의 tensorflow 설치시 빌드 오류 발생됨. 아래 경로 내용 참조 하여 설치 https://www.raspberrypi.com/documentation/accessories/camera.html#post-processing-with-tensorflow-lite 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-rasp..

raspberry pi4 2022.05.10

open cv 설치 하기 for libcamera

# open cv 설치 하기 https://qengineering.eu/install-opencv-4.5-on-raspberry-pi-4.html 1. EEPROM 업데이트 # to get the current status $ sudo rpi-eeprom-update # if needed, to update the firmware $ sudo rpi-eeprom-update -a $ sudo reboot 2. 버전 확인 $ uname –a # 결과가 ‘aarch64’ 이면 64bit OS , ‘armv7l’ 이면 32bit OS 3. Swap memory : 2048 -> 4096 메모리변경 /etc/dphys-swapfile 은 변경하지 말 것. 데스크탑 동작 x # edit the swap confi..

raspberry pi4 2022.05.10

EEPROM 펌웨어 업데이트 방법

일부 opencv / tensorflow 사용을 위해 필요함. 1. 패키지 업데이트 sudo apt update sudo apt upgrade 2. 버전 확인. : 업데이트 가능 하면 "update available " 문구 뜸. sudo rpi-eeprom-update 3. 업데이트 sudo rpi-eeprom-update -a 4. 재부팅 reboot 5. 확인 pi@raspberrypi:~ $ sudo rpi-eeprom-update BOOTLOADER: up to date CURRENT: Tue 25 Jan 14:30:41 UTC 2022 (1643121041) LATEST: Tue 25 Jan 14:30:41 UTC 2022 (1643121041) RELEASE: default (/lib/fir..

raspberry pi4 2022.05.06

libcamera test

[참조 경로] https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-raw # 정지화면 libcamera-still -o test.jpg libcamera-still -e png -o test.png libcamera-still -e bmp -o test.bmp libcamera-still -e rgb -o test_rgb.data libcamera-still -e yuv420 -o test.data # 동영상 캡쳐 및 VLC Player로 실행. libcamera-vid -t 10000 -o test.h264 # 캡쳐 vlc test.h264 # vlc player 로 영상 재생 # 스트리밍 방식 : RSTP [RPI4]..

raspberry pi4 2022.05.04

CAMERA V2 모듈 설정 순서

# 개발환경 RPI4 + Camera module V2 # 준비 작업 1. 라즈베리파이 업데이트 및 리부팅 (우측 상단에 다운로드 이미지가 있을 경우) 2. sudo raspi-config 실행 - 3. Interface Options -> 1.Camera -> select -> finish https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-raw 해당 링크 참조 libcamera-still -o test.jpg libcamera-still -e png -o test.png libcamera-still -e bmp -o test.bmp => raw data + bmp header data libcamera-still -..

raspberry pi4 2022.05.03