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

网站用视频做背景免费seo提交工具

网站用视频做背景,免费seo提交工具,一个具体网站的seo优化,delphi网站开发效果图 重点工具使用流程 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/113077.html

相关文章:

  • 商丘网站建设优化推广徐州百度推广电话
  • 重庆建设网站搜索优化软件
  • 查网站的建站系统app推广方案策划
  • 住房和城乡建设部网站注册进度相亲网站排名前十名
  • 本人找做钢筋笼的活网站上海网站推广服务公司
  • 注册建筑公司名字大全惠州seo怎么做
  • 网站隐藏网址后缀名视频号下载器手机版
  • 赣州企业网站建设公司推广模式包括哪些模式
  • 设计中国第一架飞机seo优化几个关键词
  • 国内b2b网站大全排名百度知道首页官网
  • 网站建设大数据semiconductor
  • 制作一个网站怎么架构广告公司简介
  • 长沙网站维护北京seo优化方案
  • 网站建设栏目设计seo网站推广是什么意思
  • 做门窗接活的网站长尾关键词挖掘爱站工具
  • 做ppt必备网站广告公司推广方案
  • 专门做视频的网站吗如何去除痘痘有效果
  • 想学做网站可以在哪学网络seo哈尔滨
  • 网站推荐靠谱的能长久看东莞做网站排名优化推广
  • 用新浪云做网站百度网盘网页登录入口
  • 外贸soho怎么建网站百度搜索风云榜小说总榜
  • 自学编程的网站谷歌搜索引擎免费入口2022
  • wordpress 装主题电脑突然多了windows优化大师
  • 茶叶flash网站软文营销案例分析
  • 大亚湾住房规划建设局网站微信怎么推广
  • 杨颖做的车网站一个新的app如何推广
  • 日照市机场投资建设有限公司网站经典营销案例
  • 网站建设 广州广告优化师适合女生吗
  • 服装网站建设运营规划seo顾问赚钱吗
  • 宁波网站建设在线公司网络推广