Font Size: a A A

Development Of Cross Platform Sdk Based On UVC Camera

Posted on:2018-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:R ZhengFull Text:PDF
GTID:2348330542951749Subject:Measuring and Testing Technology and Instruments
Abstract/Summary:PDF Full Text Request
Industrial camera is the foundation of machine vision system,which is mainly used for image acquisition and data transmission in product line.Industrial camera software provide users with a good user interface.In addition to the basic parameters of the industrial camera settings,capture still images or video recording operations,you can also add more complicated image processing operations to analyze and detect the industrial scene and so on.For each operating system has its own corresponding different streaming media processing development framework,cross-platform camera software development work becomes quite complicated.In order to better facilitate software developers to carry out cross-platform development of the camera software,provide a unified interface of the camera SDK is particularly important.In this paper,SCMOS series camera and XCAM series camera with dual output(HDMI and USB)based on UVC protocol are used as the hardware platform.Using the factory design mode and C++ development language,we designed the cross-platform camera SDK for Windows/Mac OS X/Linux.At the same time,using Qt as a development environment,we write the corresponding camera control software on different platforms to test the SDK.Application software developers can perform camera operation in the three platforms by calling the same API,which greatly improving the efficiency of software development.The main features of the SDK are as follows:Video capture module:1)camera hot plug;2)camera model list to obtain;3)camera open or close,real-time video stream display.Camera parameter setting module:1)Capture and resolution:capture pictures or record video,preview or capture resolution switching;2)Exposure and gain:automatic or manual exposure mode switching,target adjustment,exposure time adjustment,gain adjustment;3)White balance:automatic or manual white balance mode switching,color temperature adjustment,R or G or B gain adjustment;4)Color adjustment:color,saturation,brightness,contrast,gamma;5)Power frequency:AC(50Hz)or AC(60Hz)or DC mode switching.At last,the framework and the modules of the camera software are described in detail.The cross-platform control interface of each module of the camera is written and the SDK is successfully used in cross-platform software application of SCMOS and XCAM series cameras.
Keywords/Search Tags:Industrial camera software, Factory design pattern, DirectShow, AVFoundation, V4L2
PDF Full Text Request
Related items