导航

    • 登录
    • 搜索
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. 主页
    2. 13123022550
    3. 帖子
    1
    • 举报资料
    • 资料
    • 关注
    • 粉丝
    • 屏蔽
    • 帖子
    • 楼层
    • 最佳
    • 群组

    13123022550 创建的帖子

    • 1

      OpenMV有进行仿射变换的库么,或者我可以用什么办法添加函数库进去呢
      OpenMV Cam • • 13123022550

      3
      0
      赞同
      3
      楼层
      6118
      浏览

      这个变换固件里内置了。 http://book.openmv.cc/example/04-Image-Filters/rotation-correction.html # Rotation Correction # # This example shows off how to use the rotation_corr() to undo perspective rotations # in 3 dimensions along with zooming in and out on the image. While this demo rotates # the image around for fun you can use this feature to fix perspective issues related # to how your OpenMV Cam is mounted. import sensor, image, time # Degrees per frame to rotation by... X_ROTATION_DEGREE_RATE = 5 Y_ROTATION_DEGREE_RATE = 0.5 Z_ROTATION_DEGREE_RATE = 0 X_OFFSET = 0 Y_OFFSET = 0 ZOOM_AMOUNT = 1 # Lower zooms out - Higher zooms in sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) clock = time.clock() x_rotation_counter = 0 y_rotation_counter = 0 z_rotation_counter = 0 while(True): clock.tick() img = sensor.snapshot().rotation_corr(x_rotation = 30, \ y_rotation = 0, \ z_rotation = 0, \ x_translation = 0, \ y_translation = 0) print(clock.fps())
    • 1

      巡双线,模拟行车线,程序运行错误不太懂,求小智智解答
      OpenMV Cam • 循迹算法 • • 13123022550

      2
      0
      赞同
      2
      楼层
      4231
      浏览

      请提供具体的报错提示。