First view angle data acquisition method and system based on binocular event camera and depth camera
By integrating the binocular event camera and the depth camera, the annotation information of the depth camera is automatically projected onto the event data, which solves the problem of difficulty in annotating event camera data, achieves efficient and stable first-view data collection, and improves the efficiency of data collection. Accuracy and consistency for a variety of computer vision applications.
Patent Information
- Application Number
- CN202410941395.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Existing first-view data collection equipment performs poorly in dynamic scenes and low lighting conditions, and event camera data is difficult to label. It lacks integration of event cameras and depth cameras, resulting in low data collection efficiency and accuracy.
By integrating a binocular event camera and a depth camera, the grayscale image annotation information output by the depth camera is automatically projected onto the event data, achieving the acquisition of 3D position and color information of the event point, simplifying the annotation process, and synchronizing it through a voltage selection chip. Signal processing to achieve synchronization between cameras.
It achieves visual data collection with high temporal resolution and dynamic range, simplifies the annotation process, improves data synchronization accuracy and consistency, enhances multi-scenario application potential, and promotes the development of computer vision and robotics technology.
Smart Images

Figure CN118869899A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of mechanical structure and computer technology, and in particular to a first-perspective data acquisition method and system based on a binocular event camera and a depth camera. Background Art
[0002] In the field of computer vision and robotics, first-person data collection is of great significance for research and development. The first person perspective, that is, data collection from the user's perspective, can provide more realistic and intuitive visual information and is widely used in robot navigation, augmented reality, virtual reality and other fields. However, there are few existing first-person perspective data collection devices, resulting in the potential of this field not being fully released. Traditional camera systems perform poorly in dynamic scenes and low lighting conditions, while event cameras can provide better data under these conditions due to their high temporal resolution and high dynamic range. However, existing systems generally lack the integration of event cameras and depth cameras, making it difficult to achieve efficient data collection.
[0003] In addition, event data annotation is very difficult because event cameras capture pixel-level changes rather than traditional frame images. To address this problem, we introduced a method to automatically project the annotation information on the grayscale image output by the depth camera directly onto the event data, thereby obtaining the 3D position and color information corresponding to the event point. This method greatly simplifies the event data annotation process and improves the efficiency and accuracy of data annotation. Summary of the invention
[0004] The purpose of the present invention is to provide a first-person perspective data acquisition method and system based on a binocular event camera and a depth camera to solve the deficiencies in the prior art.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] The present invention first provides a first-perspective data acquisition method based on a binocular event camera and a depth camera, comprising the following steps:
[0007] 1) Assembling a first-perspective device for simulating a user's first-perspective shooting, wherein the first-perspective device includes a binocular event camera and a depth camera;
[0008] 2) Calibrate the binocular event camera and the depth camera in the first-person perspective device so that the event point captured by the binocular event camera corresponds to the same object in the picture captured by the depth camera;
[0009] 3) The first-view device is started to shoot, the depth camera sends a synchronization signal, and the synchronization signal is boosted and boosted, and then input into the binocular event camera as a trigger signal;
[0010] 4) Export the pictures taken by the depth camera and the event points taken by the binocular event camera, and match the timestamp of the trigger signal received by the binocular event camera with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the pictures taken by the depth camera and the event points taken by the binocular event camera;
[0011] 5) Annotate the target object in the picture taken by the depth camera, and project the annotated picture onto the event point taken by the binocular event camera, so as to annotate the event point taken synchronously by the binocular event camera;
[0012] 6) Output the annotated event points synchronously photographed by the binocular event camera, obtain the three-dimensional position information and color information corresponding to the event points, and realize data collection.
[0013] As a preferred solution of the present invention, the first viewing angle device includes:
[0014] A stereo event camera for capturing visual data with high temporal resolution and high dynamic range;
[0015] A depth camera, which is used to capture depth images, grayscale images, and RGB images of the scene and can send synchronization signals;
[0016] A helmet is worn on the user's head to provide a first-person perspective for data collection;
[0017] Bracket: used to fix the binocular event camera and depth camera on the helmet to ensure the stability of the camera and the consistency of the viewing angle.
[0018] The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the depth camera and output a trigger signal.
[0019] As a preferred solution of the present invention, in step 5), the target object in the picture taken by the depth camera is identified by a depth camera annotation tool and annotated in the picture taken by the depth camera. Further, the annotation tool adopts Segment-Anything, MediaPipe-master, OpenPose, etc.
[0020] The present invention also provides a system for implementing the above-mentioned first-person perspective data acquisition method, comprising:
[0021] The first-view device includes a binocular event camera, a depth camera and a voltage selection chip. The binocular event camera and the depth camera are used to simulate the user's first-view and shoot the scene within the view. The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the camera.
[0022] The camera calibration module is used to calibrate the parameters of the binocular event camera and the depth camera;
[0023] A camera signal processing module, used to control the depth camera to send out a synchronization signal; the synchronization signal is processed by the voltage selection chip of the first viewing angle device and then input into the binocular event camera as a trigger signal;
[0024] The camera synchronization module is used to record the timestamp of the trigger signal received by the binocular event camera and match it with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the two cameras;
[0025] The image annotation module is used to annotate the images taken by the depth camera and project the annotated images onto the binocular event camera, thereby annotating the images taken synchronously by the binocular event camera.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention integrates a binocular event camera and a depth camera to achieve visual data acquisition with high temporal resolution and dynamic range, simplify the labeling process, improve data synchronization accuracy, improve the practicability of data, enhance the potential for multi-scenario applications, and promote the development of computer vision and robotics technology.
[0028] The present invention uses low-cost NetFPGA hardware devices to achieve flexible, fair and controllable allocation of network resources, reducing the implementation cost of network resource allocation. The implementation method is simple and flexible, the network service quality can be significantly guaranteed, and it is independent of the network layer protocol.
[0029] The system of the present invention can greatly improve the data consistency and accuracy in multi-camera shooting configurations, and provide strong technical support for advanced visual analysis and processing. By integrating binocular event cameras and depth cameras, efficient and stable first-person perspective data acquisition is achieved, which is suitable for a variety of computer vision applications, such as robot navigation, augmented reality, and virtual reality. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a flow chart of the first-perspective data acquisition method based on a binocular event camera and a depth camera of the present invention;
[0031] Figure 2 This is a physical diagram of the first viewing angle device of the present invention;
[0032] Figure 3 This is a physical picture of the first viewing angle device of the present invention. DETAILED DESCRIPTION
[0033] The present invention is further described and illustrated below in conjunction with specific embodiments. The embodiments are merely exemplary of the present disclosure and do not define the scope of limitation. The technical features of each embodiment of the present invention may be combined accordingly without conflicting with each other.
[0034] like Figure 1 As shown, the present invention provides a first-perspective data acquisition method based on a binocular event camera and a depth camera, comprising the following steps:
[0035] 1) Assemble a first-person perspective device for simulating a user's first-person perspective for shooting; Figure 2 and Figure 3 As shown, in a specific embodiment of the present invention, the first-perspective device of the present invention includes two left and right event cameras, a depth camera, a helmet, a 3D printed bracket and a voltage selection chip, which are used to capture visual data with high temporal resolution and high dynamic range; the depth camera is used to capture the depth information of the scene, and can synchronously output two grayscale images, one RGB image and one depth image. The helmet is used to be worn on the user's head to provide data acquisition from the first perspective. The 3D printed bracket is used to fix the two event cameras and the depth camera on the helmet to ensure the stability of the camera and the consistency of the perspective. The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the depth camera and output a trigger signal. The various components are connected by wires to ensure the transmission of data and power.
[0036] 2) Calibrate the binocular event camera and depth camera in the first-person perspective device by using the Zhang Zhengyou calibration method, so that the event point photographed by the binocular event camera and the same object in the picture taken by the depth camera can correspond;
[0037] 3) Start the first-view device, and the depth camera sends out a synchronization signal in the form of a square wave, and the frame rate range of the synchronization signal is 6Hz to 300Hz; and the sent synchronization signal is processed by the voltage selection chip on the first-view device; when the amplitude of the synchronization signal is less than the preset threshold, the voltage selection chip does not output a trigger signal; when the input signal exceeds the preset threshold, the voltage selection chip outputs a trigger signal with an amplitude that is the same as the power supply voltage of the voltage selection chip and a frequency and duty cycle that are the same as the synchronization signal, and inputs it into the binocular event camera;
[0038] 4) Export the pictures taken by the depth camera and the event points taken by the binocular event camera, and match the timestamp of the trigger signal received by the binocular event camera with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the pictures taken by the depth camera and the event points taken by the binocular event camera;
[0039] 5) Annotate the target object in the picture taken by the depth camera, set the time interval between two consecutive pictures taken by the depth camera as T, the time point when the depth camera takes the picture as t, segment the time sequence of the event points taken by the binocular event camera with [tT / 2, t+T / 2] as the time period, and match the event points in each time period with the pictures taken by the depth camera in the same time period; and project the matched annotated pictures taken by the depth camera onto the event points taken by the binocular event camera, so as to annotate the event points taken synchronously by the binocular event camera; in a specific embodiment of the present invention, image annotation tools such as Segment-Anything, MediaPipe-master, and OpenPose are used to annotate the target objects in the pictures taken by the depth camera.
[0040] 6) Output the annotated event points synchronously photographed by the binocular event camera, obtain the three-dimensional position information and color information corresponding to the event points, and realize data collection.
[0041] The present invention also provides a first-perspective data acquisition system based on a binocular event camera and a depth camera, comprising:
[0042] The first-view device includes a binocular event camera, a depth camera and a voltage selection chip. The binocular event camera and the depth camera are used to simulate the user's first-view and shoot the scene within the view. The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the camera.
[0043] The camera calibration module is used to calibrate the parameters of the binocular event camera and the depth camera;
[0044] A camera signal processing module, used to control the depth camera to send out a synchronization signal; the synchronization signal is processed by the voltage selection chip of the first viewing angle device and then input into the binocular event camera as a trigger signal;
[0045] The camera synchronization module is used to record the timestamp of the trigger signal received by the binocular event camera and match it with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the two cameras;
[0046] The image annotation module is used to annotate the images taken by the depth camera and project the annotated images onto the binocular event camera, thereby annotating the images taken synchronously by the binocular event camera.
[0047] The system of the present invention can achieve synchronization between cameras and ensure that the synchronization error of the collected data is within 0.5ms. The synchronization process is that the depth camera sends a synchronization signal, and the synchronization signal is transmitted to the event camera after passing through the boost chip, so as to obtain the timestamp of the event camera when the depth camera is imaging. The system needs to be calibrated before use to ensure the accuracy of data collection. The calibration process includes adjusting the position and angle of the camera, calibrating the intrinsic and extrinsic parameters of the camera, to ensure that the collected data is accurate.
[0048] After labeling, the grayscale image labeling information on the depth camera can be automatically projected onto the event camera, solving the problem of event data being difficult to label and obtaining the 3D position information and color information corresponding to the event point.
[0049] In a specific embodiment of the present invention, a computer-controlled depth camera of model Realsense D435 and two event cameras of model Prophesee EVK4 are used. The system of the present invention uses a computer to send a synchronization signal, and the frame rate of the signal is precisely controlled, ranging from 6Hz to 300Hz, and is sent in the form of a square wave with an amplitude of about 2V. The synchronization signal is first processed by a voltage selection chip powered by a DC source. The function of the voltage selection chip is to output 0V when the input signal is less than a preset threshold; and when the input signal exceeds the threshold, it outputs a signal with an amplitude of the DC source voltage, a frequency and a duty cycle that are the same as the input signal. Subsequently, the output signal is sent to the Prophesee EVK4 camera as a trigger signal. By recording the timestamp of the trigger signal received by the EVK4 camera and matching it with the timestamp of the signal sent by the Realsense camera, synchronization between the two cameras is achieved. The preset threshold in the voltage selection chip is 1V, and the DC source voltage is set to 5V.
[0050] The system of the present invention realizes an efficient and accurate camera synchronization mechanism by accurately sending and adjusting the computer-controlled signal, combined with the intelligent threshold judgment and signal conversion of the boost chip. In addition, the system of the present invention supports a wide range of frame rate adjustment capabilities, so that it can adapt to different shooting requirements and environmental conditions. Through the system of the present invention, the consistency and accuracy of data in multi-camera shooting configurations can be greatly improved, providing strong technical support for advanced visual analysis and processing. By integrating binocular event cameras and depth cameras, efficient and stable first-person perspective data acquisition is achieved, which is suitable for a variety of computer vision applications, such as robot navigation, augmented reality and virtual reality.
[0051] The above-mentioned embodiments only express several implementation methods of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. For ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A first-person perspective data acquisition method based on a binocular event camera and a depth camera, characterized in that: The following steps are involved: 1) Assembling a first-perspective device for simulating a user's first-perspective shooting, wherein the first-perspective device includes a binocular event camera and a depth camera; 2) Calibrate the binocular event camera and the depth camera in the first-person perspective device so that the event point captured by the binocular event camera corresponds to the same object in the picture captured by the depth camera; 3) The first-view device is started to shoot, the depth camera sends a synchronization signal, and the synchronization signal is boosted and boosted, and then input into the binocular event camera as a trigger signal; 4) Export the pictures taken by the depth camera and the event points taken by the binocular event camera, and match the timestamp of the trigger signal received by the binocular event camera with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the pictures taken by the depth camera and the event points taken by the binocular event camera; 5) Annotate the target object in the picture taken by the depth camera, and project the annotated picture onto the event point taken by the binocular event camera, so as to annotate the event point taken synchronously by the binocular event camera; 6) Output the annotated event points synchronously photographed by the binocular event camera, obtain the three-dimensional position information and color information corresponding to the event points, and realize data collection.
2. The first-view data acquisition method according to claim 1, characterized in that: The first viewing angle device comprises: A stereo event camera for capturing visual data with high temporal resolution and high dynamic range; A depth camera, which is used to capture depth images, grayscale images, and RGB images of the scene and can send synchronization signals; A helmet is worn on the user's head to provide a first-person perspective for data collection; Bracket, used to fix the binocular event camera and depth camera on the helmet to ensure the stability of the camera and the consistency of the viewing angle; The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the depth camera and output a trigger signal.
3. The first-view data acquisition method according to claim 1, characterized in that: In the step 2), the binocular event camera and the depth camera are calibrated by Zhang Zhengyou calibration method.
4. The first-view data acquisition method according to claim 1, characterized in that: In the step 3), the depth camera sends out a synchronization signal in the form of a square wave, and the frame rate range of the synchronization signal is 6 Hz to 300 Hz.
5. The first-view data acquisition method according to claim 1, characterized in that: In the step 4), when the sync signal sent by the depth camera is subjected to step-up and step-down processing, it is processed by the voltage selection chip on the first viewing angle device; when the amplitude of the sync signal is less than the preset threshold, the voltage selection chip does not output a trigger signal; When the input signal exceeds a preset threshold, the voltage selection chip outputs a trigger signal having an amplitude the same as the power supply voltage of the voltage selection chip and a frequency and a duty cycle the same as the synchronization signal.
6. The first-view data acquisition method according to claim 1, characterized in that: In the step 4), the timestamp of the trigger signal received by the binocular event camera is matched with the timestamp of the synchronization signal sent by the depth camera as follows: the time interval between two consecutive pictures taken by the depth camera is set to T, the time point at which the depth camera takes the picture is set to t, and the time sequence of the event points taken by the binocular event camera is segmented into [tT / 2, t+T / 2] time periods, and the event points in each time period are matched with the pictures taken by the depth camera in the same time period.
7. The first-view data acquisition method according to claim 1, characterized in that: In the step 5), the target object in the picture taken by the depth camera is identified by a depth camera annotation tool and annotated in the picture taken by the depth camera.
8. A system for implementing the first viewing angle data acquisition method of claim 1, characterized in that: include: The first-view device includes a binocular event camera, a depth camera and a voltage selection chip. The binocular event camera and the depth camera are used to simulate the user's first-view and shoot the scene within the view. The voltage selection chip is used to perform step-up and step-down processing on the synchronization signal sent by the camera. The camera calibration module is used to calibrate the parameters of the binocular event camera and the depth camera; A camera signal processing module, used to control the depth camera to send out a synchronization signal; the synchronization signal is processed by the voltage selection chip of the first viewing angle device and then input into the binocular event camera as a trigger signal; The camera synchronization module is used to record the timestamp of the trigger signal received by the binocular event camera and match it with the timestamp of the synchronization signal sent by the depth camera, so as to achieve synchronization between the two cameras; The image annotation module is used to annotate the images taken by the depth camera and project the annotated images onto the event points taken by the binocular event camera, thereby annotating the event points taken synchronously by the binocular event camera.
Citation Information
Patent Citations
Binocular stereo depth matching method adopting time domain visual sensor
CN105719290A
Event camera, depth event point diagram acquisition method and device, equipment and medium
CN114071114A
Visual tracking method, device and system for target object, equipment and medium
CN116523962A
Indoor depth estimation method based on event stream and image frame combination
CN116596981A
Visual odometer implementation method based on dynamic visual sensor
CN117649431A
Cited By
Camera device and method for space-time alignment of traditional camera and event camera
CN120512502A
