Monocular camera focusing distance measuring device, distance measuring method, storage medium and computer
A technology of a distance measuring device and a distance measuring method, which is applied in the directions of measuring device, measuring distance, line-of-sight measurement, etc., can solve the problems of cumbersome calibration and installation work, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] see figure 1 , which shows a focusing and ranging device for a monocular camera in the first embodiment of the present invention, including an optical imaging system, a control system, and an analysis system respectively connected to the optical imaging system and the control system:
[0048] The optical imaging system includes an industrial camera 1, a lens with a focal length adjustment knob and a USB interface. The base of the industrial camera 1 is fixed on a plastic base 5 by screws, and the industrial camera 1 and the lens are interfaced through C / CS threads. docking, the lens with the focal length adjustment knob is used to adjust the imaging resolution of the industrial camera 1, and the industrial camera 1 is connected to the terminal device through the USB interface;
[0049] The control system includes a photoelectric rotary encoder 3 and an embedded control circuit. The photoelectric rotary encoder 3 includes an outer concentric ring, an inner concentric rin...
Embodiment 2
[0064] see image 3 , shows the ranging method in the second embodiment of the present invention, which is applied to the above-mentioned monocular camera focusing and ranging device, and the ranging method includes the following steps S101 to S105:
[0065] S101. Rotate the focusing knob according to a first preset direction, so that the output cable outputs a square wave pulse signal, and calculate the rotation angle data of the photoelectric rotary encoder and all the parameters according to the square wave pulse signal. Change information of the rotation angle data;
[0066] In the specific implementation, after the adjustment of the industrial camera and the adjustable focus lens is completed, the focusing knob of the adjustable focus lens is rotated according to the first preset direction (clockwise), and the output cable of the photoelectric rotary encoder outputs A, B, Z three-way square wave pulse signals to the embedded control circuit, the embedded control circuit ...
Embodiment 3
[0093] The present invention also provides a computer, please refer to Image 6 , shows a computer in a third embodiment of the present invention, including a memory 10, a processor 20, and a computer program 30 stored on the memory 10 and running on the processor 20, and the processor 20 executes The computer program 30 implements the above-mentioned ranging method.
[0094] The memory 10 includes at least one type of storage medium, including flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. The memory 10 may in some embodiments be an internal storage unit of a computer, such as a hard disk of the computer. In other embodiments, the memory 10 may also be an external storage device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), and the like. Further, the memory 10 may also ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


