The invention discloses a vision software system and an application method thereof. The system includes the main system and the plug-in system, which includes the function plug-in, the plug-in manager and the interface class. The function plug-in inherits the interface class, realizes the plug-in's own function by rewriting the interface, and then compiles it into the form of dynamic library file. The plug-in manager is defined in the way of class. The method includes: providing the user interface to display the control of the project configuration form and at least one functional plug-in; generating the instantiated object of the plug-in and registering it to the plug-in manager for retrieval when the control of the functional plug-in is detected to be dragged into the project configuration form; realizing the parameter setting of the functional plug-in when the control of the functional plug-in is detected to be clicked. This system and method can realize the efficient parallel development of software system, and can meet the needs of users by adding functional plug-ins to configure project engineering, which greatly improves the efficiency of software development and application.
【技术实现步骤摘要】
视觉软件系统及其应用方法
本专利技术涉及软件开发
,尤其涉及一种视觉软件系统及其应用方法。
技术介绍
传统视觉软件开发是基于客户需求进行定向功能开发,软件各功能模块与系统耦合度高,导致软件系统维护复杂且功能升级困难。对算法工程师来说,较多时间会浪费到系统的流程实现,而不能专心于视觉算法库的编写实现。对应用工程师来说,因传统视觉系统功能组合单一,很难在同一软件系统上根据实际项目需求自由组建不同功能模块进而满足不同的项目需求。
技术实现思路
本专利技术要解决的技术问题是提供一种视觉软件系统及其应用方法,能够根据实际项目需求自由组建不同功能模块进而满足不同的项目需求。为解决上述技术问题,本专利技术采用如下技术方案:一方面,本专利技术提出一种视觉软件系统。所述视觉软件系统包括主系统和插件系统,插件系统包括功能插件、插件管理器和接口类,其中,功能插件继承所述接口类,通过重写接口实现插件自身的功能,然后被编译为动态库文件形式;插件管理器以类的方式定义。可选地,对于所述视觉软件系统,主系统 ...
【技术保护点】
1.一种视觉软件系统,其特征在于,包括主系统和插件系统,插件系统包括功能插件、插件管理器和接口类,其中,/n功能插件继承所述接口类,通过重写接口实现插件自身的功能,然后被编译为动态库文件形式;/n插件管理器以类的方式定义。/n
【技术特征摘要】
1.一种视觉软件系统,其特征在于,包括主系统和插件系统,插件系统包括功能插件、插件管理器和接口类,其中,
功能插件继承所述接口类,通过重写接口实现插件自身的功能,然后被编译为动态库文件形式;
插件管理器以类的方式定义。
2.如权利要求1所述的视觉软件系统,其特征在于,主系统包括用户界面层和工作任务执行层,其中,
用户界面层用于界面显示和用户动作交互;
工作任务执行层用于视觉软件对待检测物体扫描获取数据。
3.如权利要求1所述的视觉软件系统,其特征在于,所述主系统与所述插件系统通过信号槽机制进行数据交互。
4.如权利要求1所述的视觉软件系统,其特征在于,所述插件管理器与所述功能插件之间通过信号槽机制进行数据交互。
5.如权利要求1所述的视觉软件系统,其特征在于,所述接口类包括多种纯虚函数。
6.如权利要求1所述的视觉软件系统,其特征在于,插件系统还包括元数据类,用于实现各个功能插件之间的数据交互。
7...
【专利技术属性】
技术研发人员:周志勇,朱虹,宋明岑,
申请(专利权)人:珠海格力智能装备有限公司,珠海格力电器股份有限公司,
类型:发明
国别省市:广东;44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。