Skip to content

Commit fbd41d2

Browse files
committed
* update camera doc
1 parent f3cbc53 commit fbd41d2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/doc/en/vision/camera.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ You can also get greyscale images
5555

5656
## Setting the frame rate of the camera
5757

58-
Currently the camera supports `30fps`, `60fps` and `80fps` configurations, the frame rate is selected by the `width`, `height`, `fps` parameters passed when creating the `Camera` object, currently the maximum supported resolution is `1280x720` under `60/80fps`, and the maximum supported resolution is `2560x1440` under `30fps`.
58+
The GC4653 supports a maximum of three configurations: `2560x1440 30fps`, `1280x720 60fps`, and `1280x720 80fps`. The frame rate is selected based on the width, height, and fps parameters passed when creating the Camera object.
59+
60+
The OS04A10 supports a maximum of two configurations: `2560x1440 30fps` and `1280x720 90fps`. The `1280x720` resolution is achieved by center-cropping the `2560x1440` image.
5961

6062
### Setting the frame rate to 30 fps
6163

docs/doc/zh/vision/camera.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ cam = camera.Camera(640, 480, image.Format.FMT_YVU420SP) # 设置输出NV21图
6868

6969
## 设置摄像头的帧率
7070

71-
目前摄像头支持`30fps``60fps``80fps`三种配置,由创建`Camera`对象时传入的`width``height``fps`参数来选择帧率,目前`60/80fps`下最大支持分辨率`1280x720``30fps`下最大支持分辨率`2560x1440`
71+
GC4653最大支持`2560x1440 30fps``1280x720 60fps``1280x720 80fps`三种配置,由创建`Camera`对象时传入的`width``height``fps`参数来选择帧率。
72+
73+
OS04A10最大支持`2560x1440 30fps``1280x720 90fps`两种配置,其中`1280x720`是基于`2560x1440`居中裁剪的画面
7274

7375
### 设置帧率为30帧
7476

@@ -199,4 +201,3 @@ cam.set_resolution(width=640, height=480)
199201
* 先在开发板设置里面`USB设置`中选择`USB 模式``HOST`模式。如果没有屏幕,可以用`examples/tools/maixcam_switch_usb_mode.py`脚本进行设置。
200202
* `maix.camera` 模块目前(2024.10.24) 还不支持 USB 摄像头,不过你可以参考 [OpenCV 使用 USB 摄像头](./opencv.md)
201203

202-

0 commit comments

Comments
 (0)