智能车制作

标题: 摄像头的问题 [打印本页]

作者: wxyz0905    时间: 2009-2-8 10:08
标题: 摄像头的问题
请问大家为什么我的摄像头测出来的数据是偏向车的左边呢?而且右边距离车中心很小?我用数字摄像头ov7620的。是不是跟初始化程序有关?我的初始化程序:
  I2CWrite(OVwr,0x11,0x00);     
    I2CWrite(OVwr,0x12,0x24);   
  I2CWrite(OVwr,0x13,0x01);     
  I2CWrite(OVwr,0x14,0x14);  

I2CWrite(OVwr,0x15,0x00);
  I2CWrite(OVwr,0x17,0x2C);     
  I2CWrite(OVwr,0x18,0xD2);     
  I2CWrite(OVwr,0x19,0x06);     
  I2CWrite(OVwr,0x1A,0xF5);   
   I2CWrite(OVwr,0x1B,0x6);     
  I2CWrite(OVwr,0x28,0x60);     
  I2CWrite(OVwr,0x2D,0x81);     
  I2CWrite(OVwr,0x71,0x40);

不然初始化程序怎么写?
作者: 海彬    时间: 2012-2-29 15:42
等待




欢迎光临 智能车制作 (http://111.231.132.190/) Powered by Discuz! X3.2