WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132, 微信: whycan_cn (哇酷网/挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-11-26 10:27:59

BugActiveDaughter
Moderator
注册时间: 2017-10-17
累计积分: 77

RK3288 安卓系统摄像头成像问题请教

RK3288跑安卓系统,打开照相机,可以明显看到日光灯闪,这个要怎么解决比较好?

离线

#2 2019-11-26 10:37:04

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,528

Re: RK3288 安卓系统摄像头成像问题请教

应该是频率问题, 我们国家市电50Hz, 有些国家60Hz

供应商摄像头采集频率应该是 60Hz的, 叫他们改成 50Hz, 问题或许就解决了。

离线

#3 2019-11-26 10:40:26

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,528

Re: RK3288 安卓系统摄像头成像问题请教

https://www.play-zone.ch/en/fileuploader/download/download/?d=1&file=custom%2Fupload%2FFile-1402681702.pdf

Banding Filter Setting for 24Mhz Input Clock
30fps for 60Hz light frequency
i2c_salve_Address = 0x42;
write_i2c(0x13, 0xe7); //banding filter enable
write_i2c(0x9d, 0x98); //50Hz banding filter
write_i2c(0x9e, 0x7f); //60Hz banding filter
write_i2c(0xa5, 0x02); //3 step for 50hz
write_i2c(0xab, 0x03); //4 step for 60hz
write_i2c(0x3b, 0x02); //Select 60Hz banding filter
15fps for 60Hz light frequency
i2c_salve_Address = 0x42;
write_i2c(0x13, 0xe7); //banding filter enable
write_i2c(0x9d, 0x4c); //50Hz banding filter
write_i2c(0x9e, 0x3f); //60Hz banding filter
write_i2c(0xa5, 0x05); //6 step for 50hz
write_i2c(0xab, 0x07); //8 step for 60hz
write_i2c(0x3b, 0x02); //Select 60Hz banding filter
25fps for 50Hz light frequency
i2c_salve_Address = 0x42;
write_i2c(0x13, 0xe7); //banding filter enable
write_i2c(0x9d, 0x98); //50Hz banding filter
write_i2c(0x9e, 0x7f); //60Hz banding filter
write_i2c(0xa5, 0x03); //4 step for 50hz
write_i2c(0xab, 0x03); //4 step for 60hz
write_i2c(0x3b, 0x0a); //Select 50Hz banding filter
14.3fps for 50Hz light frequency
i2c_salve_Address = 0x42;
write_i2c(0x13, 0xe7); //banding filter enable
write_i2c(0x9d, 0x4c); //50Hz banding filter
write_i2c(0x9e, 0x3f); //60Hz banding filter
write_i2c(0xa5, 0x06); //7 step for 50hz
write_i2c(0xa5, 0x07); //8 step for 60hz
write_i2c(0x3b, 0x0a); //Select 50Hz banding filter

随便搜了一下, 就类式酱紫改

离线

#4 2019-11-26 11:05:34

BugActiveDaughter
Moderator
注册时间: 2017-10-17
累计积分: 77

Re: RK3288 安卓系统摄像头成像问题请教

小系统调过摄像头,是有这个摄像头过滤50 hz 和60hz的设置,我们是买回来的整机,之后在人家安卓平台开发自己app,那么这个摄像头的显示是我们app去弄还是安卓系统底层去改?

离线

#5 2019-11-26 11:13:58

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,528

Re: RK3288 安卓系统摄像头成像问题请教

app不清楚有没有接口, 有可能要厂家改驱动,一起打包到固件.

离线

#6 2019-11-26 11:26:10

BugActiveDaughter
Moderator
注册时间: 2017-10-17
累计积分: 77

Re: RK3288 安卓系统摄像头成像问题请教

谢谢晕总

离线

#7 2019-11-26 11:52:15

BugActiveDaughter
Moderator
注册时间: 2017-10-17
累计积分: 77

Re: RK3288 安卓系统摄像头成像问题请教

哎,问整机的供应商,说按标准的安卓方式,辣鸡了

离线

#8 2019-11-26 11:56:33

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,528

Re: RK3288 安卓系统摄像头成像问题请教

BugActiveDaughter 说:

哎,问整机的供应商,说按标准的安卓方式,辣鸡了

可能他们也是找人OEM的,也问不出所以然来。

离线

页脚