전체 글 47

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

리눅스 / 라즈베리파이 라즈비안 네트워크 공유폴더 만들기( samba)

1. 리눅스/ 라즈비안 (samba) 윈도우 네트워크 환경 방식. 2. samba 설치 sudo apt update sudo apt install samba 2. 공유 폴더 생성 및 samba 설정 mkdir ~/__SMB sudo vi /etc/samba/smb.conf 3. smb.conf 마지막 줄에 삽입 [__SMB] comment = Sharing Folder path = /home/pi/_SMB browseable = yes writable = yes create mask = 0644 directory mask = 0755 [__SMB] : 네트워크상에서 보여질 이름 comment = Sharing Folder : 공유폴더에대한 자신만의 설명으로 원하는 대로 적으면된다. path = /home..

아나콘다 명령어 ( 가상환경 리스트 / 생성 / 삭제 )

1. 가상환경 리스트 조회 conda env list 2. 가상환경 생성 conda create -n 가상환경이름 ex) conda create -n test 특정 버전의 파이썬을 사용하고 싶을 때는 다음과 같이 명령합니다. conda create -n 가상환경이름 python=버전 ex) conda create -n test python=3.6 3. 가상환경 복제 conda create --clone 복제할 가상환경이름 -n 새 가상환경이름 ex) conda create --clone test -n test1 4. 가상환경 활성화/비활성화 가상환경 활성화 conda activate 가상환경이름 ex) conda activate test 가상환경 비활성화 conda deactivate 5. 가상환경 삭제..

python 2022.04.28