Method for checking frame rate of camera by utilizing checking equipment and checking equipment

By using the verification equipment to compare the shooting rotation angles of the rotating device and the camera, it solves the problem of difficulty in verifying high frame rate cameras in the existing technology, achieves accurate verification and abnormal identification of high frame rate cameras, and provides reliable Data support.

CN118842901APending Publication Date: 2024-10-25WUXI INSPECTION TESTING & CERTIFICATION INST
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410816456.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively verify the frame rate of high frame rate cameras, especially when the frame rate exceeds 1,000 frames, and cannot meet the testing needs of high frame rate cameras.

Method used

Use calibration equipment to obtain the nominal frame rate of the camera, set the reference rotation angle and speed of the rotation device, make the rotation device rotate, and use the camera to capture the rotation picture to determine the actual rotation angle of the two adjacent frames of images and the reference rotation angle. The difference value is used to determine whether the actual frame rate of the camera matches the nominal frame rate.

Benefits of technology

It achieves accurate calibration of cameras with different frame rates, can quickly identify image anomalies, provides traceable data support, and meets the calibration needs of high frame rate cameras.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118842901A_ABST
    Figure CN118842901A_ABST
Patent Text Reader

Abstract

The invention relates to a method for checking the frame rate of a camera by utilizing checking equipment and the checking equipment. The calibration equipment comprises a rotating device, and is characterized in that the method comprises the following steps: acquiring a nominal frame rate FC of the camera to be calibrated; based on the nominal frame rate FC, setting a reference rotation angle theta 0 and a reference rotation speed V0 of the rotation device; rotating the rotating device at the reference rotating speed V0, and shooting a rotating picture of the rotating device by using the camera; determining an actual rotation angle theta T of the rotation device corresponding to two adjacent frames of images in the rotation picture; comparing the actual rotation angle theta T with the reference rotation angle theta 0; and determining a difference value F between the nominal frame rate FC and the actual frame rate FT of the camera based on the comparison result. According to the invention, the actual frame rate FT of the camera can be accurately obtained, and the verification requirements of cameras with different frame rates can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technology, and in particular to a method for verifying the frame rate of a camera by using a verification device and a verification device. Background Art

[0002] A camera is an optical instrument used to capture images. Its working principle is to convert optical image signals into electrical signals through a camera device (such as CCD or CMOS, etc.), and then process and adjust the electrical signals through various circuits. Finally, the standard signal obtained can be recorded, transmitted and displayed. Cameras have the advantages of high reliability, portability, and environmental adaptability, and are widely used in many fields such as visual analysis, non-contact measurement, and security monitoring.

[0003] Frame rate is the core parameter of a camera. It means the number of frames of continuous images that a camera can capture or display within 1 second. It measures the camera's ability to capture and transmit how many static images per second. The frame rates of existing cameras generally range from a dozen frames to hundreds of thousands of frames per second. In order to verify and test the frame rate of a camera, the test method in GA / T1128-2013 "Measurement Method for High-Definition Cameras for Security Video Surveillance" is usually used for testing. However, this test method is difficult to meet the test needs of cameras with high frame rates (e.g., more than 1,000 frames).

[0004] Therefore, this field needs a new technical solution to solve the above problems. Summary of the invention

[0005] In order to solve or improve to a certain extent the technical problem that it is difficult to calibrate the frame rate of a high frame rate camera in the prior art, the present invention provides a method for calibrating the frame rate of a camera using a calibration device. The calibration device includes a rotating device, characterized in that the method includes: obtaining the nominal frame rate F of the camera to be calibrated C Based on the nominal frame rate F C , set the reference rotation angle θ of the rotating device 0 and the reference rotation speed V 0 ; With the reference rotation speed V 0 Rotate the rotating device and use the camera to shoot the rotating picture of the rotating device; determine the actual rotation angle θ of the rotating device corresponding to two adjacent frames of images in the rotating picture T ; The actual rotation angle θ T The reference rotation angle θ 0 Determine the nominal frame rate F based on the comparison result C and the actual frame rate F of the camera T The difference between them is △F.

[0006] Those skilled in the art will appreciate that the method for verifying the frame rate of a camera using a verification device of the present invention first obtains the nominal frame rate F of the camera to be verified. C . "Nominal frame rate F C " is the frame rate specified by the manufacturer in the product description or technical standard, which is used to indicate the number of image frames that the camera can process or display per second when working normally. Then, based on the nominal frame rate F C Set the reference rotation angle θ of the rotating device 0 and the reference rotation speed V 0 , so that the rotation state of the rotating device can be consistent with the nominal frame rate F C Then, the rotating device is controlled to rotate at the reference speed V 0 Rotate and use a camera to capture the rotating image of the rotating device. Determine the actual rotation angle θ of the rotating device corresponding to two adjacent frames in the rotating image T , and the actual rotation angle θ T The preset reference rotation angle θ 0 Finally, based on the comparison result, the nominal frame rate F is determined. C and the actual frame rate of the camera F T The difference between △F can be used to determine the actual frame rate F of the camera. T Is it consistent with the nominal frame rate F C Therefore, the present invention adjusts the actual rotation angle θ of the rotating device captured by the camera. T and the preset reference rotation angle θ 0 By comparison, the actual frame rate F of the camera can be accurately obtained. T , which meets the calibration requirements of cameras with different frame rates. In addition, when the actual rotation angle θ T and the reference rotation angle θ 0 When discrepancies occur, it is also possible to quickly and accurately determine which image has the abnormality, thus providing traceable data support for subsequent analysis and repairs.

[0007] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, the reference rotation speed V 0 Calculate according to the following formula: Among them, V 0 The unit is r / min, θ 0 The unit is °, F C The unit is fps. Through the above settings, the reference rotation speed V can be easily obtained. 0 , to meet different nominal frame rates F C The camera calibration needs.

[0008] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, the reference rotation angle θ 0 The value of is a positive integer factor of 360. Through the above settings, the camera can obtain images with the same number of frames in each rotation cycle of the rotating device, which is convenient for subsequent calculation and analysis.

[0009] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, the reference rotation angle θ 0 The value range is 1-10.

[0010] In the preferred technical solution of the method for verifying the frame rate of a camera using a verification device, the actual rotation angle θ of the rotating device corresponding to two adjacent frames of images in the rotating picture is determined. T The steps include: obtaining an image group of the rotating picture within a preset time period; obtaining an actual rotation angle θ of the rotating device corresponding to two adjacent frames of images in the image group T By selecting a continuous image group in the rotating picture within a preset time, and calculating the actual rotation angle θ of the rotating device in the corresponding two adjacent frames of the image T The analysis can be simplified.

[0011] In the preferred technical solution of the method for verifying the frame rate of a camera using a verification device, when the actual rotation angle θ T Equal to the reference rotation angle θ 0 When the actual rotation angle θ T Greater than the reference rotation angle θ 0 , it is determined that frame loss occurs in the image.

[0012] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, when (the reference rotation angle θ 0 - preset angle threshold)≤the actual rotation angle θ T ≤(the reference rotation angle θ 0 + the preset angle threshold), determine that the corresponding image is normal; when the actual rotation angle θ T >(the reference rotation angle θ 0 + the preset angle threshold), it is determined that frame loss occurs in the image.

[0013] In the preferred technical solution of the method for verifying the frame rate of a camera using a verification device, the rotating device has a turntable, and the rotating picture is the turntable rotating at the reference rotation speed V 0 The picture when it is rotating. The setting of the turntable can provide the camera with a suitable shooting object.

[0014] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, a center mark point and an angle mark point are provided on the turntable, so that the actual rotation angle θ can be conveniently and accurately obtained. T The specific value of .

[0015] In the preferred technical solution of the method for calibrating the frame rate of a camera using a calibration device, the actual rotation speed V of the rotating device is T The range is 10r / min-30000r / min to meet the calibration needs of cameras with different frame rates; and / or the rotating device is configured to the actual rotation speed V T The relative expanded uncertainty is 10 -4 , and / or the actual rotation speed V T The stability is 10 -5 to ensure the reliability and stability of the rotating device.

[0016] In order to solve or improve to some extent the technical problem that it is difficult to calibrate the frame rate of a high frame rate camera in the prior art, the present invention provides a calibration device, which includes a rotating device and performs the method for calibrating the frame rate of a camera according to any one of the above items. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings, in which:

[0018] Figure 1 It is a structural schematic diagram of an embodiment of a verification device of the present invention;

[0019] Figure 2 It is a flow chart of a method for verifying the frame rate of a camera using a verification device according to the present invention;

[0020] Figure 3 It is a flow chart of an embodiment of a method for verifying the frame rate of a camera using a verification device according to the present invention;

[0021] Figure 4 is a schematic diagram of an embodiment of an image group in a method for verifying a frame rate of a camera using a verification device according to the present invention;

[0022] Figure 5 It is a partially enlarged schematic diagram of an embodiment of an image group in a method for verifying the frame rate of a camera by using a verification device according to the present invention.

[0023] List of reference numerals:

[0024] 1. Calibration equipment; 11. Rack; 12. Ceiling; 13. Shade curtain; 14. Platform; 15. Rotating device; 151. Driving motor; 152. Turntable; 1521. Center mark point; 1522. Angle mark point; 1522a. Reference angle mark point; 1522b. Actual angle mark point; 16. Adjustable light source; 17. Camera bracket; 18. Computer; 2. Camera. DETAILED DESCRIPTION

[0025] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0026] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "front", "back", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be understood as a limitation on the present invention.

[0027] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installation", "setting", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, an indirect connection through an intermediate medium, or the internal connection of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0028] In order to solve or improve to some extent the technical problem that it is difficult to calibrate the frame rate of a high frame rate camera in the prior art, the present invention provides a method for calibrating the frame rate of a camera 2 using a calibration device 1. The calibration device 1 includes a rotating device 15. The method includes: obtaining a nominal frame rate F of the camera 2 to be calibrated. C (Step S1); Based on the nominal frame rate F C , set the reference rotation angle θ of the rotating device 15 0 and the reference rotation speed V 0 (Step S2); Rotate at a reference speed V 0 Rotate the rotating device 15, and use the camera 2 to shoot the rotating picture of the rotating device 15 (step S3); determine the actual rotation angle θ of the rotating device 15 corresponding to two adjacent frames of images in the rotating picture T (Step S4); The actual rotation angle θ T With reference rotation angle θ 0Perform comparison (step S5); determine the nominal frame rate F based on the comparison result C and the actual frame rate F of camera 2 T The difference ΔF between them (step S6).

[0029] Figure 1 Schematic diagram of the structure of an embodiment of the verification device 1 of the present invention. Figure 1 As shown, in one or more embodiments, the verification device 1 of the present invention includes components such as a frame 11, a platform 14, a rotating device 15, an adjustable light source 16 and a computer 18.

[0030] like Figure 1 As shown, in one or more embodiments, the frame 11 includes columns (not marked in the figure) arranged on the left and right sides of the platform 14 relative to each other and a cross bar (not marked in the figure) located between the columns. A support rod (not marked in the figure) extending approximately in the front-to-back direction is provided at the bottom of each column. The cross bar extends approximately in the left-right direction and is located above the platform 14. The provision of the cross bar can increase the structural stability of the frame 11. It should be noted that the number and arrangement of the cross bars can be adjusted according to actual needs. Furthermore, the frame 11 can also adopt other suitable structures as long as it can provide a suitable shooting environment for the verification camera. In addition, the frame 11 can be made of suitable metal materials (such as stainless steel, aluminum alloy, etc.) so that it has good mechanical strength and rigidity.

[0031] like Figure 1 As shown, in one or more embodiments, a ceiling 12 extending substantially in the horizontal direction is provided on the top of the frame 11. The ceiling 12 has a substantially rectangular shape, so that it has a regular shape. Alternatively, the ceiling 12 can also be set to a square, a circle or other suitable shape. The material of the ceiling 12 can be but is not limited to aluminum alloy, plastic, glass, etc.

[0032] like Figure 1 As shown, in one or more embodiments, a movable shade curtain 13 is provided at the circumferential edge of the ceiling 12. Specifically, when the shade curtain 13 is unfolded, it can effectively block external light to ensure the shooting effect of the camera. When the inspection equipment is idle or the inspection equipment needs to be debugged, the shade curtain 13 can be flexibly retracted. The material of the shade curtain 13 can be but not limited to polyester fiber, nylon, cotton, etc.

[0033] like Figure 1As shown, in one or more embodiments, the platform 14 includes a table top (not marked in the figure) extending substantially in the horizontal direction and legs (not marked in the figure) located below the table top. The table top has a substantially rectangular shape. Alternatively, the table top can also be set to a square, a circle or other suitable shape. The table top can provide stable support for components such as the rotating device 15 and the adjustable light source 16.

[0034] like Figure 1 As shown, in one or more embodiments, the rotating device 15 includes a driving motor 151 and a turntable 152 connected to the driving motor 151. The motor shaft of the driving motor 151 extends roughly in the front-to-back direction. The turntable 152 is fixedly connected to the motor shaft so that when the driving motor 151 rotates, the turntable 152 can be driven to rotate in a clockwise or counterclockwise direction. The type of the driving motor 151 is not limited, for example, it can be a servo motor, a stepper motor, etc. In one or more embodiments, the turntable 152 is a roughly circular disk to reduce the resistance when the turntable 152 rotates. In one or more embodiments, a center mark point 1521 and an angle mark point 1522 are provided on the turntable 152 so as to accurately know the actual rotation angle θ of the turntable 152 T In one or more embodiments, the actual rotation speed V of the rotating device 15 is T The range of V is 10 r / min-30000 r / min (i.e., revolutions per minute) to meet the calibration requirements of cameras 2 with different frame rates. In one or more embodiments, the actual rotation speed V of the rotating device 15 is T The relative expanded uncertainty is 10 -4 The “relative expanded uncertainty” is used to measure the fluctuation of the measured value, that is, the difference between the experimental value and the average value. It can be calculated according to the following formula: RSD = (S ÷ X) × 100%, where RSD is the relative expanded uncertainty, S is the standard deviation, and X is the average value. In one or more embodiments, the actual rotation speed V of the rotating device 15 T The stability is 10 -5 "Stability" refers to the ability of a measured parameter to maintain its metrological characteristics constant over time.

[0035] like Figure 1 As shown, in one or more embodiments, an adjustable light source 16 is provided on the left and right sides of the rotating device 15. The adjustable light source 16 can adopt a non-stroboscopic light source (such as an LED light source, etc.) to provide continuous and stable lighting to ensure the clarity and accuracy of the image captured by the camera 2. The brightness of the adjustable light source 16 can be adjusted according to actual needs to provide appropriate lighting for different types of cameras 2. It should be noted that the number and arrangement position of the adjustable light source 16 can also be adjusted according to actual needs.

[0036] like Figure 1 As shown, in one or more embodiments, a camera bracket 17 is provided at the front and rear of the platform 14. The camera bracket 17 can stably support the camera 2 to be calibrated. In one or more embodiments, the vertical height of the camera bracket 17 is adjustable to ensure that the camera 2 has a suitable shooting position and shooting angle.

[0037] like Figure 1 As shown, in one or more embodiments, a communication connection is formed between the computer 18 and the camera 2 to be verified, so as to receive and display the image captured by the camera 2. The communication connection can be a wired connection, a wireless connection, etc. The computer 18 is also provided with appropriate image processing software, so as to quickly and accurately calculate the frame rate of the camera 2 after processing the image.

[0038] Below, based on Figure 2-Figure 5 The method of the present invention for verifying the frame rate of the camera 2 using the verification device 1 is described in detail. It should be noted that the method of the present invention for verifying the frame rate of the camera 2 can be executed in the verification device 1 described in any of the above embodiments, or in other suitable verification settings.

[0039] Figure 2 FIG. 1 is a flow chart of a method for verifying the frame rate of a camera using a verification device according to the present invention. Figure 2 As shown, in one or more embodiments, when the method of the present invention for verifying the frame rate of the camera 2 using the verification device 1 is started, step S1 is first performed, that is, obtaining the nominal frame rate F of the camera 2 to be verified. C . Nominal frame rate F C It can be obtained from the product description or technical standards provided by the manufacturer of the camera 2. Then, step S2 is performed, that is, based on the nominal frame rate F C , set the reference rotation angle θ of the rotating device 15 0 and the reference rotation speed V 0 Then, step S3 is executed to rotate at the reference speed V 0 The rotating device 15 is rotated, and the camera 2 is used to capture the rotating image of the rotating device 15. When step S3 is completed, the method proceeds to step S4 to determine the actual rotation angle θ of the rotating device 15 corresponding to two adjacent frames of images in the rotating image. T Next, the actual rotation angle θ T With reference rotation angle θ 0 The comparison is performed (i.e., step S5). Finally, the method performs step S6 to determine the nominal frame rate F based on the comparison result. C and the actual frame rate F of camera 2 T The difference between them is △F.

[0040] Figure 3FIG. 1 is a flow chart of an embodiment of a method for verifying the frame rate of a camera using a verification device according to the present invention. Figure 3 As shown, in one or more embodiments, when the method of the present invention for verifying the frame rate of the camera 2 using the verification device 1 is started, step S10 is first performed, that is, obtaining the nominal frame rate F of the camera 2 to be verified. C .

[0041] Continue to see Figure 3 After step S10 is completed, the method proceeds to step S20, based on the nominal frame rate F C , set the reference rotation angle θ of the rotating device 15 0 and the reference rotation speed V 0 In one or more embodiments, the reference rotation angle θ 0 Determined according to a preset mapping relationship related to the nominal frame rate FC. For example, when the nominal frame rate F C When the speed is less than or equal to 1000fps, the reference rotation angle θ 0 Equal to 45°; when the nominal frame rate F C When the speed is less than or equal to 2000fps and greater than 1000fps, the reference rotation angle θ 0 Equal to 40°; when the nominal frame rate F C When the speed is less than or equal to 3000fps and greater than 2000fps, the reference rotation angle θ 0 Equal to 35°; when the nominal frame rate F C When the speed is less than or equal to 4000fps and greater than 3000fps, the reference rotation angle θ 0 Equal to 30°; when the nominal frame rate F C When the speed is less than or equal to 5000fps and greater than 4000fps, the reference rotation angle θ 0 is equal to 20°, etc. It should be noted that the mapping relationship can be adjusted according to actual needs. In addition, the user can also select the reference rotation angle θ according to actual needs. 0 In one or more embodiments, the reference rotation angle θ 0 The value is a positive integer factor of 360, that is, the reference rotation angle θ 0 It can be 1°, 2°, 3°, 4°, 5°, 6°, 8°, 9°, 10°, 12°, 15°, 18°, 20°, 24°, 30°, 36°, 40°, 45°, 60°, 72°, 90°, 120°, 180°, 360°. Through the above settings, the camera 2 can obtain the same number of frames of images in each rotation cycle of the rotating device 15, which is convenient for subsequent calculation and analysis. For example, when the reference rotation angle θ 0 When the angle is 36°, the camera 2 can obtain 10 frames of images in each rotation cycle of the rotating device 15 (see Figure 4 ). Further, the reference rotation angle θ 0 The value range is 1-10, that is, the reference rotation angle θ 0 It can be 1°, 2°, 3°, 4°, 5°, 6°, 8°, 9°, 10°. Alternatively, the reference rotation angle θ 0 The value of can also be set to other suitable values, such as 1.8°, 2.4°, 3.6°, etc.

[0042] In one or more embodiments, the reference rotation speed V 0 Calculate according to the following formula: Among them, V 0 The unit is r / min (i.e. revolutions per minute), θ 0 The unit is ° (i.e. degree), F C The unit is fps (frames per second). For example, if Fc is 5000fps, θ 0 is 36°, then V 0 It is 30000r / min.

[0043] Continue to see Figure 3 In one or more embodiments, after step S20 is completed, the method performs step S30, rotating at a reference speed V 0 The rotating device 15 is rotated, and the camera 2 is used to capture the rotating image of the rotating device 15. In one or more embodiments, when the rotating device 15 rotates at a reference speed V 0 After the rotation, after a certain stabilization time (such as 10 seconds), the camera 2 is controlled to capture the rotation picture of the rotating device 15. In one or more embodiments, the rotating device 15 has a rotating disk 152, and the rotating picture is the rotating disk 152 rotating at a reference speed V 0 The picture during rotation is provided to provide a suitable shooting object for the camera 2. In one or more embodiments, a center mark point 1521 and an angle mark point 1522 are also provided on the turntable 152, so as to accurately know the actual rotation angle θ later. T The specific value of .

[0044] Continue to see Figure 3 In one or more embodiments, after step S30 is completed, the method executes step S41 to obtain an image group of the rotating picture within a preset time period. The preset time period may be 1 second, so that the actual frame rate F is accurately obtained by analyzing the images taken by the camera 2 within 1 second. T Of course, the preset time period can also be set to other suitable time periods longer or shorter than 1s, and the actual frame rate F can be obtained by calculation later. TWhen step S41 is completed, the method proceeds to step S42, that is, obtaining the actual rotation angle θ of the rotating device 15 corresponding to two adjacent frames of images in the image group in sequence. T .

[0045] Continue to see Figure 3 In one or more embodiments, after step S42 is completed, the method executes step S50 to convert the actual rotation angle θ T With reference rotation angle θ 0 For comparison, the actual rotation angle θ T With reference rotation angle θ 0 The comparison process can be performed by image processing software on the computer 18.

[0046] Figure 4 is a schematic diagram of an embodiment of an image group in a method for verifying a frame rate of a camera using a verification device according to the present invention; Figure 5 FIG. 1 is a partially enlarged schematic diagram of an embodiment of an image group in a method for verifying the frame rate of a camera using a verification device according to the present invention. Figure 4 and Figure 5 As shown, in one or more embodiments, the actual rotation angle θ T With reference rotation angle θ 0 When making comparisons, the actual image group captured by the camera 2 is first divided into a plurality of periodic image groups, each periodic image group is then divided into a plurality of images, and then each image is compared with a corresponding reference image preset in the computer 18. The reference image can be rotated according to the reference angle θ 0 Automatically generated. See Figure 5 , when compared, the center mark point 1521 of the turntable 152 in each image coincides with the center mark point 1521 of the turntable 152 in the corresponding reference image. The position change of the reference angle mark point 1522a (indicated by "." in the figure) of the turntable 152 in two adjacent frames of the reference image shows the reference rotation angle θ 0 Correspondingly, the position change of the actual angle mark point 1522b (indicated by “×” in the figure) of the turntable 152 in two adjacent frames of images shows the corresponding actual rotation angle θ T .

[0047] like Figure 3 As shown, in one or more embodiments, after step S50 is completed, the method performs step S60 to determine the nominal frame rate F based on the comparison result. C and the actual frame rate F of camera 2 T The difference between them is △F.

[0048] In one or more embodiments, when the actual rotation angle θ T Equal to the reference rotation angle θ 0When the actual rotation angle θ T Greater than the reference rotation angle θ 0 When the corresponding image is determined to be a lost frame. For example, when the actual rotation angle θ T and the reference rotation angle θ 0 When both are equal to 36°, the corresponding image is determined to be normal; when the actual rotation angle θ T When the angle is greater than 36°, it is determined that frame loss occurs in the image. In one or more embodiments, when frame loss occurs in the image, the number of lost frames can be obtained by the following formula: Among them, △F d is the number of frames lost. For example, θ T is 72°, and θ 0 If the angle is 36°, the number of lost frames is 2. It can be understood that △F is equal to the number of lost frames in 1s. d sum.

[0049] In one or more embodiments, when (reference rotation angle θ 0 - Preset angle threshold) ≤ actual rotation angle θ T ≤(reference rotation angle θ 0 + preset angle threshold), determine that the corresponding image is normal; when the actual rotation angle θ T >(reference rotation angle θ 0 + preset angle threshold), it is determined that frame loss occurs in the image. The preset angle threshold may be a fixed value such as 0.1°, 0.2°, 0.3°, etc. Alternatively, the preset angle threshold may also be a variable value, for example, the preset angle threshold is equal to the reference rotation angle θ0 multiplied by a correction factor, and the correction factor may be adjusted according to actual needs, for example, 1%, 2%, 3%, etc. In one or more embodiments, when frame loss occurs in the image, the number of lost frames may also be obtained by the following formula: It should be pointed out that △F d The numerical value can be corrected in an appropriate manner (such as rounding off) to obtain an integer value.

[0050] When the difference △F is determined, the actual frame rate F of camera 2 can be easily obtained. T , and then quantitatively analyze the frame rate of camera 2. Among them, the actual frame rate F T Equal to the nominal frame rate F C Subtract △F. For example, the nominal frame rate F C is 5000fps, △F is 5fps, then the actual frame rate of camera 2 is F T The frame loss rate is 1‰.

[0051] Therefore, the present invention is to measure the actual rotation angle θ of the rotating device 15 photographed by the camera 2. T and the preset reference rotation angle θ 0 By comparison, the actual frame rate F of camera 2 can be accurately obtained. T , which meets the verification requirements of cameras 2 with different frame rates. In addition, when the actual rotation angle θ T and the reference rotation angle θ 0 When a discrepancy occurs, it is also possible to quickly and accurately determine which image has the abnormality, thus providing traceable data support for subsequent analysis and repair.

[0052] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A method for verifying the frame rate of a camera using a verification device, wherein the verification device comprises a rotating device, characterized in that: The method comprises: Get the nominal frame rate F of the camera to be verified C ; Based on the nominal frame rate F C , setting a reference rotation angle θ0 and a reference rotation speed V0 of the rotating device; Rotating the rotating device at the reference rotation speed V0, and photographing the rotating image of the rotating device with the camera; Determine the actual rotation angle θ of the rotating device corresponding to two adjacent frames of images in the rotating picture T ; The actual rotation angle θ T Compare with the reference rotation angle θ0; The nominal frame rate F is determined based on the comparison result. C and the actual frame rate F of the camera T The difference between them is △F.

2. The method for calibrating the frame rate of a camera using a calibration device according to claim 1, characterized in that: The reference rotation speed V0 is calculated according to the following formula: Among them, the unit of V0 is r / min, the unit of θ0 is °, and F C The unit is fps.

3. The method for calibrating the frame rate of a camera using a calibration device according to claim 1 or 2, characterized in that: The value of the reference rotation angle θ0 is a positive integer factor of 360.

4. The method for calibrating the frame rate of a camera using a calibration device according to claim 3, characterized in that: The numerical range of the reference rotation angle θ0 is 1-10.

5. The method for calibrating the frame rate of a camera using a calibration device according to claim 3, characterized in that: Determine the actual rotation angle θ of the rotating device corresponding to two adjacent frames of images in the rotating picture T The steps include: Acquire an image group of the rotating picture within a preset time period; Sequentially obtain the actual rotation angle θ of the rotating device in two adjacent frames of the image group T .

6. The method for calibrating the frame rate of a camera using a calibration device according to claim 5, characterized in that: When the actual rotation angle θ T When it is equal to the reference rotation angle θ0, it is determined that the corresponding image is normal; When the actual rotation angle θ T When it is greater than the reference rotation angle θ0, it is determined that frame loss occurs in the image; or When (the reference rotation angle θ0-preset angle threshold)≤the actual rotation angle θ T ≤(the reference rotation angle θ0+the preset angle threshold), determining that the corresponding image is normal; When the actual rotation angle θ T >(the reference rotation angle θ0+the preset angle threshold), it is determined that frame loss occurs in the image.

7. The method for calibrating the frame rate of a camera using a calibration device according to claim 1, characterized in that: The rotating device has a rotating disk, and the rotating picture is a picture when the rotating disk rotates at the reference rotation speed V0.

8. The method for calibrating the frame rate of a camera using a calibration device according to claim 7, characterized in that: A center marking point and an angle marking point are arranged on the turntable.

9. The method for calibrating the frame rate of a camera using a calibration device according to claim 1, characterized in that: The actual rotation speed V of the rotating device T The range is 10r / min-30000r / min; and / or The rotating device is configured so that the actual rotation speed V T The relative expanded uncertainty is 10 -4 , and / or the actual rotation speed V T The stability is 10 -5 .

10. A calibration device, characterized in that: The calibration device comprises a rotating device, and the method for calibrating the frame rate of a camera according to any one of claims 1 to 9 is executed in the calibration device.

Citation Information

Cited By

  • Peripheral signal control method based on STM32 visual inspection system, terminal and storage medium

    CN121523197A