A method and system for realizing multi-angle recording based on multiple cameras
By arranging multiple Cameras on the bird feeder, 360° video acquisition and 3D surround video clip generation are solved, and the ornamentality and satisfaction of recording and sharing are improved.
Patent Information
- Application Number
- CN202410975291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing bird feeder has a single viewing angle of bird pets, which cannot achieve multi-lens shooting, has low ornamentality, and cannot meet users' needs for better recording and sharing bird feeding moments.
Multiple Cameras are arranged on the bird feeder to achieve 360° video acquisition, and 3D surround video clips are generated through 3D spatial area division and target flight in and out track analysis.
It achieves more comprehensive and angled recording, improves viewing, and meets users' needs for recording and sharing bird feeding moments.
Smart Images

Figure CN118509719B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of image data processing technology, and in particular, relates to a method and system for realizing multi-angle recording based on multiple cameras. Background Art
[0002] Many people like to keep pets. In addition to the traditional common domestic cats and dogs, the top 1 most popular domestic pets are fish and the top 2 are birds. Therefore, there has been a great demand for bird feeders on the market in recent years. The existing bird feeders are of various categories and have won the favor of many users.
[0003] However, the current bird feeders have a single viewing angle for bird pets, cannot achieve multi-lens shooting, and have low viewing value. In addition, with the development of society, more and more users expect to better record and share the moment of bird feeding and share it on social platforms. Therefore, the bird feeders in the prior art can no longer meet people's needs for better recording and sharing of bird pets.
[0004] Therefore, it is desired to have a technical solution to overcome or at least alleviate at least one of the above-mentioned defects of the prior art. Summary of the invention
[0005] The purpose of this application is to provide a method and system for realizing multi-angle recording based on multiple cameras, so as to solve the problem of single recording perspective of bird feeders for bird pets in the prior art.
[0006] The technical solution of this application is:
[0007] The first aspect of the present application provides a method for realizing multi-angle recording based on multiple cameras, comprising:
[0008] Arrange multiple cameras on the bird feeder to achieve 360° video acquisition;
[0009] Divide the 3D space area based on the position of each camera;
[0010] Determine the flying track of the target in each camera when it flies into different 3D space areas, and determine the flying track of the target in each camera when it flies out of different 3D space areas;
[0011] Video clips are edited according to the target's flying-in trajectory and flying-out trajectory to generate 3D surround video clips.
[0012] In at least one embodiment of the present application, the step of arranging multiple cameras on the bird feeder to achieve 360° video acquisition includes:
[0013] Construct a spherical coordinate system and arrange three cameras A, B, and C on the bird feeder. The three cameras serve as a vertex of a spherical equilateral triangle respectively, and the video acquisition angles of the three cameras cover a 360° picture.
[0014] In at least one embodiment of the present application, the 3D space area division based on the position of each camera includes:
[0015] The three vertices of the spherical equilateral triangle formed by the three cameras A, B, and C correspond to the a side, b side, and c side respectively, where:
[0016] The b and c edges extend toward A to obtain the SA region;
[0017] The a and c sides extend toward B to obtain the SB region;
[0018] The a and b sides are extended toward C to obtain the SC region;
[0019] The a and b sides extend away from C to obtain the S.AB region;
[0020] The b and c edges extend away from A to obtain the S.BC region;
[0021] The a and c edges extend away from B to obtain the S.AC region.
[0022] In at least one embodiment of the present application, determining the flying tracks of the target in each camera when the target flies in from different 3D space areas includes:
[0023] If the target flies in from the SA area and the flying position is facing the SA area, the order of the targets appearing in the three cameras is B=C>A; if the target flies in from the SA area and the flying position is close to the S.AC area, the order of the targets appearing in the three cameras is B>C>A; if the target flies in from the SA area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>B>A;
[0024] If the target flies in from the SB area and the flying position is facing the SB area, the order of the targets appearing in the three cameras is A=C>B; if the target flies in from the SB area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>A>B; if the target flies in from the SB area and the flying position is close to the S.BC area, the order of the targets appearing in the three cameras is A>C>B;
[0025] If the target flies in from the SC area and the flying position is facing the SC area, the order in which the targets appear on the three cameras is A=B>C; if the target flies in from the SC area and the flying position is close to the S.BC area, the order in which the targets appear on the three cameras is A>B>C; if the target flies in from the SC area and the flying position is close to the S.AC area, the order in which the targets appear on the three cameras is B>A>C;
[0026] If the target flies in from the S.AB area and the flying position is facing the S.AB area, the order in which the target appears on the three cameras is C>A=B; if the target flies in from the S.AB area and the flying position is close to the SA area, the order in which the target appears on the three cameras is C>B>A; if the target flies in from the S.AB area and the flying position is close to the SB area, the order in which the target appears on the three cameras is C>A>B;
[0027] If the target flies in from the S.BC area and the flying position is facing the S.BC area, the order in which the target appears on the three cameras is A>B=C; if the target flies in from the S.BC area and the flying position is close to the SB area, the order in which the target appears on the three cameras is A>C>B; if the target flies in from the S. BC area and the flying position is close to the SC area, the order in which the target appears on the three cameras is A>B>C;
[0028] If the target flies in from the S.AC area and the flying position is opposite to the S.AC area, the order in which the targets appear on the three cameras is B>A=C; if the target flies in from the S.AC area and the flying position is close to the SC area, the order in which the targets appear on the three cameras is B>A>C; if the target flies in from the S.AC area and the flying position is close to the SA area, the order in which the targets appear on the three cameras is B>C>A.
[0029] In at least one embodiment of the present application, determining the flying tracks of the target in each camera when the target flies out of different 3D space areas includes:
[0030] If the target flies out of the SA area and the flying position is facing the SA area, the order in which the target disappears from the three cameras is A>B=C; if the target flies out of the SA area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is A>C>B; if the target flies out of the SA area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is A>B>C;
[0031] If the target flies out of the SB area and the flying position is facing the SB area, the order in which the target disappears from the three cameras is B>A=C; if the target flies out of the SB area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is B>A>C; if the target flies out of the SB area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is B>C>A;
[0032] If the target flies out of the SC area and the flying position is facing the SC area, the order in which the target disappears from the three cameras is C>A=B; if the target flies out of the SC area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is C>A>B; if the target flies out of the SC area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is C>B>A;
[0033] If the target flies out of the S.AB area and the flying position is facing the S.AB area, the order in which the target disappears from the three cameras is A=B>C; if the target flies out of the S.AB area and the entry and exit position is close to the SA area, the order in which the target disappears from the three cameras is A>B>C; if the target flies out of the S.AB area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>A>C;
[0034] If the target flies out of the S.BC area and the flying position is facing the S.BC area, the order in which the target disappears from the three cameras is B=C>A; if the target flies out of the S.BC area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>C>A; if the target flies out of the S. BC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>B>A;
[0035] If the target flies out of the S.AC area and the flying position is facing the S.AC area, the order in which the target disappears from the three cameras is A=C>B; if the target flies out of the S.AC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>A>B; if the target flies out of the S.AC area and the flying position is close to the SA area, the order in which the target disappears from the three cameras is A>C>B.
[0036] In at least one embodiment of the present application, the step of performing video editing according to the flying-in track and the flying-out track of the target to generate a 3D surround video clip includes:
[0037] Select the first video clip captured by the Camera where the target first appears from the target's flying trajectory;
[0038] Select the second video clips captured by Cameras A, B, and C at the same time;
[0039] Select the third video clip captured by the Camera where the target disappears last from the target's flight path;
[0040] The first video segment, the second video segment and the third video segment are spliced together to obtain a 3D surround video segment.
[0041] In at least one embodiment of the present application, the method further includes: sharing the 3D surround video clip on a social network.
[0042] A second aspect of the present application provides a system for implementing multi-angle recording based on multiple cameras, and a method for implementing multi-angle recording based on multiple cameras as described above, comprising:
[0043] Video acquisition module, used to realize 360° video acquisition;
[0044] The region division module is used to divide the 3D space region based on the position of each camera;
[0045] The track acquisition module is used to determine the flying track of the target in each camera when it flies into different 3D space areas, and to determine the flying track of the target in each camera when it flies out of different 3D space areas;
[0046] The video clip generation module is used to perform video editing according to the target's flying-in trajectory and flying-out trajectory to generate 3D surround video clips.
[0047] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the method for multi-angle recording based on multiple cameras as described above when executing the computer program.
[0048] The fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for realizing multi-angle recording based on multiple cameras as described above can be implemented. The invention has at least the following beneficial technical effects:
[0049] The method of realizing multi-angle recording based on multiple cameras in the present application can realize more comprehensive recording at multiple angles with better effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 This is a flow chart of a method for realizing multi-angle recording based on multiple cameras according to an embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of the arrangement of three cameras in one embodiment of the present application;
[0052] Figure 3 This is a schematic diagram of the regional division of an implementation method of the present application;
[0053] Figure 4 This is a schematic diagram of a system for realizing multi-angle recording based on multiple cameras according to an embodiment of the present application;
[0054] Figure 5 It is a schematic diagram of the structure of a computer device of a terminal or server suitable for implementing the implementation mode of the present application.
[0055] in:
[0056] 100-video acquisition module; 200-area division module; 300-track acquisition module; 400-video clip generation module; 500-computer equipment; 501-CPU; 502-ROM; 503-RAM; 504-bus; 505-I / O interface; 506-input part; 507-output part; 508-storage part; 509-communication part; 510-drive; 511-removable medium. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical scheme and advantages of the implementation of this application clearer, the technical scheme in the embodiment of this application will be described in more detail below in conjunction with the drawings in the embodiment of this application. In the drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of this application, not all of them. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain this application, and should not be construed as limitations on this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The embodiments of this application are described in detail below in conjunction with the drawings.
[0058] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the scope of protection of the present application.
[0059] The following is combined with Figures 1 to 5 This application is described in further detail.
[0060] The first aspect of the present application provides a method for realizing multi-angle recording based on multiple cameras, such as Figure 1 As shown, the following steps are included:
[0061] Arrange multiple cameras on the bird feeder to achieve 360° video acquisition;
[0062] Divide the 3D space area based on the position of each camera;
[0063] Determine the flying track of the target in each camera when it flies into different 3D space areas, and determine the flying track of the target in each camera when it flies out of different 3D space areas;
[0064] Video clips are edited according to the target's flying-in trajectory and flying-out trajectory to generate 3D surround video clips.
[0065] The method of realizing multi-angle recording based on multiple cameras in the present application first arranges multiple cameras on the bird feeder to realize 360° video acquisition, specifically including: constructing a spherical coordinate system, arranging three cameras A, B, and C on the bird feeder, wherein the three cameras are respectively used as a vertex of a spherical regular triangle, and the video acquisition angles of the three cameras cover a 360° picture. In this embodiment, if Figure 2 As shown, three cameras are used to construct different perspectives, which are arranged at the top C, the lower left A, and the lower right B respectively, for multi-camera preview and recording. The three cameras are designed in a spherical equilateral triangle structure at a certain angle. The three cameras can cover 360° of the picture and construct a 3D surround perspective.
[0066] The method of realizing multi-angle recording based on multiple cameras in this application, and then dividing the 3D space area based on the position of each camera, such as Figure 3 As shown, specifically, the three vertices of the spherical regular triangle formed by the three cameras A, B, and C correspond to the a side, the b side, and the c side respectively, where:
[0067] The b and c edges extend toward A to obtain the SA region;
[0068] The a and c sides extend toward B to obtain the SB region;
[0069] The a and b sides are extended toward C to obtain the SC region;
[0070] The a and b sides extend away from C to obtain the S.AB region;
[0071] The b and c edges extend away from A to obtain the S.BC region;
[0072] The a and c edges extend away from B to obtain the S.AC region.
[0073] The method of realizing multi-angle recording based on multiple cameras of the present application divides the 3D space area into 6 surfaces to obtain SA, SB, SC, S.AB, S.BC, and S.AC areas, wherein the S.ABC area surrounded by the a side, b side, and c side is the physical product structure. There is no possibility of a bird or pet flying from this direction, and it is not calculated within the subsequent possibility range.
[0074] The method of realizing multi-angle recording based on multiple cameras of the present application analyzes the order of appearance of bird pets in the three cameras after completing the spatial division. Bird pets must fly in and out of the above six areas, and there will be an order of entering and exiting the camera screen when flying in different areas. For example, if the target flies in from the S.AC area, the camera corresponding to B should be the first camera to capture the target screen. Secondly, according to whether the target is from the upper point C or the lower point A in the S.AC space area, it can be judged whether the target appears first in the camera screen corresponding to A or the camera screen corresponding to C. According to the blind spot principle, the camera that appears the latest to the target must be relatively closer to it. In addition, according to the rules of reverse pictures and sequences, the order of flying out is opposite to that of flying in. The camera that appears first when flying in must be the camera that disappears the latest when flying out. Corresponding to each SA, SB, SC, S.AB, S.BC, and S.AC area, flying out shows a certain regularity.
[0075] In a preferred embodiment of the present application, the flying traces of the target flying into each camera from different 3D space areas are obtained through the above analysis, including:
[0076] If the target flies in from the SA area and the flying position is facing the SA area, the order of the targets appearing in the three cameras is B=C>A; if the target flies in from the SA area and the flying position is close to the S.AC area, the order of the targets appearing in the three cameras is B>C>A; if the target flies in from the SA area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>B>A;
[0077] If the target flies in from the SB area and the flying position is facing the SB area, the order of the targets appearing in the three cameras is A=C>B; if the target flies in from the SB area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>A>B; if the target flies in from the SB area and the flying position is close to the S.BC area, the order of the targets appearing in the three cameras is A>C>B;
[0078] If the target flies in from the SC area and the flying position is facing the SC area, the order in which the targets appear on the three cameras is A=B>C; if the target flies in from the SC area and the flying position is close to the S.BC area, the order in which the targets appear on the three cameras is A>B>C; if the target flies in from the SC area and the flying position is close to the S.AC area, the order in which the targets appear on the three cameras is B>A>C;
[0079] If the target flies in from the S.AB area and the flying position is facing the S.AB area, the order in which the target appears on the three cameras is C>A=B; if the target flies in from the S.AB area and the flying position is close to the SA area, the order in which the target appears on the three cameras is C>B>A; if the target flies in from the S.AB area and the flying position is close to the SB area, the order in which the target appears on the three cameras is C>A>B;
[0080] If the target flies in from the S.BC area and the flying position is facing the S.BC area, the order in which the target appears on the three cameras is A>B=C; if the target flies in from the S.BC area and the flying position is close to the SB area, the order in which the target appears on the three cameras is A>C>B; if the target flies in from the S. BC area and the flying position is close to the SC area, the order in which the target appears on the three cameras is A>B>C;
[0081] If the target flies in from the S.AC area and the flying position is opposite to the S.AC area, the order in which the targets appear on the three cameras is B>A=C; if the target flies in from the S.AC area and the flying position is close to the SC area, the order in which the targets appear on the three cameras is B>A>C; if the target flies in from the S.AC area and the flying position is close to the SA area, the order in which the targets appear on the three cameras is B>C>A.
[0082] In this embodiment, the flying tracks of the target from different 3D space areas in each camera are obtained through the above analysis, including:
[0083] If the target flies out of the SA area and the flying position is facing the SA area, the order in which the target disappears from the three cameras is A>B=C; if the target flies out of the SA area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is A>C>B; if the target flies out of the SA area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is A>B>C;
[0084] If the target flies out of the SB area and the flying position is facing the SB area, the order in which the target disappears from the three cameras is B>A=C; if the target flies out of the SB area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is B>A>C; if the target flies out of the SB area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is B>C>A;
[0085] If the target flies out of the SC area and the flying position is facing the SC area, the order in which the target disappears from the three cameras is C>A=B; if the target flies out of the SC area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is C>A>B; if the target flies out of the SC area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is C>B>A;
[0086] If the target flies out of the S.AB area and the flying position is facing the S.AB area, the order in which the target disappears from the three cameras is A=B>C; if the target flies out of the S.AB area and the entry and exit position is close to the SA area, the order in which the target disappears from the three cameras is A>B>C; if the target flies out of the S.AB area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>A>C;
[0087] If the target flies out of the S.BC area and the flying position is facing the S.BC area, the order in which the target disappears from the three cameras is B=C>A; if the target flies out of the S.BC area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>C>A; if the target flies out of the S. BC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>B>A;
[0088] If the target flies out of the S.AC area and the flying position is facing the S.AC area, the order in which the target disappears from the three cameras is A=C>B; if the target flies out of the S.AC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>A>B; if the target flies out of the S.AC area and the flying position is close to the SA area, the order in which the target disappears from the three cameras is A>C>B.
[0089] The method of realizing multi-angle recording based on multiple cameras of the present application performs video editing according to the target's flying-in trajectory and flying-out trajectory to generate 3D surround video clips, including:
[0090] Select the first video clip captured by the Camera where the target first appears from the target's flying trajectory;
[0091] Select the second video clips captured by Cameras A, B, and C at the same time;
[0092] Select the third video clip captured by the Camera where the target disappears last from the target's flight path;
[0093] The first video segment, the second video segment and the third video segment are spliced together to obtain a 3D surround video segment.
[0094] The method of realizing multi-angle recording based on multiple cameras of the present application, after obtaining the target's flying-in and flying-out tracks, performs video editing to generate 3D surround video clips. The three pictures captured by the three cameras corresponding to A, B, and C at the same time can select the camera video of the target in the picture close to the center of the camera. For example, if it flies in from S.AC, the video captured by the camera corresponding to B is selected first. If it is close to the center of the camera picture corresponding to A, B, and C at a certain moment, the angles captured by three different cameras corresponding to A, B, and C can be selected for multi-angle observation of the target 3D full picture in the central area, and slow motion can also be used. For example, assuming that the target flies in from the S.AC area and flies out from the S.BC area, then along with the flight path of the target, the video captured by the camera corresponding to B, the videos captured by the three cameras corresponding to A, B, and C, and the video captured by the camera corresponding to A are edited in turn to form a complete 360° stereo surround video clip. The videos captured by the three cameras in the second video clip can be played synchronously in different windows. The principles and logics of other flying in and out are similar and will not be repeated one by one.
[0095] It is understandable that users can share the finished film directly on social media after getting it.
[0096] According to the above-mentioned method for realizing multi-angle recording based on multiple cameras, the second aspect of the present application provides a system for realizing multi-angle recording based on multiple cameras, comprising:
[0097] The video acquisition module 100 is used to realize 360° video acquisition;
[0098] A region division module 200 is used to perform 3D space region division based on the positions of each camera;
[0099] The track acquisition module 300 is used to determine the flying track of the target in each camera when it flies into different 3D space areas, and to determine the flying track of the target in each camera when it flies out of different 3D space areas;
[0100] The video clip generation module 400 is used to perform video editing according to the flying-in track and the flying-out track of the target to generate a 3D surround video clip.
[0101] In another aspect of the present application, a computer device is provided, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned method for multi-angle recording based on multiple cameras.
[0102] Reference below Figure 5, which shows a schematic structural diagram of a computer device 500 suitable for implementing the embodiments of the present application. Figure 5 The computer device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0103] like Figure 5 As shown, the computer device 500 includes a CPU 501, which can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage part 508 into the RAM 503. In the RAM 503, various programs and data required for the operation of the device 500 are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through a bus 504. An I / O interface 505 is also connected to the bus 504.
[0104] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0105] In particular, according to the embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by CPU501, the above functions defined in the method of the present application are executed. It should be noted that the computer storage medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0106] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] The modules or units involved in the embodiments described in this application may be implemented by software or hardware. The modules or units described may also be set in a processor, and the names of these modules or units do not constitute limitations on the modules or units themselves in some cases.
[0108] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by the device, the data is processed according to the above method for realizing multi-angle recording based on multiple cameras.
[0109] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for realizing multi-angle recording based on multiple cameras, characterized in that: include: Arrange multiple cameras on the bird feeder to achieve 360° video acquisition; Divide the 3D space area based on the position of each camera; Determine the flying track of the target in each camera when it flies into different 3D space areas, and determine the flying track of the target in each camera when it flies out of different 3D space areas; Perform video editing based on the target's flying-in and flying-out tracks to generate 3D surround video clips; Arranging multiple cameras on the bird feeder to achieve 360° video acquisition includes: Construct a spherical coordinate system and place three cameras A, B, and C on the bird feeder. Each camera is a vertex of a regular triangle on the spherical surface, and the video acquisition angles of the three cameras cover a 360° screen. The 3D space area division based on the position of each Camera includes: The three vertices of the spherical equilateral triangle formed by the three cameras A, B, and C correspond to the a side, b side, and c side respectively, where: The b and c edges extend toward A to obtain the SA region; The a and c sides extend toward B to obtain the SB region; The a and b sides are extended toward C to obtain the SC region; The a and b sides extend away from C to obtain the S.AB region; The b and c edges extend away from A to obtain the S.BC region; The a and c edges extend away from B to obtain the S.AC region; The step of performing video editing according to the target's flying-in trajectory and flying-out trajectory to generate a 3D surround video clip includes: Select the first video clip captured by the Camera where the target first appears from the target's flying trajectory; Select the second video clips captured by Cameras A, B, and C at the same time; Select the third video clip captured by the Camera where the target disappears last from the target's flight path; The first video segment, the second video segment and the third video segment are spliced together to obtain a 3D surround video segment.
2. The method for realizing multi-angle recording based on multiple cameras according to claim 1, characterized in that: The determination of the flying tracks of the target in each camera when the target flies in from different 3D space areas includes: If the target flies in from the SA area and the flying position is facing the SA area, the order of the targets appearing in the three cameras is B=C>A; if the target flies in from the SA area and the flying position is close to the S.AC area, the order of the targets appearing in the three cameras is B>C>A; if the target flies in from the SA area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>B>A; If the target flies in from the SB area and the flying position is facing the SB area, the order of the targets appearing in the three cameras is A=C>B; if the target flies in from the SB area and the flying position is close to the S.AB area, the order of the targets appearing in the three cameras is C>A>B; if the target flies in from the SB area and the flying position is close to the S.BC area, the order of the targets appearing in the three cameras is A>C>B; If the target flies in from the SC area and the flying position is facing the SC area, the order of the targets appearing in the three cameras is A=B>C; if the target flies in from the SC area and the flying position is close to the S.BC area, the order of the targets appearing in the three cameras is A>B>C; if the target flies in from the SC area and the flying position is close to the S.AC area, the order of the targets appearing in the three cameras is B>A>C; If the target flies in from the S.AB area and the flying position is facing the S.AB area, the order in which the target appears on the three cameras is C>A=B; if the target flies in from the S.AB area and the flying position is close to the SA area, the order in which the target appears on the three cameras is C>B>A; if the target flies in from the S.AB area and the flying position is close to the SB area, the order in which the target appears on the three cameras is C>A>B; If the target flies in from the S.BC area and the flying position is facing the S.BC area, the order in which the targets appear on the three cameras is A>B=C; if the target flies in from the S.BC area and the flying position is close to the SB area, the order in which the targets appear on the three cameras is A>C>B; if the target flies in from the S.BC area and the flying position is close to the SC area, the order in which the targets appear on the three cameras is A>B>C; If the target flies in from the S.AC area and the flying position is opposite to the S.AC area, the order in which the targets appear on the three cameras is B>A=C; if the target flies in from the S.AC area and the flying position is close to the SC area, the order in which the targets appear on the three cameras is B>A>C; if the target flies in from the S.AC area and the flying position is close to the SA area, the order in which the targets appear on the three cameras is B>C>A.
3. The method for realizing multi-angle recording based on multiple cameras according to claim 2, characterized in that: The determination of the flying tracks of the target in each camera when it flies out of different 3D space areas includes: If the target flies out of the SA area and the flying position is facing the SA area, the order in which the target disappears from the three cameras is A>B=C; if the target flies out of the SA area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is A>C>B; if the target flies out of the SA area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is A>B>C; If the target flies out of the SB area and the flying position is facing the SB area, the order in which the target disappears from the three cameras is B>A=C; if the target flies out of the SB area and the flying position is close to the S.AB area, the order in which the target disappears from the three cameras is B>A>C; if the target flies out of the SB area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is B>C>A; If the target flies out of the SC area and the flying position is facing the SC area, the order in which the target disappears from the three cameras is C>A=B; if the target flies out of the SC area and the flying position is close to the S.BC area, the order in which the target disappears from the three cameras is C>B>A; if the target flies out of the SC area and the flying position is close to the S.AC area, the order in which the target disappears from the three cameras is C>A>B; If the target flies out of the S.AB area and the flying position is facing the S.AB area, the order in which the target disappears from the three cameras is A=B>C; if the target flies out of the S.AB area and the flying position is close to the SA area, the order in which the target disappears from the three cameras is A>B>C; if the target flies out of the S.AB area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>A>C; If the target flies out of the S.BC area and the flying position is facing the S.BC area, the order in which the target disappears from the three cameras is B=C>A; if the target flies out of the S.BC area and the flying position is close to the SB area, the order in which the target disappears from the three cameras is B>C>A; if the target flies out of the S.BC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>B>A; If the target flies out of the S.AC area and the flying position is facing the S.AC area, the order in which the target disappears from the three cameras is A=C>B; if the target flies out of the S.AC area and the flying position is close to the SC area, the order in which the target disappears from the three cameras is C>A>B; if the target flies out of the S.AC area and the flying position is close to the SA area, the order in which the target disappears from the three cameras is A>C>B.
4. The method for realizing multi-angle recording based on multiple cameras according to claim 3, characterized in that: Also includes: The 3D surround video clip is shared on social media.
5. A system for realizing multi-angle recording based on multiple cameras, based on the method for realizing multi-angle recording based on multiple cameras according to any one of claims 1 to 4, characterized in that: include: Video acquisition module, used to realize 360° video acquisition; The region division module is used to divide the 3D space region based on the position of each camera; The track acquisition module is used to determine the flying track of the target in each camera when it flies into different 3D space areas, and to determine the flying track of the target in each camera when it flies out of different 3D space areas; The video clip generation module is used to perform video editing according to the target's flying-in trajectory and flying-out trajectory to generate 3D surround video clips.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor executes the computer program, the method for realizing multi-angle recording based on multiple cameras as described in any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it is capable of implementing the method for realizing multi-angle recording based on multiple cameras as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Poultry food intake parallel anomaly detection method based on BIM and artificial intelligence
CN111797831A
Bird shooting method, device and equipment based on bird house and storage medium
CN115811649A