From 69a243e7ce25d7f5fbff5c01ab4a1227a327f0b1 Mon Sep 17 00:00:00 2001 From: Christian Flintrup Date: Fri, 3 Jan 2020 05:02:42 +0100 Subject: [PATCH 1/2] Fix typos --- RPI/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RPI/README.md b/RPI/README.md index c2227ab..97c065e 100644 --- a/RPI/README.md +++ b/RPI/README.md @@ -1,4 +1,4 @@ -# Introudction +# Introduction This the MIPI camera software SDK for Raspberry pi platform, which allow you connect global shutter cameras and upto 18MP cameras on RPI board. Now the supported MIPI camera modules are below: @@ -138,7 +138,7 @@ Modify gpu_mem size with proper size, recommend to use `gpu_mem=180` for 16MP or higher camera board. -# Running the Examples +# Running the examples ## preview_setMode Example ```bash $ ./preview_setMode [mode] @@ -165,7 +165,7 @@ In the raw_callback.c example, it is callback version of capture_raw example. ```bash $ ./video ``` -In the video.c example, it will record the video in H246 format. +In the video.c example, it will record the video in H264 format. ## Camera Control Query Example ```bash @@ -202,7 +202,7 @@ $ gst-launch-1.0 -v tcpclientsrc host=x.x.x.x port=5000 ! decodebin ! autovi ### Example 2: -Raspberry pi side command: (x.x.x.x is your Raspberry Pi IP address) +Raspberry Pi side command: (x.x.x.x is your Raspberry Pi IP address) ```bash $ ./video2stdout | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=x.x.x.x port=5000 ``` From 35061553e0df6dfef8c08602350c2add7d788d31 Mon Sep 17 00:00:00 2001 From: Christian Flintrup Date: Fri, 3 Jan 2020 05:03:17 +0100 Subject: [PATCH 2/2] Remove non-existing dependency --- RPI/capture2opencv.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RPI/capture2opencv.cpp b/RPI/capture2opencv.cpp index df29aa9..8b2b751 100644 --- a/RPI/capture2opencv.cpp +++ b/RPI/capture2opencv.cpp @@ -12,7 +12,6 @@ #include #include #include -#include "whiteBalance.hpp" #define VCOS_ALIGN_DOWN(p,n) (((ptrdiff_t)(p)) & ~((n)-1)) #define VCOS_ALIGN_UP(p,n) VCOS_ALIGN_DOWN((ptrdiff_t)(p)+(n)-1,(n)) @@ -299,4 +298,4 @@ int main(int argc, char **argv) { LOG("close camera status = %d", res); } return 0; -} \ No newline at end of file +}