업데이트 명령어
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
 
라즈베리파이에 도메인 연결
 
라즈베리에 opencv 4.0
 
ubuntu 16.04 openCV 3.4.3 install
https://webnautes.tistory.com/1030

 

g++ -o facedetect facedetect.cpp $(pkg-config --libs --cflags opencv) //컴파일 라이브러리 명령어

Gstreamer on latest Raspbian // 글제목
https://www.raspberrypi.org/forums/viewtopic.php?t=112354

sudo apt-get install gstreamer-1.0
sudo apt-get install gstreamer-tools


Streaming Video from Pi to OpenCV on PC //글제목
https://www.raspberrypi.org/forums/viewtopic.php?t=177912
gst-launch-1.0 -v tcpclientsrc host=192.168.0.9 port=5000  ! gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false


raspivid -t 999999 -h 720 -w 1080 -fps 30 -hf -vf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! queue ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.0.9 port=5000 

 

Installing OpenCV 3.4.3 on Raspberry Pi 3 Model B+

https://www.alatortsev.com/2018/09/05/installing-opencv-3-4-3-on-raspberry-pi-3-b/ 

 

OpenCV [TBB + VFVP3 + NEON] (Update - September,2018): Unleashed The Power of Multi-Threading in OpenCV

https://github.com/abhiTronix/OpenCV_Raspberry_pi_TBB



파이프 라인 
const char* pipe =  "-v tcpclientsrc host=192.168.0.118 port=5000  !     gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! appsink";

VideoCapture cap(pipe);


플러그인 다운
sudo apt-get install libgstreamer-plugins-base1.0-dev

카메라 업데이트
sudo rpi-update
sudo modprobe bcm2835-v4l2 or sudo modprobe bcm2835-v4l2

Raspberry PI RTSP Guide
https://www.stev.org/post/raspberrypisimplertspserver

gtk-doc
sudo apt-get install libgtk2.0-dev
sudo apt-get install gtk-doc-tools

openCV 빌드 체크
std::cout << cv::getBuildInformation() << std::endl;

RTSP
gst-launch-1.0 rtspsrc location="rtsp://192.168.0.118:8554/test" latency=0 ! rtph264depay ! decodebin ! videoconvert ! ximagesink  --수신시

 

const char* pipe = "-v rtspsrc location=rtsp://192.168.0.118:8554/test latency=0 ! rtph264depay ! decodebin ! videoconvert ! appsink";

 VideoCapture capture(pipe);             ---  opencv 에서 수신할때.
 




./test-launch "( rpicamsrc preview=false vflip=true sensor-mode=5  bitrate=2000000 keyframe-interval=15 ! video/x-h264, framerate=15/1 ! h264parse ! rtph264pay name=pay0 pt=96 )" --발신시

./test-launch "( rpicamsrc bitrate=1000000 ! video/x-h264,width=480,height=720,framerate=30/1 ! rtph264pay config-interval=1 name=pay0 pt=96 )" -- 더 빠르다

./test-launch "( rpicamsrc bitrate=2000000 ! video/x-h264,width=1280,height=720,framerate=10/1 ! rtph264pay config-interval=1 name=pay0 pt=96 )" -- 최적화




Minimal gstreamer raspivid pipeline?
https://www.raspberrypi.org/forums/viewtopic.php?t=182389   

 

vundle 설치방법

https://myeongjae.kim/blog/2016/10/06/vimlinux-4-%ED%94%8C%EB%9F%AC%EA%B7%B8%EC%9D%B8-%EB%A7%A4%EB%8B%88%EC%A0%80%EB%A5%BC-%EC%84%A4%EC%B9%98%ED%95%98%EA%B3%A0-vim-airline-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0/  

 

라즈베리파이 아두이노로 전원 넣기

https://www.modmypi.com/blog/how-do-i-power-my-raspberry-pi 

 

리눅스 키맵 변경방법 

https://codechacha.com/2018/05/29/how-to-use-xmodmap/

http://kwonnam.pe.kr/wiki/linux/xmodmap

https://askubuntu.com/questions/24916/how-do-i-remap-certain-keys-or-devices

http://xahlee.info/linux/linux_xmodmap_tutorial.html
xmodmap -pm : 이미 모디파이어에 들어있는 키인지 확인후 제거하고나서 할당 및 다시 모디파이어에 등록할것.

keymap.sh를 ~/.bashrc 파일에다가 추가해서 자동실행등록

bash /home/hyeok/keymap.sh 

 

 

opencv 완전 삭제

https://stackoverflow.com/questions/9276169/removing-all-installed-opencv-libs 

 

라즈베리파이 도메인 설정

https://carmalou.com/how-to/2017/08/06/how-to-change-hostname-for-raspberry-pi.html 


'RaspberryPi' 카테고리의 다른 글

라즈베리 파이 도메인 설정  (0) 2019.01.27

+ Recent posts