当前位置: 首页 > wzjs >正文

做广告在哪个网站做效果人流最多企业网站设计素材

做广告在哪个网站做效果人流最多,企业网站设计素材,网站域名301,网网站制作开发效果图 重点工具使用流程 CogFindLineTool工具 步骤一:使用找线工具将传感器左边特征给寻找出来; 步骤二:使用找线工具将传感器右边特征给寻找出来; 步骤三:使用找线工具将传感器上边特征给寻找出来; 步骤…

效果图

 

 

 

 

重点工具使用流程

CogFindLineTool工具

步骤一:使用找线工具将传感器左边特征给寻找出来;

 步骤二:使用找线工具将传感器右边特征给寻找出来;

 步骤三:使用找线工具将传感器上边特征给寻找出来;

 步骤四:使用找线工具将传感器下边特征给寻找出来;

CogIntersectLineLineTool工具

步骤一:将左边直线和上直线进行交叉处理;

 步骤二:将右边直线和上直线进行交叉处理;

 步骤三:将左边直线和下直线进行交叉处理;

步骤四:将右边直线和下直线进行交叉处理; 

CogCreateSegmentTool工具

步骤一:将右边直线和上直线进行交叉与左边直线和下直线进行交叉,实现右倾斜进行测量···

 步骤二:将右边直线和上直线进行交叉和右边直线和下直线进行交叉,实现右倾斜进行测量···

CogIntersectSegmentSegmentTool工具

将CogCreateSegmentTool工具1和CogCreateSegmentTool工具2计算两条线段(Segment)的交点坐标,然后计算出传感器所需要的宽高。

传感器脚本

#region namespace imports
using System;
using System.Collections;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Cognex.VisionPro;
using Cognex.VisionPro.ToolBlock;
using Cognex.VisionPro3D;
using Cognex.VisionPro.ImageProcessing;
using Cognex.VisionPro.PMAlign;
using Cognex.VisionPro.CalibFix;
using Cognex.VisionPro.Caliper;
using Cognex.VisionPro.Dimensioning;
#endregionpublic class CogToolBlockAdvancedScript : CogToolBlockAdvancedScriptBase
{#region Private Member Variablesprivate Cognex.VisionPro.ToolBlock.CogToolBlock mToolBlock;private CogDistanceSegmentLineTool width;private CogDistanceSegmentLineTool length;private CogGraphicLabel widthLabel;private CogGraphicLabel lengthLabel;#endregion/// <summary>/// Called when the parent tool is run./// Add code here to customize or replace the normal run behavior./// </summary>/// <param name="message">Sets the Message in the tool's RunStatus.</param>/// <param name="result">Sets the Result in the tool's RunStatus</param>/// <returns>True if the tool should run normally,///          False if GroupRun customizes run behavior</returns>public override bool GroupRun(ref string message, ref CogToolResultConstants result){width = new CogDistanceSegmentLineTool();length = new CogDistanceSegmentLineTool();widthLabel = new CogGraphicLabel();lengthLabel = new CogGraphicLabel();// To let the execution stop in this script when a debugger is attached, uncomment the following lines.// #if DEBUG// if (System.Diagnostics.Debugger.IsAttached) System.Diagnostics.Debugger.Break();// #endif// Run each tool using the RunTool functionforeach(ICogTool tool in mToolBlock.Tools)mToolBlock.RunTool(tool, ref message, ref result);width = mToolBlock.Tools["CogDistanceSegmentLineTool_width"]as CogDistanceSegmentLineTool;length = mToolBlock.Tools["CogDistanceSegmentLineTool_length"]as CogDistanceSegmentLineTool;widthLabel.Color = CogColorConstants.Green;lengthLabel.Color = CogColorConstants.Green;widthLabel.SetXYText(200, 200, "width:" + width.Distance.ToString("0.00"));lengthLabel.SetXYText(200, 250, "length:" + length.Distance.ToString("0.00"));return false;}#region When the Current Run Record is Created/// <summary>/// Called when the current record may have changed and is being reconstructed/// </summary>/// <param name="currentRecord">/// The new currentRecord is available to be initialized or customized.</param>public override void ModifyCurrentRunRecord(Cognex.VisionPro.ICogRecord currentRecord){}#endregion#region When the Last Run Record is Created/// <summary>/// Called when the last run record may have changed and is being reconstructed/// </summary>/// <param name="lastRecord">/// The new last run record is available to be initialized or customized.</param>public override void ModifyLastRunRecord(Cognex.VisionPro.ICogRecord lastRecord){mToolBlock.AddGraphicToRunRecord(widthLabel, lastRecord, "CogImageConvertTool1.OutputImage", "script");mToolBlock.AddGraphicToRunRecord(lengthLabel, lastRecord, "CogImageConvertTool1.OutputImage", "script");}#endregion#region When the Script is Initialized/// <summary>/// Perform any initialization required by your script here/// </summary>/// <param name="host">The host tool</param>public override void Initialize(Cognex.VisionPro.ToolGroup.CogToolGroup host){// DO NOT REMOVE - Call the base class implementation first - DO NOT REMOVEbase.Initialize(host);// Store a local copy of the script hostthis.mToolBlock = ((Cognex.VisionPro.ToolBlock.CogToolBlock)(host));}#endregion}

http://www.dtcms.com/wzjs/19875.html

相关文章:

  • 曰本真人做爰网站发广告去哪个平台
  • 网站宣传怎样做不违法林云seo博客
  • 企业网站功能全媒体运营师报名入口
  • 做思路导图的网站manage网站建设需求模板
  • 专业做设计的网站关键词上首页的有效方法
  • 代做论文网站东莞网站推广方案
  • 新手建设网站的步骤神秘网站
  • 网站设计套餐app拉新推广接单平台
  • 微做网站湘潭网站seo磐石网络
  • 成都市微信网站建设百度网站官网
  • 广州站电话传统营销与网络营销的区别
  • 做网站的公司有哪些岗位百度站长平台登录
  • 网站建1设公司免费制作网页平台
  • 找人 做网站 一般注意潍坊网站收录
  • 在哪些网站做推广比较好如何创建自己的网址
  • 辽源网站seo世界十大网站排名出炉
  • 培训教育学校的网站建设方案武汉服装seo整站优化方案
  • pc 网站建设青岛网页搜索排名提升
  • 在线客服接入网站腾讯企点怎么注册
  • 域名注册商推荐沈阳网站seo公司
  • 下载网站建设自媒体运营
  • 鞍山市建设工程安全生产监督管理站网站100个裂变营销案例
  • 天津网站建设培训seo外链工具
  • 淄博网上商城制作简述seo和sem的区别与联系
  • 怎么刷网站权重网站推广入口
  • asp网站开发pdf广州最近爆发什么病毒
  • wordpress全站开启ssl辽宁网站建设
  • 网站开发的形式是百度开户资质
  • 企业彩铃制作网站如何做好网络营销
  • 引航博景做的网站网络推广是啥