Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:os08a10-mipi-camera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:add-ons:os08a10-mipi-camera [2022/10/27 22:56]
hyphop [See Also]
products:sbc:common:add-ons:os08a10-mipi-camera [2023/12/29 05:30] (current)
nick
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly introduces MIPI Camera. The first part of the document describes how to connect. The second part introduces how to use it under Ubuntu. The third part introduces how to use it under Android.+This document mainly introduces [[https://www.khadas.com/product-page/os08a10-8mp-camera | OS08A10 MIPI Camera]]. The first part of the document describes how to connect. The second part introduces how to use it under Ubuntu. The third part introduces how to use it under Android.
  
 ===== Hardware Connection ===== ===== Hardware Connection =====
Line 11: Line 11:
 </WRAP> </WRAP>
  
-{{/products/sbc/common/accessories/docs-vim3-camera-os8a10.png?600|docs-vim4-camera-os8a10}}+{{/products/sbc/common/accessories/docs-vim3-camera-os8a10.png?600|docs-vim3-camera-os8a10}}
  
-===== Guvcview =====+ 
 +===== For 5.15 kernel ===== 
 + 
 +Please check  
 + 
 +===== For 4.9 kernel ===== 
 + 
 +==== Guvcview ====
  
 The desktop version has ''Guvcview'' pre-installed, find and open this application in the application list. The desktop version has ''Guvcview'' pre-installed, find and open this application in the application list.
Line 29: Line 36:
 After the setting is successful, you can use the camera normally. After the setting is successful, you can use the camera normally.
  
-===== Command Line =====+==== Command Line ====
  
-==== Control IR-Cut via V4L2 ====+=== Control IR-Cut via V4L2 ===
  
 The test needs to be conducted in the framebuffer mode, and switch to the framebuffer mode through the keyboard combination of ''Ctrl''+''Alt''+''F1''. The test needs to be conducted in the framebuffer mode, and switch to the framebuffer mode through the keyboard combination of ''Ctrl''+''Alt''+''F1''.
  
-  * Disable status: ''+== Disable status ==  
 + 
 +```shell
 $ v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 0 -b /dev/fb0 -v /dev/video0 $ v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 0 -b /dev/fb0 -v /dev/video0
-'' +``` 
-  Enable status: ''+ 
 +== Enable status == 
 + 
 +```shell
 $ v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 1 -b /dev/fb0 -v /dev/video0 $ v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 1 -b /dev/fb0 -v /dev/video0
-''+```
  
-==== Record Video via Gstreamer ====+=== Record Video via Gstreamer ===
  
 ```shell ```shell
Line 50: Line 62:
 The recorded video is saved in ''test.rgb''. The recorded video is saved in ''test.rgb''.
  
-===== Demo Source Code =====+==== Demo Source Code ====
  
 In addition to this, you can also test the camera via program. In addition to this, you can also test the camera via program.
  
-==== Python ====+=== Install Dependencies ==
 + 
 + 
 +```shell 
 +sudo apt install libopencv-dev python3-opencv 
 +``` 
 + 
 +=== Python ===
  
 ```python mipi-camera.py ```python mipi-camera.py
Line 133: Line 152:
 ``` ```
  
-Compile:+== Compile == 
  
 ```shell ```shell
Line 139: Line 158:
 ``` ```
  
-Run format:+== Run ==
  
 ```shell ```shell
-$ ./test /dev/videoX+$ ./mipi /dev/videoX
 ``` ```
  
Line 148: Line 167:
  
   * [[pp>os08a10-8mp-camera|Buy OS08A10 8MP Camera]]   * [[pp>os08a10-8mp-camera|Buy OS08A10 8MP Camera]]
-  * [[dl>Hardware/Accessories/OS08A10/OS08A10_V11_Specification.pdf|OS08A10 Schematic]] +  * [[dl>products/add-ons/os08a10/|OS08A10 Hardware Documentations]] 
-  * [[dl>Hardware/Accessories/OS08A10/OS08A10-H92A_Specification_Version-2-11_SE.pdf|OS08A10-H92A Datasheet]]+
  
Last modified: 2022/10/27 22:56 by hyphop