一种自动检测摄像设备的方法和检测设备
申请公布号:CN103747242B
申请号:CN201310733287.4
申请日期:2013.12.23
申请公布日期:2016.05.11
发明人:肖希哲;寇龙飞
分类号:H04N17/00(2006.01)I;H04N5/232(2006.01)I
主分类号:H04N17/00(2006.01)I
代理人:申健
地址:300467 天津市滨海新区天津生态城动漫中路126号动漫大厦B1区二层201-427
摘要:本发明的实施例提供一种自动检测摄像设备的方法和检测设备,涉及计算机领域,能够在与摄像设备断开连接时自动检测摄像设备是否重新连接,检测到摄像设备重新连接后直接调用摄像设备继续采集图像,可以简化操作、节约时间。具体方案为:在摄像应用程序运行时,按照预设的时间间隔周期性的检测摄像设备的连接状态,连接状态包括已连接状态或连接断开状态;若检测到摄像设备处于连接断开状态,保持摄像应用程序的运行,继续检测摄像设备的连接状态;若检测到摄像设备处于已连接状态,则通过摄像应用程序控制摄像设备继续采集图像。本发明用于使用外接摄像设备采集图像。
主权项:一种自动检测摄像设备的方法,其特征在于,包括:在摄像应用程序运行时,按照预设的时间间隔周期性的检测所述摄像设备的连接状态,所述连接状态包括已连接状态或连接断开状态;若检测到所述摄像设备处于所述连接断开状态,保持所述摄像应用程序的运行,继续检测所述摄像设备的连接状态;若检测到所述摄像设备处于所述已连接状态,则通过所述摄像应用程序控制所述摄像设备继续采集图像;所述方法还包括:从检测到所述摄像设备断开连接的时刻开始计时;若连续检测到所述摄像设备处于连接断开状态的时长超过第二预设时间后检测到所述摄像设备处于所述连接断开状态,则发送通知消息提醒用户关闭所述摄像应用程序;若连续检测到所述摄像设备处于连接断开状态的时长超过第三预设时间后检测到所述摄像设备处于所述连接断开状态,则关闭所述摄像应用程序;所述第三预设时间大于所述第二预设时间。
Retardation element, liquid crystal display device, and projection display device
Lift device and lift system for substrate loading platform
Optimized arrangement of triazole particles
Aberration correction device and laser microscope
Projection optical system and image projection apparatus including the same
Temperature control of components on an optical device
Optical element, optical system, and method of manufacturing optical element
Method for buried service detection using a mains socket
Direct arrival signature estimates
Performance improvements for measurement of opportunity geolocation/navigation systems
Altitude detecting unit, loading/driving apparatus, and altitude detecting method
Magnetic resonance imaging apparatus and multi-echo multi-contrast imaging method
Liquid nitrogen cooled MRI coils and coil arrays
Hall sensor device and a manufacture method thereof
Monitoring system for electrical equipment failure and method