发作品签到
专业版

CompatibleMV-OV2640

工程标签

707
0
0
0

简介

兼容openmv4的摄像头模块

简介:兼容openmv4的摄像头模块

开源协议

Public Domain

创建时间:2024-08-05 14:29:44更新时间:2024-08-06 06:32:07

描述

一个可用于OpenMV4的OV2640的模块,将FPC模组转接到OpenMV4的BTB座子。

 

摄像头我用的是https://m.tb.cn/h.gkDQKAOUux5XX3U?tk=fmPn3W9kW5P,M12的应该都能锁上螺丝
BTB连接器我用的是https://m.tb.cn/h.gkD9MfOiVl2YqBc?tk=uAQm3W9l4WF, 选择DF12NB(3.0)-36DP-0.5V
 
摄像头实测需要翻转,例子如下
```python3
import sensor
import time
 
sensor.reset()  # Reset and initialize the sensor.
sensor.set_pixformat(sensor.RGB565)  # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QVGA)  # Set frame size to QVGA (320x240)
sensor.set_hmirror(True)
sensor.set_vflip(True)
sensor.skip_frames(time=2000)  # Wait for settings take effect.
clock = time.clock()  # Create a clock object to track the FPS.
 
while True:
    clock.tick()  # Update the FPS clock.
    img = sensor.snapshot()  # Take a picture and return the image.
    print(clock.fps())  # Note: OpenMV Cam runs about half as fast when connected
    # to the IDE. The FPS should increase once disconnected.

```

 

效果如图,说实话不是很好,帧率也不是很高,图一乐(

设计图

未生成预览图,请在编辑器重新保存一次

BOM

暂无BOM

附件

序号文件名称下载次数
暂无数据
克隆工程
添加到专辑
0
0
分享
侵权投诉

工程成员

评论

全部评论(1)
按时间排序|按热度排序
粉丝0|获赞0
相关工程
暂无相关工程

底部导航