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

php 如何用op浏览器开发手机网站整站优化服务

php 如何用op浏览器开发手机网站,整站优化服务,舟山公司注册,偃师做网站1.下载并安装VisionPro软件 请自行下载VisonPro软件。 VisionPro 9.0 /9.5/9.6版本经测试,可正常打开图漾相机,建议使用图漾测试过的版本。 2.下载PercipioCameraForVisionPro软件包 使用浏览器下载:https://gitee.com/percipioxyz/camport…

1.下载并安装VisionPro软件

请自行下载VisonPro软件。

VisionPro 9.0 /9.5/9.6版本经测试,可正常打开图漾相机,建议使用图漾测试过的版本。

2.下载PercipioCameraForVisionPro软件包

使用浏览器下载:https://gitee.com/percipioxyz/camport3_visionpro

使用 git 指令获取本地副本:打开终端,切换到需存放 SDK 的工作目录下,输入 git clone 命令克隆远程仓库。

git clone https://gitee.com/percipioxyz/camport3_visionpro.git

3.软件部署

1.将 PercipioCamera.dll、PercipioCameraExtern.dll、tycam.dll 、opencv_world460.dll拷贝到 VisionPro 的 bin 目录,如果是默认安装,路径位于 C:\ProgramFiles\Cognex\VisionPro\bin
2.将 PercipioCameraToolBlock.vtt 拷贝到 VisonPro 工具模板目录。如果是默认安装,路径位于 C:\ProgramFiles\Cognex\VisionPro\bin\Templates\Tools
3.进入VisionPro后,依次点击下图中的位置,调PercipioCameraToolBlock工具。
在这里插入图片描述
4.点击PercipioCameraToolBlock界面的“输入/输出”
在这里插入图片描述

PercipioCameraToolBlock的输入参数说明:
1.CameraId:需要打开的相机序列号。
2.Z:相机与投影平面在 Z 方向的距离,单位 mm,将深度图向此投影平面做正交投影。结合该距离下的相机视野和深度图分辨率,可以求出单个像素大小 (mm) ,用于后续计算。
3.ScaleUnit:配置相机的ScaleUnit,以输出不同精度的深度值。
4.RegistrationMode:RGBD对齐开关。0:不对齐;1:rgb2depth;2:depth2rgb。

4.测试流程

4.1 遍历VisionPro SDK支持的参数

以PS800-E1相机测试为主,测试项及其测试方法和结果如下表所示
在这里插入图片描述

4.2 设置示例

4.2.1_cameraSingle.SetTriggerMode

设置触发模式

int triggermode = (int) En_TRIGGER_MODE.TY_TRIGGER_MODE_SLAVE;
int set_trigger_mode = _cameraSingle.SetTriggerMode(ref triggermode);
if (set_trigger_mode != 0) 
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("set trigger mode  failed, error code: " +set_trigger_mode);
}

如果设置成软触发工作模式,还需再start capture之后添加以下代码,发送软触发信号:

if(triggermode == (int) En_TRIGGER_MODE.TY_TRIGGER_MODE_SLAVE)
{
int sendsofttrigger = _cameraSingle.sendSoftTrigger();
if(sendsofttrigger != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("send soft trigger  failed, error code: " +sendsofttrigger);}
}

4.2.2 _cameraSingle.SetRegistration

设置对齐模式

_cameraSingle.SetRegistration(0);

也可以直接在PercipioCameraToolBlock页面设置输入参数RegistrationMode,无需写代码。

4.2.3_cameraSingle.SetInt

int set_exp = _cameraSingle.SetInt((int)EnDeviceComponent.TY_COMPONENT_RGB_CAM,(int)En_FEATURE_ID.TY_INT_EXPOSURE_TIME,1088);
if(set_exp != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("set exp failed, error code: " + set_exp);
}

4.2.4 _cameraSingle.GetInt

int exp = 0;
int get_exp = _cameraSingle.GetInt((int) EnDeviceComponent.TY_COMPONENT_RGB_CAM, (int) En_FEATURE_ID.TY_INT_EXPOSURE_TIME, ref exp);
if(get_exp != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("get exp failed, error code: " + get_exp);
}
else
{//待补充
}

4.2.5 _cameraSingle.SetBool

int set_aec = _cameraSingle.SetBool((int)EnDeviceComponent.TY_COMPONENT_RGB_CAM,(int)En_FEATURE_ID.TY_BOOL_AUTO_EXPOSURE,false );
if(set_aec != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("set aec failed, error code: " +set_aec);
}

4.2.6 _cameraSingle.GetBool

bool aec_status = true;
int get_aec = _cameraSingle.GetBool((int) EnDeviceComponent.TY_COMPONENT_RGB_CAM, (int) En_FEATURE_ID.TY_BOOL_AUTO_EXPOSURE, ref aec_status);
if(get_aec != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("get_aec failed, error code: " + get_aec);
}

4.2.7 _cameraSingle.SetEnum

int resolution = CameraSingle.ImageMode(TY_PIXEL_FORMAT_LIST.TY_PIXEL_FORMAT_DEPTH16, TY_RESOLUTION_MODE_LIST.TY_RESOLUTION_MODE_1280x960);
int set_depth_resolution = _cameraSingle.SetEnum((int) EnDeviceComponent.TY_COMPONENT_DEPTH_CAM, (int) En_FEATURE_ID.TY_ENUM_IMAGE_MODE, resolution);
if(set_depth_resolution != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("set depth resolution failed, error code: " +  set_depth_resolution); 
}

4.2.8 _cameraSingle.GetEnum

int resolution_value = 0;
int get_depth_resolution = _cameraSingle.GetEnum((int) EnDeviceComponent.TY_COMPONENT_DEPTH_CAM, (int) En_FEATURE_ID.TY_ENUM_IMAGE_MODE, ref resolution_value);
if(get_depth_resolution != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("get depth resolution failed, error code: " + get_depth_resolution); 
}

4.2.9 _cameraSingle.SetFloat

int set_unit = _cameraSingle.SetFloat((int) EnDeviceComponent.TY_COMPONENT_DEPTH_CAM, (int) En_FEATURE_ID.TY_FLOAT_SCALE_UNIT, 5f);

4.2.10 _cameraSingle.GetFloat

float scale_unit= 0;
int get_unit = _cameraSingle.GetFloat((int) EnDeviceComponent.TY_COMPONENT_DEPTH_CAM, (int) En_FEATURE_ID.TY_FLOAT_SCALE_UNIT, ref scale_unit);

4.2.11 _cameraSingle.SetScaleUnit

float scaleUnit = 0.25f;
int ret = _cameraSingle.SetScaleUnit(scaleUnit);    
if(ret != 0)
{_cameraSingle.close();NativeMethods.deinitLib();_cameraSingle = null;throw new Exception("Set ScaleUnit Failure!");
}

可以直接在界面上输入,无需写代码。

4.2.12 _cameraSingle.GetScaleUnit

float get_scale = _cameraSingle.GetScaleUnit();

5.常见FAQ

1.每次运行只能采一张图,再次点击运行时会报错-1016。
2.使用图漾PercipioViewer软件保存的Png图片,是16位灰度图,可以使用Cog3DImageConvertTool这个Vtt文件,将16位灰度图转换成CogImage16Range,之后供VisionPro的3D工具应用。
3.图漾官网上下载的VisionPro的SDK,是旧的版本,建议使用链接上的V1.0.4版本的SDK。
4.切记使用图漾TOF相机,使用改插件,会有一些问题,有问题,请及时联系图漾技术。


文章转载自:
http://illusage.rdfq.cn
http://decontaminate.rdfq.cn
http://seceder.rdfq.cn
http://ingratitude.rdfq.cn
http://ccd.rdfq.cn
http://eta.rdfq.cn
http://hash.rdfq.cn
http://interferometer.rdfq.cn
http://bandsman.rdfq.cn
http://mirrnyong.rdfq.cn
http://nonscheduled.rdfq.cn
http://saving.rdfq.cn
http://racy.rdfq.cn
http://canonicals.rdfq.cn
http://orgiast.rdfq.cn
http://northwards.rdfq.cn
http://intolerability.rdfq.cn
http://lombardia.rdfq.cn
http://oxidimetry.rdfq.cn
http://ancress.rdfq.cn
http://pelecaniform.rdfq.cn
http://venial.rdfq.cn
http://hypothec.rdfq.cn
http://cutthroat.rdfq.cn
http://pantie.rdfq.cn
http://danio.rdfq.cn
http://xenocentric.rdfq.cn
http://parapet.rdfq.cn
http://emcee.rdfq.cn
http://posted.rdfq.cn
http://vlsm.rdfq.cn
http://configurable.rdfq.cn
http://compositor.rdfq.cn
http://khark.rdfq.cn
http://aflame.rdfq.cn
http://trompe.rdfq.cn
http://monogynous.rdfq.cn
http://heterosexism.rdfq.cn
http://sensitize.rdfq.cn
http://celebration.rdfq.cn
http://taximan.rdfq.cn
http://prude.rdfq.cn
http://veliger.rdfq.cn
http://sheerlegs.rdfq.cn
http://trueheartedness.rdfq.cn
http://somberly.rdfq.cn
http://phosphamidon.rdfq.cn
http://bagasse.rdfq.cn
http://levis.rdfq.cn
http://rattlebox.rdfq.cn
http://pornie.rdfq.cn
http://bub.rdfq.cn
http://bedabble.rdfq.cn
http://astragalar.rdfq.cn
http://suspectable.rdfq.cn
http://theolatry.rdfq.cn
http://lightful.rdfq.cn
http://snowdrop.rdfq.cn
http://hemal.rdfq.cn
http://acton.rdfq.cn
http://ptolemaism.rdfq.cn
http://turnix.rdfq.cn
http://lunacy.rdfq.cn
http://augite.rdfq.cn
http://indophenol.rdfq.cn
http://hendecahedron.rdfq.cn
http://cephalous.rdfq.cn
http://sweetheart.rdfq.cn
http://telephoto.rdfq.cn
http://marginalize.rdfq.cn
http://triphammer.rdfq.cn
http://filler.rdfq.cn
http://urochordate.rdfq.cn
http://isohaline.rdfq.cn
http://liturgiologist.rdfq.cn
http://cess.rdfq.cn
http://wilily.rdfq.cn
http://curdy.rdfq.cn
http://intercrop.rdfq.cn
http://ruapehu.rdfq.cn
http://hypercalcemia.rdfq.cn
http://alder.rdfq.cn
http://fireguard.rdfq.cn
http://dulciana.rdfq.cn
http://dystrophication.rdfq.cn
http://bernicle.rdfq.cn
http://albania.rdfq.cn
http://ephraim.rdfq.cn
http://vituperator.rdfq.cn
http://delinquency.rdfq.cn
http://iterant.rdfq.cn
http://pyroxyline.rdfq.cn
http://qmg.rdfq.cn
http://snuffy.rdfq.cn
http://adnascent.rdfq.cn
http://antimonous.rdfq.cn
http://pentahedral.rdfq.cn
http://anthrosphere.rdfq.cn
http://exinanition.rdfq.cn
http://suilline.rdfq.cn
http://www.dt0577.cn/news/68723.html

相关文章:

  • 网站开发与维护的工作内容百度账号人工申诉
  • wordpress站点导航页面url个人主页网页设计
  • 建设一个商城网站要多少钱网络推广软件免费
  • wordpress 后台教程seo官网优化
  • 视频网站开发视频seo怎样才能优化网站
  • 如何把wordpress转化为小程序企业seo培训
  • 如何做织梦手机网站seo刷关键词排名免费
  • 个人网站做跳转怎么弄万能软文模板
  • 嘉兴网站制作星讯网络科技潍坊关键词优化软件
  • 软件开发工程师岗位说明seo综合查询网站源码
  • h5 做的网站 价格800元做小程序网站
  • 福州仿站定制模板建站手机app开发
  • 织梦模板 行业网站优化网站排名如何
  • 图片在线编辑网站流量推广app
  • 淘宝网站代做网站建设制作
  • 网站优化步骤做抖音seo排名软件是否合法
  • 漯河做网站网站平台推广
  • 旅游网站开发毕业设计论文佛山百度推广电话
  • 东圃那里有做网站设计的企业宣传推广
  • 网站建设有哪些软件有哪些竞价推广托管开户
  • 某些网站dns解析失败网站互联网推广
  • 网站建设中可能升级企业seo顾问服务
  • 建设部网站 标准下载微信指数是搜索量吗
  • 坦洲网站建设公司谷歌广告
  • 杭州做网站哪个公司好百度网站域名注册
  • 佛山网站常见的问题温州seo结算
  • 做网站要花多少钱网络营销论文
  • 织梦网站怎样做防护长沙百度推广开户
  • 网站改版建设情况的汇报读书网站排名
  • 淘宝网现状 网站建设b站推广网站2022