导航

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

    惠斯 创建的帖子

    • 惠

      我出现这个问题,请问这要怎么解决?
      OpenMV Cam • • 惠斯

      2
      0
      赞同
      2
      楼层
      2238
      浏览

      https://singtown.com/learn/50235/
    • 惠

      摄像头问题
      OpenMV Cam • • 惠斯

      2
      0
      赞同
      2
      楼层
      2883
      浏览

      有没有接其他电路?OpenMV是如何供电的,供电接的哪个引脚?
    • 惠

      通信问题
      OpenMV Cam • • 惠斯

      5
      0
      赞同
      5
      楼层
      5074
      浏览

      Q

      @openmv萌新 如果是两个不同的指令怎么区别?
    • 惠

      怎么能减小灰度图与彩图之间的切换频率?
      OpenMV Cam • • 惠斯

      5
      0
      赞同
      5
      楼层
      5308
      浏览

      import sensor, image, 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.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() # img这里是彩色 img = img.to_grayscale() # img这里是灰色 print(clock.fps())
    • 惠

      模板识别和颜色识别能串起来一起用吗
      OpenMV Cam • • 惠斯

      4
      0
      赞同
      4
      楼层
      4878
      浏览

      惠

      import time, sensor, image from image import SEARCH_EX, SEARCH_DS Reset sensor sensor.reset() Set sensor settings sensor.set_contrast(1) sensor.set_gainceiling(16) Max resolution for template matching with SEARCH_EX is QQVGA sensor.set_framesize(sensor.QQVGA) You can set windowing to reduce the search image. #sensor.set_windowing(((640-80)//2, (480-60)//2, 80, 60)) sensor.set_pixformat(sensor.GRAYSCALE) Load template. Template should be a small (eg. 32x32 pixels) grayscale image. template0 = image.Image("/0.pgm") template1 = image.Image("/1.pgm") template2 = image.Image("/2.pgm") template3 = image.Image("/3.pgm") template4 = image.Image("/4.pgm") template5 = image.Image("/5.pgm") template6 = image.Image("/6.pgm") template7 = image.Image("/7.pgm") template8 = image.Image("/8.pgm") template9 = image.Image("/9.pgm") clock = time.clock() Run template matching while (True): clock.tick() img = sensor.snapshot() # find_template(template, threshold, [roi, step, search]) # ROI: The region of interest tuple (x, y, w, h). # Step: The loop step used (y+=step, x+=step) use a bigger step to make it faster. # Search is either image.SEARCH_EX for exhaustive search or image.SEARCH_DS for diamond search # # Note1: ROI has to be smaller than the image and bigger than the template. # Note2: In diamond search, step and ROI are both ignored. r0 = img.find_template(template0, 0.70, step=4, search=SEARCH_EX) if r0: print('0') r1 = img.find_template(template1, 0.70, step=4, search=SEARCH_EX) if r1: print('1') r2 = img.find_template(template2, 0.70, step=4, search=SEARCH_EX) if r2: print('2') r3 = img.find_template(template3, 0.70, step=4, search=SEARCH_EX) if r3: print('3') r4 = img.find_template(template4, 0.70, step=4, search=SEARCH_EX) if r4: print('4') r5 = img.find_template(template5, 0.70, step=4, search=SEARCH_EX) if r5: print('5') r6 = img.find_template(template6, 0.70, step=4, search=SEARCH_EX) if r6: print('6') r7 = img.find_template(template7, 0.70, step=4, search=SEARCH_EX) if r7: print('7') r8 = img.find_template(template8, 0.70, step=4, search=SEARCH_EX) if r8: print('8') r9 = img.find_template(template9, 0.70, step=4, search=SEARCH_EX) if r9: print('9')
    • 惠

      数字识别问题
      OpenMV Cam • • 惠斯

      2
      0
      赞同
      2
      楼层
      3807
      浏览

      来自星瞳实验室APP: memory error大佬帮忙看看 谢谢。 https://forum.singtown.com/topic/1005
    • 惠

      关于摄像头的问题
      OpenMV Cam • • 惠斯

      2
      0
      赞同
      2
      楼层
      2942
      浏览

      请运行hello world http://book.openmv.cc/example/01-Basics/helloworld.html
    • 惠

      oserror:couldn't find the file?
      OpenMV Cam • • 惠斯

      3
      0
      赞同
      3
      楼层
      3369
      浏览

      H

      你是怎么解决的啊
    • 惠

      这个怎么解决?
      OpenMV Cam • • 惠斯

      3
      0
      赞同
      3
      楼层
      3944
      浏览

      https://forum.singtown.com/topic/998/attribute-error-谢谢大佬
    • 惠

      openmv能识别手写数字吗?
      OpenMV Cam • • 惠斯

      5
      0
      赞同
      5
      楼层
      5765
      浏览

      神经网络目前教程还不完善(主要是机器学习本来就是个很大的坑,没有几年学不了),我们还在完善如何训练网络的教程。