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 ``` 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 +}