发 帖  
原厂入驻New
【大联大世平Intel®神经计算棒NCS2试用体验】半成品检验识别-结项
2020-8-30 22:07:54  36
分享
首先感谢电子发烧友与大联大世平Intel提供的这次试用机会。
经过这两个月的学习使用,初步了解了AI图像处理用到的软件各种工具。其中工具软件的搭配,版本的兼容性,都是需要反复的安装,总之各种坑。后来浏览了多家论坛,官方的、电子论坛懵懵懂懂一路摸索过来,也算了解了很多这方面的知识,积累了一点点经验,知道是从哪里入手,进行的步骤,需要的软件和硬件。
摘要      
当时是有个想法,通过使用NCS2神经计算棒作为边缘计算,提高半成品的检测速度,提高工作效率,当然了边缘计算也是后来在学习的过程中知道的。就是想达到拿到半成品板子通过计算机识别设备扫一扫就能知道哪个元件焊接或没焊上,然后有的放矢,针对性处理解决。
在实践中发现手边没有树莓派、i.MX RT1050、i.MX RT1050跨界板等类似的板、集成摄像头模组的硬件,就定下使用笔记本电脑的摄像头作为输入信号,笔记本电脑加NCS2作为目标物体识别,判定。
目录
一、项目调研
二、数据集的制作
三、模型的训练
四、软件、硬件的安装
五、测试
六、总结
正文
          一、项目调研
经过对网上的焊点数据集查找,没有找到这方面合适的,看来需要自己作素材进行训练。因地制宜,拍照片时用手机还是比电脑的摄像头清晰很多。电脑的摄像头是100W像素,手机是800W像素,不知道效果会不会造成识别错误,误报,也就是正确率低下。

按以下框图进行设计
1.jpg
二、数据集制作和训练实现
缺少建模与训练工具。拍照尽量多的图片,训练图片然后画框,使用labellmg软件画矩形框,注意标注的标签文件和图片一定要名称一样,后缀不同。并且存放到同一目录。样本和迭代次数越多越准确。
后来发现YOLOV3也可以训练数据,就选了个小板,元件不多,只要是检测贴片电阻或电容没焊接或漏一只焊脚的检测。验证能否实现,置信值情况。
2.jpg       3.jpg
训练次数不是很多,数据集也不是很大,所以结果还不是很准确。
       三、训练软件也可以购买一些做好的商业软件。例如大大通的推荐的LEADERG AI ZOO (人工智能软件)进行训练,训练结果用于后期的深度推理和神经网络计算。
作为训练助手还是很好的,另外国内也有一些专业开发的训练软件可以使用,对于爱好者还是自己做做试试,尝试一下提高更快。
      四、软件安装
开源的软件虽然版权没有付费,但是存在有些匹配问题。这点上问题多多。
Intel®神经计算棒2由Intel Movidius™X VPU提供支持,可提供业界领先的性能、功率和功耗。该神经计算棒支持OpenVINO™,这是一款可加快解决方案开发并简化部署的工具包。神经计算棒2代简单易用,可即插即用,并支持常用框架和开箱即用的示例应用程序。可以使用具有USB端口的任何平台进行原型设计和操作,而不必依赖云计算。Intel NCS 2可实现每秒4万亿次运算,与前几代产品相比,性能提升了8倍。
INTEL NCS2的安装
         1、开发环境安装的搭配
         2Intel神经计算棒插入电脑中,测试开发环境
3、将Intel神经计算棒插入WIN10的USB口,使用CMD命令终端,在终端中输入代码:





  1. <!--[IF gte mso 9]><xml>
  2. <o:OfficeDocumentSettings>
  3.   <o:AllowPNG></o:AllowPNG>
  4. </o:OfficeDocumentSettings>
  5. </xml><![endif]-->


  6. <!--[if gte mso 9]><xml>
  7. <w:WordDocument>
  8.   <w:View>Normal</w:View>
  9.   <w:Zoom>0</w:Zoom>
  10.   <w:TrackMoves></w:TrackMoves>
  11.   <w:TrackFormatting></w:TrackFormatting>
  12.   <w:PunctuationKerning></w:PunctuationKerning>
  13.   <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
  14.   <w:displayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  15.   <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  16.   <w:ValidateAgainstSchemas></w:ValidateAgainstSchemas>
  17.   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  18.   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  19.   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  20.   <w:DoNotPromoteQF></w:DoNotPromoteQF>
  21.   <w:LidThemeOther>EN-US</w:LidThemeOther>
  22.   <w:LidThemeAsian>ZH-CN</w:LidThemeAsian>
  23.   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  24.   <w:Compatibility>
  25.    <w:SpaceForUL></w:SpaceForUL>
  26.    <w:BalanceSingleByteDoubleByteWidth></w:BalanceSingleByteDoubleByteWidth>
  27.    <w:DoNotLeaveBackslashAlone></w:DoNotLeaveBackslashAlone>
  28.    <w:ULTrailSpace></w:ULTrailSpace>
  29.    <w:DoNotExpandShiftReturn></w:DoNotExpandShiftReturn>
  30.    <w:AdjustLineHeightInTable></w:AdjustLineHeightInTable>
  31.    <w:BreakWrappedTables></w:BreakWrappedTables>
  32.    <w:SnapToGridincell></w:SnapToGridInCell>
  33.    <w:WrapTextWithPunct></w:WrapTextWithPunct>
  34.    <w:UseAsianBreakRules></w:UseAsianBreakRules>
  35.    <w:DontGrowAutofit></w:DontGrowAutofit>
  36.    <w:SplitPgBreakAndParaMark></w:SplitPgBreakAndParaMark>
  37.    <w:EnableOpenTypeKerning></w:EnableOpenTypeKerning>
  38.    <w:DontFlipMirrorIndents></w:DontFlipMirrorIndents>
  39.    <w:OverrideTableStyleHps></w:OverrideTableStyleHps>
  40.    <w:UseFELayout></w:UseFELayout>
  41.   </w:Compatibility>
  42.   <m:mathPr>
  43.    <m:mathFont m:val="Cambria Math"></m:mathFont>
  44.    <m:brkBin m:val="before"></m:brkBin>
  45.    <m:brkBinSub m:val="&#45;-"></m:brkBinSub>
  46.    <m:smallFrac m:val="off"></m:smallFrac>
  47.    <m:dispDef></m:dispDef>
  48.    <m:lMargin m:val="0"></m:lMargin>
  49.    <m:rMargin m:val="0"></m:rMargin>
  50.    <m:defJc m:val="centerGroup"></m:defJc>
  51.    <m:wrapIndent m:val="1440"></m:wrapIndent>
  52.    <m:intLim m:val="subSup"></m:intLim>
  53.    <m:naryLim m:val="undOvr"></m:naryLim>
  54.   </m:mathPr></w:WordDocument>
  55. </xml><![endif]--><!--[if gte mso 9]><xml>
  56. <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  57.   DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  58.   LatentStyleCount="267">
  59.   <w:LsdException Locked="false" Priority="0" SemiHidden="false"
  60.    UnhideWhenUsed="false" QFormat="true" Name="Normal"></w:LsdException>
  61.   <w:LsdException Locked="false" Priority="9" SemiHidden="false"
  62.    UnhideWhenUsed="false" QFormat="true" Name="heading 1"></w:LsdException>
  63.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"></w:LsdException>
  64.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"></w:LsdException>
  65.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"></w:LsdException>
  66.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"></w:LsdException>
  67.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"></w:LsdException>
  68.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"></w:LsdException>
  69.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"></w:LsdException>
  70.   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"></w:LsdException>
  71.   <w:LsdException Locked="false" Priority="39" Name="toc 1"></w:LsdException>
  72.   <w:LsdException Locked="false" Priority="39" Name="toc 2"></w:LsdException>
  73.   <w:LsdException Locked="false" Priority="39" Name="toc 3"></w:LsdException>
  74.   <w:LsdException Locked="false" Priority="39" Name="toc 4"></w:LsdException>
  75.   <w:LsdException Locked="false" Priority="39" Name="toc 5"></w:LsdException>
  76.   <w:LsdException Locked="false" Priority="39" Name="toc 6"></w:LsdException>
  77.   <w:LsdException Locked="false" Priority="39" Name="toc 7"></w:LsdException>
  78.   <w:LsdException Locked="false" Priority="39" Name="toc 8"></w:LsdException>
  79.   <w:LsdException Locked="false" Priority="39" Name="toc 9"></w:LsdException>
  80.   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"></w:LsdException>
  81.   <w:LsdException Locked="false" Priority="10" SemiHidden="false"
  82.    UnhideWhenUsed="false" QFormat="true" Name="Title"></w:LsdException>
  83.   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"></w:LsdException>
  84.   <w:LsdException Locked="false" Priority="11" SemiHidden="false"
  85.    UnhideWhenUsed="false" QFormat="true" Name="Subtitle"></w:LsdException>
  86.   <w:LsdException Locked="false" Priority="22" SemiHidden="false"
  87.    UnhideWhenUsed="false" QFormat="true" Name="Strong"></w:LsdException>
  88.   <w:LsdException Locked="false" Priority="20" SemiHidden="false"
  89.    UnhideWhenUsed="false" QFormat="true" Name="Emphasis"></w:LsdException>
  90.   <w:LsdException Locked="false" Priority="59" SemiHidden="false"
  91.    UnhideWhenUsed="false" Name="Table Grid"></w:LsdException>
  92.   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"></w:LsdException>
  93.   <w:LsdException Locked="false" Priority="1" SemiHidden="false"
  94.    UnhideWhenUsed="false" QFormat="true" Name="No Spacing"></w:LsdException>
  95.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  96.    UnhideWhenUsed="false" Name="Light Shading"></w:LsdException>
  97.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  98.    UnhideWhenUsed="false" Name="Light List"></w:LsdException>
  99.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  100.    UnhideWhenUsed="false" Name="Light Grid"></w:LsdException>
  101.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  102.    UnhideWhenUsed="false" Name="Medium Shading 1"></w:LsdException>
  103.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  104.    UnhideWhenUsed="false" Name="Medium Shading 2"></w:LsdException>
  105.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  106.    UnhideWhenUsed="false" Name="Medium List 1"></w:LsdException>
  107.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  108.    UnhideWhenUsed="false" Name="Medium List 2"></w:LsdException>
  109.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  110.    UnhideWhenUsed="false" Name="Medium Grid 1"></w:LsdException>
  111.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  112.    UnhideWhenUsed="false" Name="Medium Grid 2"></w:LsdException>
  113.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  114.    UnhideWhenUsed="false" Name="Medium Grid 3"></w:LsdException>
  115.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  116.    UnhideWhenUsed="false" Name="Dark List"></w:LsdException>
  117.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  118.    UnhideWhenUsed="false" Name="ColoRFul Shading"></w:LsdException>
  119.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  120.    UnhideWhenUsed="false" Name="Colorful List"></w:LsdException>
  121.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  122.    UnhideWhenUsed="false" Name="Colorful Grid"></w:LsdException>
  123.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  124.    UnhideWhenUsed="false" Name="Light Shading Accent 1"></w:LsdException>
  125.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  126.    UnhideWhenUsed="false" Name="Light List Accent 1"></w:LsdException>
  127.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  128.    UnhideWhenUsed="false" Name="Light Grid Accent 1"></w:LsdException>
  129.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  130.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"></w:LsdException>
  131.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  132.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"></w:LsdException>
  133.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  134.    UnhideWhenUsed="false" Name="Medium List 1 Accent 1"></w:LsdException>
  135.   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"></w:LsdException>
  136.   <w:LsdException Locked="false" Priority="34" SemiHidden="false"
  137.    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"></w:LsdException>
  138.   <w:LsdException Locked="false" Priority="29" SemiHidden="false"
  139.    UnhideWhenUsed="false" QFormat="true" Name="Quote"></w:LsdException>
  140.   <w:LsdException Locked="false" Priority="30" SemiHidden="false"
  141.    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"></w:LsdException>
  142.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  143.    UnhideWhenUsed="false" Name="Medium List 2 Accent 1"></w:LsdException>
  144.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  145.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"></w:LsdException>
  146.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  147.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"></w:LsdException>
  148.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  149.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"></w:LsdException>
  150.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  151.    UnhideWhenUsed="false" Name="Dark List Accent 1"></w:LsdException>
  152.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  153.    UnhideWhenUsed="false" Name="Colorful Shading Accent 1"></w:LsdException>
  154.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  155.    UnhideWhenUsed="false" Name="Colorful List Accent 1"></w:LsdException>
  156.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  157.    UnhideWhenUsed="false" Name="Colorful Grid Accent 1"></w:LsdException>
  158.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  159.    UnhideWhenUsed="false" Name="Light Shading Accent 2"></w:LsdException>
  160.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  161.    UnhideWhenUsed="false" Name="Light List Accent 2"></w:LsdException>
  162.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  163.    UnhideWhenUsed="false" Name="Light Grid Accent 2"></w:LsdException>
  164.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  165.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"></w:LsdException>
  166.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  167.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"></w:LsdException>
  168.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  169.    UnhideWhenUsed="false" Name="Medium List 1 Accent 2"></w:LsdException>
  170.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  171.    UnhideWhenUsed="false" Name="Medium List 2 Accent 2"></w:LsdException>
  172.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  173.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"></w:LsdException>
  174.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  175.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"></w:LsdException>
  176.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  177.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"></w:LsdException>
  178.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  179.    UnhideWhenUsed="false" Name="Dark List Accent 2"></w:LsdException>
  180.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  181.    UnhideWhenUsed="false" Name="Colorful Shading Accent 2"></w:LsdException>
  182.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  183.    UnhideWhenUsed="false" Name="Colorful List Accent 2"></w:LsdException>
  184.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  185.    UnhideWhenUsed="false" Name="Colorful Grid Accent 2"></w:LsdException>
  186.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  187.    UnhideWhenUsed="false" Name="Light Shading Accent 3"></w:LsdException>
  188.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  189.    UnhideWhenUsed="false" Name="Light List Accent 3"></w:LsdException>
  190.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  191.    UnhideWhenUsed="false" Name="Light Grid Accent 3"></w:LsdException>
  192.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  193.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"></w:LsdException>
  194.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  195.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"></w:LsdException>
  196.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  197.    UnhideWhenUsed="false" Name="Medium List 1 Accent 3"></w:LsdException>
  198.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  199.    UnhideWhenUsed="false" Name="Medium List 2 Accent 3"></w:LsdException>
  200.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  201.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"></w:LsdException>
  202.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  203.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"></w:LsdException>
  204.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  205.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"></w:LsdException>
  206.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  207.    UnhideWhenUsed="false" Name="Dark List Accent 3"></w:LsdException>
  208.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  209.    UnhideWhenUsed="false" Name="Colorful Shading Accent 3"></w:LsdException>
  210.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  211.    UnhideWhenUsed="false" Name="Colorful List Accent 3"></w:LsdException>
  212.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  213.    UnhideWhenUsed="false" Name="Colorful Grid Accent 3"></w:LsdException>
  214.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  215.    UnhideWhenUsed="false" Name="Light Shading Accent 4"></w:LsdException>
  216.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  217.    UnhideWhenUsed="false" Name="Light List Accent 4"></w:LsdException>
  218.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  219.    UnhideWhenUsed="false" Name="Light Grid Accent 4"></w:LsdException>
  220.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  221.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"></w:LsdException>
  222.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  223.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"></w:LsdException>
  224.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  225.    UnhideWhenUsed="false" Name="Medium List 1 Accent 4"></w:LsdException>
  226.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  227.    UnhideWhenUsed="false" Name="Medium List 2 Accent 4"></w:LsdException>
  228.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  229.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"></w:LsdException>
  230.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  231.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"></w:LsdException>
  232.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  233.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"></w:LsdException>
  234.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  235.    UnhideWhenUsed="false" Name="Dark List Accent 4"></w:LsdException>
  236.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  237.    UnhideWhenUsed="false" Name="Colorful Shading Accent 4"></w:LsdException>
  238.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  239.    UnhideWhenUsed="false" Name="Colorful List Accent 4"></w:LsdException>
  240.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  241.    UnhideWhenUsed="false" Name="Colorful Grid Accent 4"></w:LsdException>
  242.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  243.    UnhideWhenUsed="false" Name="Light Shading Accent 5"></w:LsdException>
  244.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  245.    UnhideWhenUsed="false" Name="Light List Accent 5"></w:LsdException>
  246.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  247.    UnhideWhenUsed="false" Name="Light Grid Accent 5"></w:LsdException>
  248.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  249.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"></w:LsdException>
  250.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  251.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"></w:LsdException>
  252.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  253.    UnhideWhenUsed="false" Name="Medium List 1 Accent 5"></w:LsdException>
  254.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  255.    UnhideWhenUsed="false" Name="Medium List 2 Accent 5"></w:LsdException>
  256.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  257.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"></w:LsdException>
  258.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  259.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"></w:LsdException>
  260.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  261.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"></w:LsdException>
  262.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  263.    UnhideWhenUsed="false" Name="Dark List Accent 5"></w:LsdException>
  264.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  265.    UnhideWhenUsed="false" Name="Colorful Shading Accent 5"></w:LsdException>
  266.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  267.    UnhideWhenUsed="false" Name="Colorful List Accent 5"></w:LsdException>
  268.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  269.    UnhideWhenUsed="false" Name="Colorful Grid Accent 5"></w:LsdException>
  270.   <w:LsdException Locked="false" Priority="60" SemiHidden="false"
  271.    UnhideWhenUsed="false" Name="Light Shading Accent 6"></w:LsdException>
  272.   <w:LsdException Locked="false" Priority="61" SemiHidden="false"
  273.    UnhideWhenUsed="false" Name="Light List Accent 6"></w:LsdException>
  274.   <w:LsdException Locked="false" Priority="62" SemiHidden="false"
  275.    UnhideWhenUsed="false" Name="Light Grid Accent 6"></w:LsdException>
  276.   <w:LsdException Locked="false" Priority="63" SemiHidden="false"
  277.    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"></w:LsdException>
  278.   <w:LsdException Locked="false" Priority="64" SemiHidden="false"
  279.    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"></w:LsdException>
  280.   <w:LsdException Locked="false" Priority="65" SemiHidden="false"
  281.    UnhideWhenUsed="false" Name="Medium List 1 Accent 6"></w:LsdException>
  282.   <w:LsdException Locked="false" Priority="66" SemiHidden="false"
  283.    UnhideWhenUsed="false" Name="Medium List 2 Accent 6"></w:LsdException>
  284.   <w:LsdException Locked="false" Priority="67" SemiHidden="false"
  285.    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"></w:LsdException>
  286.   <w:LsdException Locked="false" Priority="68" SemiHidden="false"
  287.    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"></w:LsdException>
  288.   <w:LsdException Locked="false" Priority="69" SemiHidden="false"
  289.    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"></w:LsdException>
  290.   <w:LsdException Locked="false" Priority="70" SemiHidden="false"
  291.    UnhideWhenUsed="false" Name="Dark List Accent 6"></w:LsdException>
  292.   <w:LsdException Locked="false" Priority="71" SemiHidden="false"
  293.    UnhideWhenUsed="false" Name="Colorful Shading Accent 6"></w:LsdException>
  294.   <w:LsdException Locked="false" Priority="72" SemiHidden="false"
  295.    UnhideWhenUsed="false" Name="Colorful List Accent 6"></w:LsdException>
  296.   <w:LsdException Locked="false" Priority="73" SemiHidden="false"
  297.    UnhideWhenUsed="false" Name="Colorful Grid Accent 6"></w:LsdException>
  298.   <w:LsdException Locked="false" Priority="19" SemiHidden="false"
  299.    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"></w:LsdException>
  300.   <w:LsdException Locked="false" Priority="21" SemiHidden="false"
  301.    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"></w:LsdException>
  302.   <w:LsdException Locked="false" Priority="31" SemiHidden="false"
  303.    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"></w:LsdException>
  304.   <w:LsdException Locked="false" Priority="32" SemiHidden="false"
  305.    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"></w:LsdException>
  306.   <w:LsdException Locked="false" Priority="33" SemiHidden="false"
  307.    UnhideWhenUsed="false" QFormat="true" Name="Book Title"></w:LsdException>
  308.   <w:LsdException Locked="false" Priority="37" Name="Bibliography"></w:LsdException>
  309.   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"></w:LsdException>
  310. </w:LatentStyles>
  311. </xml><![endif]-->
  312. <style>
  313. <!--
  314. /* Font Definitions */
  315. @font-face
  316.         {font-family:宋体;
  317.         panose-1:2 1 6 0 3 1 1 1 1 1;
  318.         mso-font-alt:SimSun;
  319.         mso-font-charset:134;
  320.         mso-generic-font-family:auto;
  321.         mso-font-pitch:variable;
  322.         mso-font-signature:3 680460288 22 0 262145 0;}
  323. @font-face
  324.         {font-family:宋体;
  325.         panose-1:2 1 6 0 3 1 1 1 1 1;
  326.         mso-font-alt:SimSun;
  327.         mso-font-charset:134;
  328.         mso-generic-font-family:auto;
  329.         mso-font-pitch:variable;
  330.         mso-font-signature:3 680460288 22 0 262145 0;}
  331. @font-face
  332.         {font-family:Calibri;
  333.         panose-1:2 15 5 2 2 2 4 3 2 4;
  334.         mso-font-charset:0;
  335.         mso-generic-font-family:swiss;
  336.         mso-font-pitch:variable;
  337.         mso-font-signature:-536858881 -1073732485 9 0 511 0;}
  338. @font-face
  339.         {font-family:"\@宋体";
  340.         panose-1:2 1 6 0 3 1 1 1 1 1;
  341.         mso-font-charset:134;
  342.         mso-generic-font-family:auto;
  343.         mso-font-pitch:variable;
  344.         mso-font-signature:3 680460288 22 0 262145 0;}
  345. /* Style Definitions */
  346. p.MsoNormal, li.MsoNormal, div.MsoNormal
  347.         {mso-style-unhide:no;
  348.         mso-style-qformat:yes;
  349.         mso-style-parent:"";
  350.         margin:0cm;
  351.         margin-bottom:.0001pt;
  352.         text-align:justify;
  353.         text-justify:inter-ideograph;
  354.         mso-pagination:none;
  355.         font-size:10.5pt;
  356.         mso-bidi-font-size:11.0pt;
  357.         font-family:"Calibri","sans-serif";
  358.         mso-ascii-font-family:Calibri;
  359.         mso-ascii-theme-font:minor-latin;
  360.         mso-fareast-font-family:宋体;
  361.         mso-fareast-theme-font:minor-fareast;
  362.         mso-hansi-font-family:Calibri;
  363.         mso-hansi-theme-font:minor-latin;
  364.         mso-bidi-font-family:"Times New Roman";
  365.         mso-bidi-theme-font:minor-bidi;
  366.         mso-font-kerning:1.0pt;}
  367. .MsoChpDefault
  368.         {mso-style-type:export-only;
  369.         mso-default-props:yes;
  370.         font-family:"Calibri","sans-serif";
  371.         mso-bidi-font-family:"Times New Roman";
  372.         mso-bidi-theme-font:minor-bidi;}
  373. /* Page Definitions */
  374. @page
  375.         {mso-page-border-surround-header:no;
  376.         mso-page-border-surround-footer:no;}
  377. [url=home.php?mod=space&uid=1889346]@Page[/url] WordSection1
  378.         {size:612.0pt 792.0pt;
  379.         margin:72.0pt 90.0pt 72.0pt 90.0pt;
  380.         mso-header-margin:36.0pt;
  381.         mso-footer-margin:36.0pt;
  382.         mso-paper-source:0;}
  383. div.WordSection1
  384.         {page:WordSection1;}
  385. /* List Definitions */
  386. [url=home.php?mod=space&uid=1726924]@list[/url] l0
  387.         {mso-list-id:1063680474;
  388.         mso-list-template-ids:-506672208;}
  389. @list l0:level1
  390.         {mso-level-tab-stop:60.55pt;
  391.         mso-level-number-position:left;
  392.         margin-left:60.55pt;
  393.         text-indent:-18.0pt;}
  394. ol
  395.         {margin-bottom:0cm;}
  396. ul
  397.         {margin-bottom:0cm;}
  398. -->
  399. </style>
  400. <!--[if gte mso 10]>
  401. <style>
  402. /* Style Definitions */
  403. table.MsoNormalTable
  404.         {mso-style-name:普通表格;
  405.         mso-tstyle-rowband-size:0;
  406.         mso-tstyle-colband-size:0;
  407.         mso-style-noshow:yes;
  408.         mso-style-priority:99;
  409.         mso-style-parent:"";
  410.         mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
  411.         mso-para-margin:0cm;
  412.         mso-para-margin-bottom:.0001pt;
  413.         mso-pagination:widow-orphan;
  414.         font-size:10.5pt;
  415.         mso-bidi-font-size:11.0pt;
  416.         font-family:"Calibri","sans-serif";
  417.         mso-ascii-font-family:Calibri;
  418.         mso-ascii-theme-font:minor-latin;
  419.         mso-hansi-font-family:Calibri;
  420.         mso-hansi-theme-font:minor-latin;
  421.         mso-bidi-font-family:"Times New Roman";
  422.         mso-bidi-theme-font:minor-bidi;
  423.         mso-font-kerning:1.0pt;}
  424. </style>
  425. <![endif]-->



  426. <!--StartFragment-->

  427. <p class="MsoNormal" align="left"><!--[if !supportLists]--><span lang="EN-US">1. </span><!--[endif]--><span lang="EN-US">C:<o:p></o:p></span></p>

  428. <p class="MsoNormal" align="left"><!--[if !supportLists]--><span lang="EN-US">2. </span><!--[endif]--><span lang="EN-US">cd C:\"Program Files
  429. (x86)"\IntelSWTools\openvino\deployment_tools\demo<o:p></o:p></span></p>

  430. <p class="MsoNormal" align="left"><!--[if !supportLists]--><span lang="EN-US">3. </span><!--[endif]--><span lang="EN-US">.\demo_squeezenet_download_convert_run.bat
  431. –d MYRIAD<o:p></o:p></span></p>

  432. <!--EndFragment-->
复制代码
NCS看作是一个USB供电的GPU,尽管这有些夸大——因为它并不是一个GPU,而且只能用于预测/推理,而不是训练
部署:
如果没有硬件支持如树莓派等来做边缘计算,如果是PC来做的话,应用神经计算棒的意义不太明显,毕竟性能与PC性能差别还是比较大。也可以在PC电脑前加装图像采集卡的高清输入设备输入高质量的图像,后面使用神经计算棒加速验证,执行推理,分类,对象检测等。

        五、测试
硬件组成:笔记本电脑、神经计算棒NCS2、半成品板
软件:运行OpenVINO库的python文件
4.jpg       5.jpg     6.jpg
选了几幅识别比较好的。判断有误还是比较高的,还需要深入提高。
六、总结:
源于平时生产过程的检验,每家电子设备厂家都会有这样的需要,不论是贴片SMT生产线还是人工焊接,人工检查如果能够由计算机识别提醒,会很快的提高工作效率,需要改进的很多,这方面知识是很浅。要搞懂一大堆数学、人工智慧理论、程式撰写方式、系统框架和硬体架构,还得懂得如何建立资料集、训练及优化(加速)模型,难度还是很大的。

0
2020-8-30 22:07:54   评论 分享淘帖

只有小组成员才能发言,加入小组>>

85个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /9 下一条

快速回复 返回顶部 返回列表