nuttx-apps/examples/camera
yuexinyi c10e78869b examples/camera: Video driver multi-instance adaptation
Signed-off-by: yuexinyi <yuexinyi@xiaomi.com>
2023-07-29 07:42:33 -07:00
..
camera_bkgd.c examples/camera: Fix the style issue 2022-12-08 12:38:55 +01:00
camera_bkgd.h examples/camera: Fix some issues and update license 2021-09-16 10:45:36 +02:00
camera_fileutil.c examples/camera: Add FAR for all pointer 2022-12-08 12:38:55 +01:00
camera_fileutil.h examples/camera: Add FAR for all pointer 2022-12-08 12:38:55 +01:00
camera_main.c examples/camera: Video driver multi-instance adaptation 2023-07-29 07:42:33 -07:00
Kconfig examples: camera: add EXAMPLES_CAMERA_OUTPUT_LCD 2021-09-15 14:47:45 +08:00
Make.defs examples/camera: Fix some issues and update license 2021-09-16 10:45:36 +02:00
Makefile examples/camera: Fix some issues and update license 2021-09-16 10:45:36 +02:00
README.md Typo fixes. 2022-01-06 10:30:41 +08:00

Examples / camera Camera Snapshot

This sample is implemented as camera command on NuttX Shell. The synopsis of the command is as below.

nsh> camera ([-jpg]) ([capture num])

  -jpg        : this option is set for storing JPEG file into a strage.
              : If this option isn't set capturing raw RGB565 data in a file.
              : raw RGB565 is default.

  capture num : this option instructs number of taking pictures.
              : 10 is default.

Storage will be selected automatically based on the available storage option.

Execution example:

nsh> camera
nximage_listener: Connected
nximage_initialize: Screen resolution (320,240)
Take 10 pictures as RGB file in /mnt/sd0 after 5 seconds.
After finishing taking pictures, this app will be finished after 10 seconds.
Expier time is pasted.
Start capturing...
FILENAME:/mnt/sd0/VIDEO001.RGB
FILENAME:/mnt/sd0/VIDEO002.RGB
FILENAME:/mnt/sd0/VIDEO003.RGB
FILENAME:/mnt/sd0/VIDEO004.RGB
FILENAME:/mnt/sd0/VIDEO005.RGB
FILENAME:/mnt/sd0/VIDEO006.RGB
FILENAME:/mnt/sd0/VIDEO007.RGB
FILENAME:/mnt/sd0/VIDEO008.RGB
FILENAME:/mnt/sd0/VIDEO009.RGB
FILENAME:/mnt/sd0/VIDEO010.RGB
Finished capturing...
Expier time is pasted.
nximage_listener: Lost server connection: 117