Abstract

Aiming at the problems of low efficiency, difficult debugging and poor reusability of program in developing vision program by using text editing, a graphical program development technology is developed for vision program development. In this paper, the image processing algorithms and functions in the OpenCV vision library are studied and encapsulated according to the IEC61131-3 Function block specification. The interface model and program model of vision Function block are established. According to these two models, the vision Function block interface and the vision Function block program are described by using XML language, and the programming specification and instruction set of the vision Function block are established. The editing and compiling algorithm of the Function block program is researched to realize the configuration development environment and operate environment of the vision Function block program by using C plus plus language. Finally, the function of the software is tested and verified.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call