WO2021204298A1 - Photographing method, device and system - Google Patents

Photographing method, device and system Download PDF

Info

Publication number
WO2021204298A1
WO2021204298A1 PCT/CN2021/086726 CN2021086726W WO2021204298A1 WO 2021204298 A1 WO2021204298 A1 WO 2021204298A1 CN 2021086726 W CN2021086726 W CN 2021086726W WO 2021204298 A1 WO2021204298 A1 WO 2021204298A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
target
objects
panoramic
detail
Prior art date
Application number
PCT/CN2021/086726
Other languages
French (fr)
Chinese (zh)
Inventor
刘琳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021204298A1 publication Critical patent/WO2021204298A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Definitions

  • the embodiments of the present application relate to the field of image processing technology, and in particular, to a shooting method, device, and system.
  • the shooting of characters is mainly realized by the way of gun-ball linkage (the action of the gun-camera and the ball-camera linkage).
  • the process includes: the gun camera obtains the panoramic video of the monitoring area, analyzes the traveling direction of the target person in the panoramic video, and drives the dome camera that manages the direction of the target person to shoot the details of the target person.
  • the dome camera performs positioning and focus adjustment according to the instructions of the camera, and then obtains the detailed information of the target person and reports it to the user.
  • This application provides a shooting method, device and system.
  • the position of the detail camera only needs to be adjusted once. It can complete the shooting of multiple objects, prolong the service life of the detail camera, and reduce the missed shooting rate.
  • a shooting method communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras.
  • the method may include: the panoramic camera captures a panoramic image, and the panoramic image It includes a target object set with multiple objects; the panoramic camera selects the target detail camera from multiple detail cameras, where the target object set is within the visible range of the target detail camera; the panoramic camera sends shooting instructions to the target detail camera,
  • the shooting command carries a single pan/tilt/zoom (pan/tilt/zoom) PTZ value, and the shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is in the field of view of the target detail camera In, and shooting; the panoramic camera receives the response of the shooting completion instruction sent by the target detail camera; the panoramic camera marks the objects in the target object set as the shooting completed.
  • the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value. You can get detailed information about multiple objects.
  • the objects in the panoramic image can be regarded as different object sets according to the detailed cameras corresponding to the objects, that is, the panoramic objects include one or more object sets, and one object set has multiple objects.
  • the panoramic camera can treat the objects corresponding to the same detail camera in the panoramic image as a set of objects.
  • an object corresponds to multiple detail cameras
  • it can be determined according to a preset rule that the object corresponds to a certain detail camera.
  • the user can configure the preset rules according to the actual situation, which is not limited in this application.
  • the objects included in the object set may be objects that have not been photographed.
  • the panoramic camera may randomly select an object set as the target object set.
  • the method may further include: before sending the shooting instruction, the panoramic camera marks the state of all objects in the target object set as the state to be shot.
  • the panoramic camera marks the objects in the target object set as shooting completed, specifically: the panoramic camera updates the state of all objects in the target object set to the state of shooting completed.
  • the method may further include: the target detail camera receives a shooting instruction sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction; N objects in the field of view are shot once respectively, and the object information of N objects is obtained.
  • the N objects include all objects in the target object set; the target detail camera sends the response to the panoramic camera to complete the shooting instruction; the target detail camera sets N
  • the object information of M objects in the object is reported, and the reported object is a panoramic camera or a host. M is greater than or equal to 1 and less than or equal to N.
  • the detail camera obtains object information of multiple objects according to the first PTZ value, which reduces the number of adjustments of the detail camera, further extends the service life of the detail camera, and reduces the missed shot rate.
  • the object information of an object may be the original image captured by the target detail camera for its field of view, which contains an image sub-region of the object.
  • the method may further include: the target detail camera reports the original images of the M objects.
  • the original image of the object is sent to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was taken is also saved, which is convenient for the user to further process. .
  • the object information of an object may be an image with indication information added to the original image captured by the target detail camera for its field of view,
  • the indication information is used to indicate the position of an object in the original image.
  • the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
  • the first object is any one of the N objects
  • the method may further include: a target detail camera From the object information of the first object, obtain the feature of the first object; the target detail camera compares the feature of the first object with the feature library of the target detail camera, and the feature library of the target detail camera stores the target detail camera’s shots.
  • the target detail camera deletes the object information of the first object; the reported object information of the M objects does not contain the first object’s Object information; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported object information of the M objects includes the object information of the first object.
  • the object information reported by the detail camera to the host or the panoramic camera is the object information after its own deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
  • the method may further include: the panoramic camera receives the object information of M objects sent by the target detail camera, and M is greater than or equal to 1. ;
  • the panoramic camera obtains the features of the M objects according to the object information of the M objects;
  • the panoramic camera compares the features of the M objects with the feature library of the panoramic camera;
  • the feature library of the panoramic camera stores the objects shot by multiple detail cameras The feature;
  • the panoramic camera will delete the remaining object information after deleting the object information of the object with matching features in the feature library of the panoramic camera among the object information of the M objects to the host.
  • the object information reported by the panoramic camera to the host is the object information after cross deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
  • the method may further include: the panoramic camera acquires the subject of the target detail camera, and the subject of the target detail camera may also include the target Objects outside the set of objects; after the panoramic camera receives a response to the completion of the shooting instruction, the panoramic camera marks the objects outside the set of target objects shot by the target detail camera as shooting completed.
  • the panoramic camera can mark each object captured by the detail camera. Further, the panoramic camera can use unmarked objects as objects in the target object set, which improves the efficiency of shooting and reduces repetition. Rate.
  • the panoramic image includes multiple object sets, and the target object set is the object set with the highest priority in the panoramic image.
  • the method may further include: the panoramic camera re-shoots to obtain a new panoramic image, the new panoramic image includes a new target object set with multiple objects; the new target object set It is the set of objects with the highest priority in the new panoramic image; the panoramic camera selects a new target detail camera from multiple detail cameras, and sends a new shooting instruction carrying a single pan/tilt/zoom PTZ value to the new target detail camera.
  • New shooting The instruction is used to instruct the new target detail camera to execute: adjust the shooting position according to the PTZ value included in the new shooting instruction so that the new target object set is located in the field of view of the target detail camera and shoot.
  • each processing object is the object set with the highest priority in the object set, which can effectively reduce the missed detection rate.
  • the panoramic camera may first obtain priority information of each object set in the panoramic image, and then select the object set with the highest priority as the target object set.
  • the panoramic camera may determine the priority of each object in the panoramic image, and use the priority of the object with the highest priority in the object set as the priority of the object set.
  • the panoramic camera can determine the priority for each object in the panoramic image, and use the average value of the sum of the priorities of the first X objects with priority from high to low in the object set as the object set Priority.
  • X is greater than or equal to 2.
  • the panoramic camera may configure the priority of each object in the panoramic image according to the actual situation, which is not limited in this application.
  • the panoramic camera is a box camera
  • the detail camera is a dome camera
  • a shooting method which can be applied to a target detail camera in a shooting system.
  • the shooting system may include a panoramic camera and multiple detail cameras, the panoramic camera communicates with the multiple detail cameras, and the viewing range of the panoramic camera It spans the visible range of multiple detail cameras.
  • the target detail camera is the detail camera selected by the panoramic camera among the multiple detail cameras.
  • the method may include: the target detail camera receives a shooting instruction sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction; the target detail camera shoots N objects in its field of view once to obtain N objects
  • the N objects include all objects in the target object set; the target detail camera sends a response to the panoramic camera to complete the shooting instruction; the target detail camera reports the object information of M objects in the N objects, and the reported object is a panoramic camera Or host, M is greater than or equal to 1 and less than or equal to N.
  • the detail camera receives a single PTZ value sent by the panoramic camera, and after the detail camera adjusts the position according to the single PTZ value, multiple objects are acquired
  • the detail information of multiple objects is obtained, which reduces the number of adjustments of the detail camera, prolongs the service life of the detail camera, and reduces the missed shot rate.
  • the object information of an object may be the target detail camera and the original image captured by its field of view contains an image sub-region of the object.
  • the method may also include: target detail The camera reports the original images of M objects.
  • the original image of the object is reported to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was shot is also saved, which is convenient for the user to further process .
  • the object information of an object may be an image of indication information added to the original image captured by the target detail camera for its field of view,
  • the indication information is used to indicate the position of an object in the original image.
  • the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
  • the first object is any one of the N objects
  • the method may further include: a target detail camera From the object information of the first object, obtain the feature of the first object; the target detail camera compares the feature of the first object with the feature library of the target detail camera, and the feature library of the target detail camera stores the target detail camera’s shots.
  • the target detail camera deletes the object information of the first object; the reported object information of the M objects does not contain the first object’s Object information; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported object information of the M objects includes the object information of the first object.
  • the object information reported by the detail camera to the host or the panoramic camera is the object information after its own deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
  • a photographing device in a third aspect, can be deployed on a panoramic camera, the panoramic camera communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras.
  • the device may include: The shooting unit is used to shoot a panoramic image, which includes a target object set with multiple objects; the selection unit is used to select a target detail camera from a plurality of detail cameras, wherein the target object set is located in the target detail camera. Within the viewing range; the sending unit is used to send shooting instructions to the target detail camera.
  • the shooting command carries a single pan/tilt/zoom PTZ value.
  • the shooting command is used to instruct the target detail camera to execute: adjust the shooting according to the PTZ value included in the shooting command
  • the position is such that the target object set is located in the field of view of the target detail camera and photographed;
  • the receiving unit is used to receive the response of the shooting completion instruction sent by the target detail camera;
  • the marking unit is used to mark the objects in the target object set as photographing completed.
  • the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value to obtain the multiple Details of each object.
  • a single PTZ value to achieve detailed shooting of multiple objects, reducing the number of adjustments of the detail camera, further extending the service life of the detail camera, and reducing the missed shot rate.
  • the marking unit is further configured to mark the states of all objects in the target object set as the states to be photographed before sending the photographing instruction.
  • the marking unit is specifically used to: update the state of all objects in the target object set to a state where the shooting is completed.
  • the receiving unit is further configured to receive object information of M objects sent by the target detail camera, where M is greater than or equal to 1;
  • the device may further include: a first acquisition unit for acquiring features of M objects from the object information of the M objects; a comparison unit for comparing features of M objects with the feature library of the panoramic camera; panoramic camera
  • the feature library stores the features of the objects photographed by multiple detail cameras; the sending unit is used to delete the object information of the M objects from the object information of the object with matching features in the feature library of the panoramic camera.
  • the information is sent to the host.
  • the object information reported by the panoramic camera to the host is the object information after cross deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
  • the device may further include: a second acquisition unit configured to acquire the subject of the target detail camera, and the target detail camera captures
  • the objects also include objects outside the target object set; the marking unit is also used to mark the objects outside the target object set captured by the target detail camera as the completion of shooting after the receiving unit receives a response to the completion of the shooting instruction.
  • the panoramic camera can mark each object captured by the detail camera. Further, the panoramic camera can use unmarked objects as objects in the target object set, which improves the efficiency of shooting and reduces repetition. Rate.
  • the panoramic image includes multiple object sets, and the target object set is the object set with the highest priority in the scene image.
  • the shooting unit is also used to: after the receiving unit receives the response to the shooting completion instruction sent by the target detail camera, re-shoot to obtain a new panoramic image, the new panoramic image includes a new target object set with multiple objects; the new target object set is new The set of objects with the highest priority in the panoramic image; the selection unit is also used to: select a new target detail camera from multiple detail cameras; the sending unit is also used to: send a single pan/tilt/zoom PTZ value to the new target detail camera The new shooting instruction is used to instruct the new target detail camera to execute: adjust the shooting position according to the PTZ value included in the new shooting instruction so that the new target object set is in the field of view of the target detail camera and shoot.
  • each processing object is the object set with the highest priority in the object set, which can effectively reduce
  • a photographing device in a fourth aspect, can be deployed in a target detail camera in a photographing system.
  • the panoramic camera communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras.
  • the target detail camera is the detail camera selected by the panoramic camera among the multiple detail cameras.
  • the device may include: a receiving unit for receiving a shooting instruction sent by the panoramic camera; an adjustment unit for adjusting the shooting position according to the PTZ value included in the shooting instruction; a processing unit for shooting N objects in the field of view once respectively , Get the object information of N objects, N objects include all objects in the target object set; the first sending unit is used to send the response to the panoramic camera to complete the shooting instruction; the second sending unit is used to transfer the N objects
  • the object information of M objects is reported.
  • the reported object is a panoramic camera or a host, and M is greater than or equal to 1 and less than or equal to N.
  • the detail camera receives a single PTZ value sent by the panoramic camera, and the detail camera obtains multiple values after adjusting the position according to the single PTZ value.
  • Detailed information about the object Using a single PTZ value to achieve detailed shooting of multiple objects, reducing the number of adjustments of the detail camera, further extending the service life of the detail camera, and reducing the missed shot rate.
  • the object information of an object is an image subregion containing an object in the original image captured by the processing unit on the field of view, and the second sending unit is also used to:
  • the original image of the object is reported.
  • the original image of the object is sent to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was taken is also saved, which is convenient for the user to further process. .
  • the object information of an object may be an image with indication information added to the original image captured by the processing unit on the field of view. Used to indicate the position of an object in the original image.
  • the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
  • the first object is any one of the N objects
  • the apparatus may further include: an acquiring unit, It is used to obtain the feature of the first object from the object information of the first object; the comparison unit is used to compare the feature of the first object with the feature library of the device, and the feature library of the device stores the photos taken by the processing unit The feature of the object; the feature library of the target detail camera stores the features of the object photographed by the target detail camera; the processing unit is specifically used for: if the feature library of the target detail camera has a feature that matches the feature of the first object, the target detail The camera deletes the object information of the first object; the reported object information of the M objects does not include the object information of the first object; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported M
  • the object information of each object includes the object information of the first object.
  • the object information reported by the detail camera to obtain the feature of the first object from the object information of the first object
  • the comparison unit is used to compare the feature of the first
  • a photographing device may include a processor and a memory, the memory and the processor are coupled, the memory is connected to the processor, and the memory is used to store a computer program.
  • the processor executes the computer program
  • the photographing device executes The action of the panoramic camera in the first aspect or any possible implementation manner of the first aspect.
  • a photographing device may include a processor and a memory, the memory and the processor are coupled, the memory is connected to the processor, and the memory is used to store a computer program.
  • the processor executes the computer program
  • the photographing device executes The action of the detail camera in the second aspect or any possible implementation manner of the second aspect.
  • a photographing system may include a panoramic camera and multiple detail cameras, the panoramic camera communicates with the multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras;
  • the panoramic camera is used to capture a panoramic image, which includes a target object set with multiple objects; select a target detail camera from multiple detail cameras, where the target object set is within the visible range of the target detail camera; Send a shooting command to the target detail camera.
  • the shooting command carries a single pan/tilt/zoom PTZ value.
  • the shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is located in the target detail camera In the field of view, and shoot; the detail camera as the target detail camera is used to receive the shooting instruction sent by the panoramic camera; adjust the shooting position according to the PTZ value included in the shooting instruction; shoot each of the N objects in the field of view once to obtain N Object information of three objects; N objects include all objects in the target object set; send the response to the panoramic camera to complete the shooting instruction; report the object information of M objects in the N objects, and the reported object is the panoramic camera or the host, M It is greater than or equal to 1 and less than or equal to N; the panoramic camera is also used to receive the response of the shooting completion instruction sent by the target detail camera; and mark the object in the target object set as the shooting completed.
  • An eighth aspect provides a photographing system, which may include any possible photographing device of the third aspect or the third aspect and any possible photographing device of the fourth aspect or the fourth aspect.
  • the shooting system is running, the shooting method in any one of the foregoing aspects or any one of the possible implementation manners is executed.
  • an embodiment of the present application provides a chip system.
  • the chip system includes a processor and may also include a memory for realizing the function of the panoramic camera in the foregoing method.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • an embodiment of the present application provides a chip system.
  • the chip system includes a processor and may also include a memory for realizing the function of the detail camera in the above method.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • an embodiment of the present application also provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any one of the foregoing aspects or any one of the possible implementations of the shooting method .
  • the embodiments of the present application also provide a computer program product, which when it runs on a computer, causes the computer to execute any one of the above-mentioned aspects or the shooting method in any one of the possible implementation manners.
  • FIG. 1A is a schematic diagram of a typical joint shooting scene provided by the prior art
  • Fig. 1 is a schematic structural diagram of a joint shooting system provided by the prior art
  • FIG. 2 is a schematic diagram of the field of view and the visible range of a detail camera provided by an embodiment of the application;
  • 3 is a schematic diagram of the positional relationship between the panoramic camera and the visible range of multiple detail cameras provided by an embodiment of the application;
  • FIG. 4 is a schematic structural diagram of a photographing device provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a shooting method provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a joint shooting scene provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of an original image and object information of an object provided by an embodiment of this application.
  • FIG. 8 is a schematic diagram of the original image and object information of another object provided by an embodiment of this application.
  • FIG. 9 is a schematic flowchart of another shooting method provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of another joint shooting scene provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of an original image of a person and object information provided by an embodiment of this application.
  • FIG. 12 is a schematic structural diagram of a photographing device provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of another photographing device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application.
  • FIG. 15 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application.
  • FIG. 16 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application.
  • FIG. 17 is a schematic structural diagram of another photographing device provided by an embodiment of the application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner to facilitate understanding.
  • A/B can mean A or B; the "and/or” in this application is only It is a kind of association relationship that describes the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B It can be singular or plural.
  • plural means two or more than two.
  • the following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • At least one may also be described as one or more, and the multiple may be two, three, four or more, which is not limited in the present application.
  • Objects can refer to people or things. Specifically, the object can refer to a certain person, can also refer to a certain animal, of course, can also refer to other subjects, such as automobiles and license plates.
  • Panoramic camera as opposed to detail camera, can refer to a camera that can shoot large-range and wide-angle video images.
  • the images in various scenes captured by a panoramic camera are called panoramic images.
  • the panoramic camera may be a box camera.
  • the visual range of a panoramic camera and the visual range of multiple detail cameras overlap.
  • the visual range of a panoramic camera includes the visual range of multiple detail cameras.
  • a detail camera can refer to a camera that has a smaller shooting range than a panoramic camera and can shoot video images in different directions and at different focal lengths. Among them, the detail camera usually adjusts the position first, and then shoots to obtain the detailed information of the person.
  • the image captured by the detail camera is called the original image or object information.
  • the detail camera may be a dome camera.
  • the field of view of the camera can refer to the area range in which the camera can obtain the picture when the camera is in a certain position (fixed angle, fixed focal length).
  • the field of view is fixed; for adjustable cameras, the field of view changes correspondingly every time the posture is adjusted according to the PTZ value.
  • the visual range of the camera can refer to the maximum area of the picture that the camera can obtain.
  • the visual range of the adjustable camera may be the union of the visual fields at different angles and different focal lengths. It should be understood that the visual range of the adjustable camera is smaller than the visual range.
  • the field of view of the non-adjustable camera is the same size as the visual range.
  • a joint shooting scene can refer to a scene in which a panoramic camera is deployed to shoot a large-scale panoramic image, and multiple detailed cameras supporting the panoramic camera are deployed to capture object information.
  • the visual range of the panoramic camera spans the visual range of multiple detail cameras that are matched with it.
  • the visual range of each detail camera corresponds to different areas of the visual range of the panoramic camera. There can be intersections between the viewing ranges.
  • the panoramic camera monitors the objects within its visible range. When the target object is detected, it calculates the detail camera (which can be called the object information of the target object) according to the position of the target object.
  • the panoramic camera sends the calculated PTZ value to the detail camera, and the detail camera adjusts the position (angle, focal length, etc.) according to the PTZ value, and then shoots the target object in its field of view.
  • the detail camera corresponding to the area in the visual range of the panoramic camera refers to the detail camera whose visual range includes the area.
  • the detail camera corresponding to the object refers to the detail camera corresponding to the area where the object is located in the panoramic image, and the correspondence here means that the location of the object is within the visible range of the detail camera.
  • select one of the detail cameras as the corresponding detail camera of the object select one of the detail cameras as the corresponding detail camera of the object.
  • the panoramic camera is a bolt-camera
  • the detail camera is a dome camera.
  • This scene may be referred to as a bullet-camera linkage scene.
  • the positions of the bolt-camera and the dome camera are configured in the deployment phase, the bolt-camera and the dome camera are calibrated, and the coordinate mapping relationship between the bolt-camera and the dome camera is established.
  • the coordinate mapping relationship can determine the details of the person appearing in which area of the camera's visual range and which detail camera will shoot its details, and can also determine the correspondence between different areas in the camera's visual range and the detail camera.
  • the plan for shooting a target person is: the bolt-camera shoots a panoramic image in its visible range, analyzes the person in the panoramic image to determine the target person; and then determines the target person’s traveling direction
  • the field of view includes the ball machine in the forward direction of the target person as the target ball machine.
  • the PTZ value of the target ball machine is calculated to ensure that the target person is in the field of view after the adjustment position of the ball machine. Then the gun machine sends the calculated value to the target ball machine.
  • PTZ value instruct the target dome camera to adjust the position according to the PTZ value to shoot the details of the target person.
  • the shooting scheme of the bolt-camera for each target person is the same.
  • it will send multiple PTZ values to the same ball machine to adjust the position, and execute the gun-ball linkage multiple times.
  • the gun camera first sends a PTZ value to the ball machine R for the target person 1, and the ball machine R is based on the PTZ value. Adjust the shooting position, shoot the detailed information of each person in the field of view (including the target person 1), and notify the camera to complete the shooting; then, the gun camera sends a PTZ value to the dome camera R again for the target person 2, and the dome camera R adjusts the shooting position again according to the new PTZ value, shoots the detailed information of each person in its field of view (including the target person 2), and informs the gun camera to complete the shooting; after that, the gun camera sends again to the dome camera R for the target person 3 A PTZ value, the dome camera R adjusts the shooting position again according to the new PTZ value, shoots the detailed information of each person in its field of view (including the target person 3), and informs the camera to complete the shooting.
  • an embodiment of the present application provides a shooting method.
  • the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera is based on the single PTZ value once. After adjusting the position sexually, the detailed information of multiple objects can be obtained.
  • the joint shooting system 10 may include a panoramic camera 101, multiple detail cameras 102, and multiple objects 103.
  • the panoramic camera 101 communicates with a plurality of detail cameras 102, and instructs the detail camera 102 to obtain the detailed information of the object 103 and report it.
  • the shooting system 10 may further include a host 104, and the detailed information of the object 103 acquired by the detail camera 102 may be reported to the host 104 or the panoramic camera 101, and the panoramic camera 101 reports to the host 104.
  • the panoramic camera 101 is used to capture a scene in its field of view to obtain a panoramic image.
  • the panoramic camera 101 may be a box camera, or other electronic equipment that can shoot large-range and wide-angle video images, which is not limited in this application.
  • the detail camera 102 is used to obtain detailed information of the object 103.
  • the detail camera 102 may be a dome camera, or other electronic equipment that can realize video image shooting in different directions and different focal lengths, which is not limited in this application.
  • the object 103 may refer to the subject whose detailed information the user needs to obtain.
  • the object 103 can refer to a certain person in the panoramic image, can also refer to a certain animal in the panoramic image, and can also refer to other subjects in the panoramic image, such as cars and license plates.
  • a person is taken as the object 103 for illustration, which should not constitute a specific limitation on the attributes of the target object.
  • the field of view and visible range of the detail camera can be shown in Figure 2.
  • the area formed by the dotted line in FIG. 2 represents the visible range of the detail camera, and the area formed by the solid line in FIG. 2 represents the field of view of the detail camera at a specific angle and focal length.
  • FIG. 3 illustrates the positional relationship between the viewing range of the panoramic camera 101 and the multiple detail cameras 102.
  • the area formed by the solid line in FIG. 3 indicates the visible range of the panoramic camera 101, and the area formed by the broken line indicates the visible range of the detail camera 102.
  • the visual ranges of the multiple detail cameras 102 overlap, and the visual range of the panoramic camera 101 spans the visual ranges of the multiple detail cameras.
  • the panoramic camera 101 and the multiple detail cameras 102 can be configured for the visual range according to actual conditions, and this application will not list them one by one.
  • an embodiment of the present application provides a photographing device 40 for executing the photographing method provided in the present application.
  • the photographing device 40 may be deployed in the panoramic camera 101 or the detail camera 102 in the joint photographing system 10 shown in FIG. 1.
  • FIG. 4 illustrates a structural diagram of a photographing device 40 provided by an embodiment of the present application.
  • the photographing device 40 may include a processor 401, a memory 402, a transceiver 403, and an image collector 404.
  • the memory 402 may be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (HDD) or solid-state drive (solid-state drive, SSD); or a combination of the above types of memory, used to store the program code that can implement the method of this application , Configuration files, data information or other content.
  • volatile memory such as a random-access memory (RAM)
  • non-volatile memory such as a read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (HDD) or solid-state drive (solid-state drive, SSD)
  • ROM read-only memory
  • flash memory flash memory
  • HDD hard disk
  • SSD solid-state drive
  • the transceiver 403 is used for information interaction between the camera 40 and other equipment.
  • the processor 401 may be the control center of the camera 40.
  • the processor 401 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • Circuits for example: one or more microprocessors (digital singnal processors, DSP), or one or more field programmable gate arrays (FPGA).
  • the image collector 404 is used to capture images.
  • the image collector 404 may be an independent camera, a mobile phone camera, a computer camera, a dome camera, an augmented reality (AR) ⁇ virtual reality (VR) device, etc.
  • AR augmented reality
  • VR virtual reality
  • the shooting device 40 is a panoramic camera or is deployed in a panoramic camera
  • the processor 401 runs or executes software programs and/or modules stored in the memory 402 and calls video images stored in the memory 402. Data, perform the following functions:
  • a panoramic image is taken, and the panoramic image includes a target object set with multiple objects; the target detail camera is selected from a plurality of detail cameras, where the target object set is located within the visible range of the target detail camera;
  • the target detail camera sends a shooting command (the number of shooting commands is single), and the shooting command carries a single pan/tilt/zoom PTZ value.
  • the shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command to make the target
  • the object set is located in the field of view of the target detail camera and is photographed; the response to the shooting completion instruction sent by the target detail camera is received through the transceiver 403; the objects in the target object set are marked as being photographed.
  • the shooting device 40 is a detail camera or is deployed in a detail camera, and the processor 401 runs or executes a software program and/or module stored in the memory 402 and calls the video stored in the memory 402. Image data, perform the following functions:
  • the target detail camera receives the shooting command sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting command; the target detail camera shoots each of the N objects in its field of view once to obtain the object information of the N objects, N
  • the objects include all objects in the target object set; the target detail camera sends a response to the panoramic camera through the transceiver 403 to complete the shooting instruction; the target detail camera reports the object information of M objects in the N objects, and the reported object is a panoramic camera or Host, M is greater than or equal to 1 and less than or equal to N.
  • the embodiment of the present application provides a shooting method, which can be applied to the interaction process between the panoramic camera and the detail camera in the joint shooting system shown in FIG. 1.
  • the shooting method provided by the embodiment of the present application may include:
  • S501 A panoramic image is captured by a panoramic camera.
  • S501 may be implemented as: an image obtained by a panoramic camera shooting a scene within its visible range is used as a panoramic image. Among them, multiple objects, such as multiple pedestrians, are recorded in the panoramic image. A panoramic camera can detect objects in a panoramic image through a recognition algorithm.
  • the objects in the panoramic image can be regarded as different object sets according to the detailed cameras corresponding to the objects, that is, the panoramic objects include one or more object sets, and one object set has multiple objects.
  • the objects included in the object set may be objects that have not been photographed by the detail camera.
  • the panoramic camera marks the state of all objects in the target object set as the state to be photographed.
  • the panoramic camera may regard the objects corresponding to the same detail camera in the panoramic image as a set of objects.
  • an object when an object is within the visible range of multiple detail cameras, it can be determined according to a preset rule that the object corresponds to a certain detail camera.
  • the preset rule may be: selecting the detail camera with the largest number of objects in the visible range as the detail camera corresponding to the object; or selecting the detail camera with the object closest to the center area as the detail corresponding to the object Camera.
  • a joint shooting scene is shown in which a panoramic camera communicates with three detail cameras, which are recorded as detail camera 1, detail camera 2, and detail camera 3.
  • the visibility of the three detail cameras The range is shown in the area formed by the dashed line in FIG. 6, and the visible range of the panoramic camera is shown in the area formed by the solid line in FIG. 6.
  • the panoramic image captured by the panoramic camera includes 7 objects (object A to object G in FIG. 6).
  • the 7 objects can be regarded as 3 different object sets.
  • the object A, object B, and object C corresponding to the detail camera 1 can be regarded as the object set 1
  • the object D and object E corresponding to the detail camera 2 can be regarded as the object set 2.
  • the object F and the object G of the camera 3 are regarded as the object set 3.
  • the panoramic camera may select an object set as the target object set from the multiple object sets included in the panoramic image, and perform joint shooting to obtain detailed information of the objects in the target object set. That is, the panoramic image may include a set of target objects with multiple objects.
  • the manner in which the panoramic camera selects the target object set may include, but is not limited to, the following implementation 1 and implementation 2.
  • the panoramic camera can randomly select an object set as the target object set.
  • the panoramic camera selects the object set with the highest priority as the target object set.
  • the panoramic camera first obtains the priority information of each object set in the panoramic image, and then selects the object set with the highest priority as the target object set.
  • the panoramic camera may determine the priority of each object in the panoramic image, and use the priority of the object with the highest priority in the object set as the priority of the object set.
  • the panoramic camera can determine the priority for each object in the panoramic image, and use the average value of the sum of the priorities of the first X objects with priority from high to low in the object set as the object set Priority.
  • X is greater than or equal to 2.
  • the panoramic camera may configure the priority of each object in the panoramic image according to the actual situation, which is not limited in this application.
  • the panoramic camera may predict the time when each object leaves the visible range of its corresponding detail camera, and configure the priority of the object according to the predicted leaving time. For example, objects whose predicted departure time is closer to the current moment have higher priority.
  • a panoramic camera detects and tracks objects within its visible range, obtains the position, speed, direction, and appearance duration information of each object in the panoramic image, and calculates according to the position, speed, direction, and appearance duration information of each object
  • the predicted departure time of each object is calculated, and each object is sorted in the order of the predicted departure time from near to far, so that the object with the shorter predicted departure time has a higher priority, thereby obtaining the priority of each object.
  • the panoramic camera selects a target detail camera from a plurality of detail cameras.
  • the target object set is located within the visible range of the target detail camera. That is, the detail camera corresponding to the target object set is the target detail camera.
  • the panoramic camera sends a shooting instruction to the target detail camera.
  • the shooting instruction sent in S503 is single, and the shooting instruction carries a single PTZ value.
  • the shooting instruction is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is in the field of view of the target detail camera And shoot.
  • the panoramic camera first calculates the PTZ value, and then sends a shooting instruction carrying a single PTZ value to the target detail camera.
  • the panoramic camera is calculated according to the position of the target object set in the panoramic image, the position information, the desired display area of the target object set in the target detail camera, and the coordinate conversion relationship between the panoramic camera and the target detail camera.
  • the PTZ value makes the target detail camera adjust its position according to the calculated PTZ value, and the target object set is in its field of view.
  • the coordinate conversion relationship between the panoramic camera and the target detail camera is configured in the early deployment control stage of the panoramic camera and multiple detail cameras. This application will not repeat the configuration process and the process of calculating the PTZ according to the coordinate conversion relationship.
  • the calculation process of PTZ may be: a panoramic camera determines a detection area according to a set of target objects.
  • the detection area includes each object in the target object set, and the aspect ratio of the detection area is the same as the aspect ratio of the picture obtained by the target detail camera.
  • the panoramic camera obtains the width and height of the picture according to the size of the detection area in the panoramic image and the target detail camera, and calculates the zoom (Z) value.
  • the panoramic camera calculates the position of the detection area in the panoramic image, as well as the panoramic camera and the target detail camera.
  • the coordinate conversion relationship of calculates the translation (Pan, P) value and the pitch (Tilt, T) value.
  • the detection area can be determined as: in the panoramic image, the person with the highest priority in the target object set is the center, and the Is the width, with Is the height area.
  • h is the height of the person with the highest priority in the panoramic image
  • rh is the expected height of the person with the highest priority in the target detail camera image.
  • the target detail camera receives a shooting instruction sent by the panoramic camera.
  • S505 The target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction.
  • its field of view includes each object in the target object set.
  • S506 The target detail camera shoots each object in its field of view once to obtain object information of N objects.
  • N objects include all objects in the target object set.
  • the target detail camera monitors the object in its field of view. When it detects that the object in the field of view meets the shooting condition, the target detail camera shoots once to obtain the object information of the object that meets the shooting adjustment.
  • the shooting condition is a pre-configured condition that can obtain the most detailed information of the object.
  • the shooting condition may be that the object is facing the target detail camera, or it may be that the angle between the line of sight of the object and the central axis of the field of view of the target detail camera is less than or equal to a preset degree.
  • the value of the preset degree can be configured according to actual needs, which is not limited in the embodiment of the present application.
  • the target detail camera allocates a shooting once for each object in its field of view when it meets the shooting conditions, and obtains its object information. If the field of view of the target detail camera includes N objects, the object information of the N objects can be obtained. Among them, N is greater than or equal to 1.
  • the field of view of the target detail camera may include part or all of the objects in the target object set. Further, the field of view of the target detail camera may also include objects outside the set of target objects, for example, when a new object enters the field of view of the target detail camera.
  • the object information of an object is used to reflect the detailed information of the object, and the content and form of the object information can be configured according to actual needs, which is not limited in this application.
  • the methods for obtaining the object information in S506 are also different, and the specific methods may include, but are not limited to, the following two methods.
  • the object information of an object is an image in which the target detail camera adds indication information to the original image captured by its field of view, and the indication information is used to indicate the position of the object in the original image.
  • the object information of the object obtained by the target detail camera can be specifically realized as follows: when the target detail camera detects that an object in its field of view meets the shooting conditions, the original image is obtained by shooting its field of view, and indication information is added to the original image. Get the object information of the object.
  • the indication information may be coordinate information, or an indication frame or others.
  • the target detail camera satisfies the shooting conditions of the object A
  • the original image obtained by shooting its field of view is shown on the left in Figure 7, and a rectangular frame is added to the position of the object A in the original image to indicate the object A
  • the image to which the rectangular frame is added (the right image in FIG. 7) is used as the object information of the object A.
  • the object information of an object is the image sub-region of the object contained in the original image captured by the target detail camera for its field of view.
  • the object information of the object obtained by the target detail camera can be specifically implemented as follows: when the target detail camera detects that an object in its field of view meets the shooting conditions, the original image is obtained from its field of view, and the original image is obtained from the original image containing the object.
  • the image sub-area of the sub-area, the sub-area image as the object information of the object is specifically implemented as follows: when the target detail camera detects that an object in its field of view meets the shooting conditions, the original image is obtained from its field of view, and the original image is obtained from the original image containing the object.
  • the image sub-area of the sub-area, the sub-area image as the object information of the object.
  • the target detail camera satisfies the shooting conditions
  • the original image obtained by shooting its field of view is shown on the left in Figure 8
  • the target detail camera cuts out the area containing the object B in the original image as a picture.
  • the image obtained by the cutout is used as the object information of object B.
  • the target detail camera reports the object information of M objects among the N objects.
  • the report object reported by the target detail camera in S507 is the panoramic camera or the host.
  • M is greater than or equal to 1 and less than or equal to N.
  • the target detail camera may perform the operation of S507 after obtaining the object information of an object, and finally report the object information of M objects.
  • the target detail camera After the target detail camera obtains the object information of the N objects, it executes the operation of S507 to report the object information of M objects among the N objects.
  • the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506.
  • S507 it is also necessary to execute:
  • the target detail camera reports the original images of M objects.
  • S507 can be implemented through the following two solutions (solution A or solution B).
  • Solution A The target detail camera directly reports the object information of the object obtained in S506.
  • the target detail camera can report the object information of an object every time it obtains it in S506.
  • the target detail camera may obtain the object information of the N objects in S506 and report them together.
  • Solution B The target detail camera performs its own deduplication, and reports the object information of objects that do not match the features in the feature library, and does not report the object information of objects that match the features in the feature library.
  • the target detail camera can obtain the object information of an object in S506, and then after self-de-duplication, it will report the object information that does not match the feature in the feature library, (the object that matches the feature in the feature library will be The information is deleted and not reported).
  • the target detail camera may obtain the object information of the N objects in S506 and then perform self-deduplication, and report the object information of the M objects that do not match the features in the feature library together.
  • the self-deduplication process of the target detail camera may include the following S507a and S507b.
  • the first object is any one of the N objects.
  • the target detail camera acquires the feature of the first object from the object information of the first object.
  • the target detail camera uses a feature extraction algorithm to extract the feature of the first object from the object information of the first object.
  • the characteristics of the first object can be used to represent different characteristics of the first object.
  • the characteristics of the first object can be used to represent the person's appearance, age, body shape, and facial information.
  • the target detail camera compares the feature of the first object with the feature library of the target detail camera.
  • the feature library of the target detail camera stores the features of the object photographed by the target detail camera.
  • the target detail camera respectively calculates the similarity between the feature of the first object and the feature of each object in the feature library of the target detail camera. If the feature of the first object is between the feature of an object in the feature library If the similarity of the first object is less than the threshold, it is considered that the feature of the first object matches the feature of an object in the feature library; if the similarity between the feature of the first object and the feature of an object in the feature library is greater than the threshold , It is considered that the feature of the first object does not match the feature of an object in the feature library; each feature in the feature library is traversed to determine whether the feature library of the target detail camera matches the feature of the first object feature.
  • the specific value of the threshold can be configured according to actual needs, which is not limited in the embodiment of the present application.
  • the feature of the first object can be considered to be the same as that of an object in the feature library according to actual needs. Feature matches or does not match.
  • the target detail camera in S507 reports the object information of the first object, and the reported object information of the M objects includes the first object.
  • the object information of the object if there is a feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object in S507, and the reported object information of the M objects does not include the first object.
  • Object information of the object if there is no feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object in S507, and the reported object information of the M objects does not include the first object.
  • the target detail camera sends a response to the panoramic camera to complete the shooting instruction.
  • the target detail camera may perform S508 after shooting all the objects in its field of view to send a response of the shooting completion instruction to the panoramic camera.
  • the response of the shooting completion instruction is used to indicate that the target detail camera is included in the shooting instruction The shooting of all objects has been completed under the PTZ value.
  • the panoramic camera receives a response to the shooting completion instruction sent by the target detail camera.
  • the panoramic camera marks an object in the target object set as being photographed.
  • the panoramic camera executes S510 to mark the objects in the target object set as shooting completed.
  • the panoramic camera marking the objects in the target object set as photographed in S510 specifically includes: The panoramic camera updates the state of all objects in the target object set to the state where the shooting is completed.
  • the panoramic camera establishes a table according to the detected objects, and configures the shooting attributes of each object in the table, and the shooting attributes may include the state to be shot or the state that the shooting is completed.
  • the panoramic camera marks all the object shooting attributes in the target object set as the state to be shot.
  • the shooting attribute of each object included in the target object set in the table is updated to the shooting completed status.
  • the panoramic camera marking the objects in the target object set as shooting completed specifically includes: the panoramic camera sets the state of all the objects in the target object set as the shooting completed state.
  • the panoramic camera can also perform image monitoring and identify objects within its visual range.
  • the panoramic camera in addition to marking the objects in the target object set as photographing completed, the panoramic camera may also mark objects other than the target object set in the target detail camera's field of view during screen monitoring as photographing completed.
  • the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value. You can get detailed information about multiple objects.
  • the shooting method provided in this application may further include:
  • the panoramic camera receives the object information of the M objects sent by the target detail camera.
  • the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506, and the panoramic camera in S511 can also receive M The original image of each object.
  • the panoramic camera sends the object information of the H objects to the host.
  • H is less than or equal to M.
  • the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506.
  • S512 it is also necessary to execute:
  • the panoramic camera sends the original images of H objects to the host.
  • S512 can be implemented by the following two methods (method A or method B).
  • Method A The panoramic camera sends the content received in S511 to the host.
  • the panoramic camera can send the object information to the host every time it obtains the object information of an object in S511. Or, the panoramic camera may obtain the object information of M objects in S511, and send them to the host together.
  • Method B The panoramic camera sends the object information of the H objects after cross-deduplication of the object information of the M objects to the host.
  • the panoramic camera can perform cross deduplication every time it obtains the object information of an object in S511, and send the object information that does not match the features in the feature library to the host.
  • the panoramic camera may obtain the object information of the M objects in S511 and then perform cross deduplication, and send the object information of the H objects that do not match the features in the feature library to the host.
  • This process may include the following S512a and 512b.
  • the panoramic camera acquires the features of the M objects according to the object information of the M objects.
  • the panoramic camera uses a feature extraction algorithm to extract features of M objects from the object information of M objects.
  • the panoramic camera compares the features of the M objects with the feature library of the panoramic camera.
  • the feature library of the panoramic camera stores the features of the objects photographed by multiple detail cameras.
  • the panoramic detail camera compares the feature of each object in the M objects with each feature in the feature library of the panoramic detail camera, and judges whether the feature library of the panoramic detail camera is different from that of the M objects. Feature matching feature.
  • the panoramic camera in S512 sends the object information of the M objects to the host;
  • the feature matching the feature of some or all of the objects in the object the panoramic camera in S512 deletes the object information of the M objects with matching features in the feature library of the panoramic camera and sends the remaining object information to the host .
  • the shooting method provided in this application may further include: updating the feature database.
  • updating the feature database Including the panoramic camera update the feature library of the panoramic camera, and/or the detail camera update the feature library of the detail camera.
  • the process of updating the signature database is similar for the two.
  • the feature database can be updated according to preset conditions.
  • the preset condition may be: when performing deduplication, directly store the features that do not match the feature library in the feature library; update the features that match the feature library to the feature library, and delete the matching of the feature library at the same time The feature with the longest storage time among the features.
  • preset rules can also be configured according to actual needs, which are not limited in the embodiment of the present application.
  • the feature of the second object can be updated to the target detail The feature library of the camera, and delete the feature with the longest storage time of the second object in the feature library of the target detail camera; if there is no feature matching the feature of the second object in the feature library of the target detail camera, you can change the feature of the second object The feature is added to the feature library of the target detail camera.
  • the target detail camera after the target detail camera completes its own deduplication, the target detail camera can update its feature library according to the preset condition; after the panoramic camera completes cross deduplication, the panoramic camera can update its feature library according to the preset condition.
  • the panoramic camera can cyclically execute the solution provided in this application for different target object sets.
  • the shooting method provided in the embodiment of the present application may further include: the panoramic camera selects a second detail camera from a plurality of detail cameras and sends a second shooting instruction , To photograph objects in the second object set, where the second object set includes: objects included in the panoramic image that are not included in the target object set.
  • the method provided in this application may further include: obtaining the highest priority object set in the panoramic image except the target object set, and the object set Assemble for shooting, and perform the above-mentioned related steps, which will not be repeated here.
  • the shooting method provided in this embodiment of the present application may also re-execute S501 panoramic camera to re-shoot to obtain a new panoramic image, and perform part or all of S502 to S512 based on the new panoramic image.
  • S501 to S512 which will not be repeated one by one.
  • the outdoor scene is deployed with one panoramic camera and three detail cameras, which are recorded as detail camera 1, detail camera 2, and detail camera 3 respectively.
  • the panoramic camera captures a panoramic image of its field of view, and according to the detailed camera corresponding to the object, the people in the panoramic image are regarded as different sets of people. Specifically, as shown in FIG. 10, the character A, the character B, and the character C corresponding to the detail camera 1 are regarded as the character set 1, and the character D and the character E corresponding to the detail camera 2 are regarded as the character set 2.
  • the panoramic camera acquires the priority of 5 characters, and the priority of character A is the highest.
  • the character set 1 is used as the target character set, and the detail camera 1 corresponding to the character set 1 is used as the target detail camera.
  • the panoramic camera sends a shooting instruction and PTZ value to the detail camera 1, instructing the detail camera 1 to adjust the position according to the PTZ value, so that the set of people 1 is in its field of view.
  • the detail camera receives the instruction and the PTZ value, adjusts the position according to the PTZ value, and shoots the person A, the person B, and the person C in its field of view respectively once to obtain the original images of the three characters, and then according to the original images of the three characters Obtain the object information of the three characters.
  • the left side is the original image of the person A, the person B, and the person C
  • the right side is the object information of the person A, the person B, and the person C.
  • the detail camera 1 performs self-de-duplication on the object information of the three characters. There is no matching feature in the feature library of the detail camera 1, and the detail camera 1 sends the object information of the three characters to the panoramic camera.
  • the panoramic camera performs cross deduplication on the received object information of the three characters.
  • the feature of character C matches a feature in the feature library of the panoramic camera.
  • the panoramic camera deletes the object information of character C and deletes the objects of character A and character B.
  • the information is sent to the host.
  • each photographing device such as a panoramic camera, a detail camera, etc.
  • each photographing device includes a hardware structure and/or software module corresponding to each function.
  • the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
  • the embodiment of the present invention may divide the function modules of the photographing device and the like according to the foregoing method examples.
  • each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 12 shows a photographing device 120 provided in an embodiment of this application, which is used to implement the function of the panoramic camera in the above method.
  • the photographing device 120 may be a panoramic camera or the photographing device 120 may be deployed in a panoramic camera.
  • the photographing device 120 may include: a photographing unit 1201, a selection unit 1202, a sending unit 1203, a receiving unit 1204, and a marking unit 1205.
  • the photographing unit 1201 is used to perform S501 in FIG. 5 or FIG. 9; the selection unit 1202 is used to perform S502 in FIG. 5 or FIG. 9; the sending unit 1203 is used to perform S503 in FIG. 5 or FIG. S509 in FIG. 5 or FIG.
  • the photographing device 120 may further include: a first acquiring unit 1206, a comparing unit 1207, a sending unit 1208, and a second acquiring unit 1209.
  • the first obtaining unit 1206 is used to perform S512a in FIG. 9;
  • the comparison unit 1207 is used to perform S512b in FIG. 9;
  • the sending unit 1208 is used to perform S512 in FIG. 9;
  • the second obtaining unit 1209 is used to perform S510 in FIG.
  • All relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
  • the photographing device 140 provided in this embodiment of the present application is used to implement the function of the panoramic camera in the foregoing method.
  • the photographing device 140 may be a panoramic camera or the photographing device 140 may be deployed in a panoramic camera.
  • the photographing device 140 includes at least one processing module 1401 for implementing the function of the panoramic camera in the method provided in the embodiment of the present application.
  • the processing module 1401 may be used to execute the processes S502 and S510 in FIG. 5, or the processes S502, S510, S512a, and S512b in FIG. 9.
  • the processing module 1401 may be used to execute the processes S502 and S510 in FIG. 5, or the processes S502, S510, S512a, and S512b in FIG. 9.
  • the processing module 1401 may be used to execute the processes S502 and S510 in FIG. 5, or the processes S502, S510, S512a, and S512b in FIG. 9.
  • the photographing device 140 may also include at least one storage module 1402 for storing program instructions and/or data.
  • the storage module 1402 and the processing module 1401 are coupled.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processing module 1401 may operate in cooperation with the storage module 1402.
  • the processing module 1401 may execute program instructions stored in the storage module 1402. At least one of the at least one storage module may be included in the processing module.
  • the photographing device 140 may further include a communication module 1403 for communicating with other devices through a transmission medium, so as to determine that the device in the photographing device 140 can communicate with other devices.
  • the communication module 1403 is used for the device to communicate with other devices.
  • the processor 1401 may use the communication module 1403 to execute the processes S503, S509, and S512 in FIG. 5 or FIG. 9.
  • the photographing device 140 may further include an image acquisition module 1404 for photographing images.
  • the image acquisition module 1404 may be used to execute S501 in the process of FIG. 5.
  • the photographing device 140 involved in FIG. 14 in the embodiment of the present application may be the one shown in FIG. 4 Camera 40.
  • the photographing device 120 or the photographing device 140 provided in the embodiments of the present application can be used to implement the functions of the panoramic camera in the methods implemented in the various embodiments of the present application.
  • parts that are not disclosed in specific technical details please refer to the various embodiments of this application.
  • the photographing device 150 In the case of dividing each functional module corresponding to each function, as shown in FIG. 15, the photographing device 150 provided in this embodiment of the present application is used to implement the function of the detail camera in the above method.
  • the photographing device 150 may be a detail camera or the photographing device 150 may be deployed on a detail camera.
  • the photographing device 150 may include: a receiving unit 1501, an adjusting unit 1502, a first sending unit 1503, and a processing unit 1504.
  • the receiving unit 1501 is used to perform S504 in FIG. 5 or FIG. 9;
  • the adjusting unit 1502 is used to perform S505 in FIG. 5 or FIG. 9;
  • the first sending unit 1503 is used to perform S508 in FIG. 5 or FIG. 9;
  • the processing unit 1504 is used to perform S507 in Figure 5 or Figure 9.
  • all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
  • the photographing device 150 may further include: an acquisition unit 1505 and a comparison unit 1506.
  • the obtaining unit 1505 is used to execute S507a in FIG. 9;
  • the comparison unit 1506 is used to execute S507b in FIG. 9.
  • all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
  • the photographing device 170 provided in this embodiment of the application is used to implement the function of the detail camera in the above method.
  • the photographing device 170 may be a detail camera or the photographing device 170 may be deployed in a detail camera.
  • the photographing device 170 includes at least one processing module 1701, which is used to implement the function of the detailed camera in the method provided in the embodiment of the present application. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the photographing device 170 may also include at least one storage module 1702 for storing program instructions and/or data.
  • the storage module 1702 and the processing module 1701 are coupled.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processing module 1701 may operate in cooperation with the storage module 1702.
  • the processing module 1701 may execute program instructions stored in the storage module 1702. At least one of the at least one storage module may be included in the processing module.
  • the photographing device 170 may further include a communication module 1703 for communicating with other devices through a transmission medium, so as to determine that the device in the photographing device 170 can communicate with other devices.
  • the communication module 1703 is used for the device to communicate with other devices.
  • the processor 1701 uses the communication module 1703 to execute S504 and S508 in the process of FIG. 5 or FIG. 9.
  • the photographing device 170 may further include an image acquisition module 1704 for photographing images.
  • the image acquisition module 1704 may be used to perform related actions in S506 in FIG. 5.
  • the photographing device 170 involved in FIG. 17 in the embodiment of the present application may be the one shown in FIG. 4 Camera 40.
  • the photographing device 150 or the photographing device 170 provided in the embodiments of the present application can be used to implement the functions of the detailed cameras in the methods implemented in the various embodiments of the present application.
  • parts that are not disclosed in specific technical details please refer to the various embodiments of this application.
  • the photographing system may include a first photographing device and a second photographing device, the first photographing device can realize the function of a panoramic camera, and the second pass camera can realize the detail camera Function.
  • the first pass shooting is set to the panoramic camera described in the embodiment of this application
  • the second shooting device is the detail camera described in the embodiment of this application.
  • the chip system includes a processor and may also include a memory for realizing the function of the panoramic camera in the embodiment shown in FIG. 5 or FIG. 9.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the chip system includes a processor and may also include a memory for realizing the function of the detailed camera in the embodiment shown in FIG. 5 or FIG. 9.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the computer-readable storage medium may include a computer program.
  • the computer program runs on a computer, the computer executes the implementation shown in FIG. 5 or FIG. Each step in the example.
  • the computer product includes a computer program.
  • the computer program product runs on a computer, the computer executes the steps in the embodiment shown in FIG. 5 or FIG. 9.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

A photographing method based on matching of a box camera and a dome camera, comprising the box camera captures a panoramic image, the panoramic image comprising a plurality of objects; the box camera selects, according to geographical positions of the plurality of objects, a corresponding target dome camera to send a single photographing instruction, the photographing instruction carrying a PTZ value; after receiving the photographing instruction, the dome camera adjusts the position of the dome camera according to the PTZ value, and photographs the plurality of objects one by one, so that the dome camera completes separate photographing of the plurality of objects only by adjusting the position once.

Description

一种拍摄方法、装置及系统Shooting method, device and system 技术领域Technical field
本申请实施例涉及图像处理技术领域,尤其涉及一种拍摄方法、装置及系统。The embodiments of the present application relate to the field of image processing technology, and in particular, to a shooting method, device, and system.
背景技术Background technique
近年来,随着图像处理技术的发展以及相关硬件设备的升级,视频监控、人脸识别已广泛应用于平安城市、智能交通等项目的建设中。其中,人物拍摄是视频分析、运动跟踪、人脸检测和识别技术的基础,在视频监控、人脸识别等技术的实现过程中具有十分重要的意义。In recent years, with the development of image processing technology and the upgrading of related hardware equipment, video surveillance and face recognition have been widely used in the construction of safe cities, intelligent transportation and other projects. Among them, person shooting is the basis of video analysis, motion tracking, face detection and recognition technology, and is of great significance in the realization of video surveillance, face recognition and other technologies.
当前,主要采用枪球联动(枪机与球机联和动作)的方式实现人物的拍摄。该过程包括:枪机获得监控区域的全景视频,分析全景视频中目标人物的行进方向,驱动管理该目标人物行进前方向区域的球机对目标人物的细节进行拍摄。球机根据枪机的指示进行定位和焦距调整,然后获取该目标人物的细节信息,上报给用户。At present, the shooting of characters is mainly realized by the way of gun-ball linkage (the action of the gun-camera and the ball-camera linkage). The process includes: the gun camera obtains the panoramic video of the monitoring area, analyzes the traveling direction of the target person in the panoramic video, and drives the dome camera that manages the direction of the target person to shoot the details of the target person. The dome camera performs positioning and focus adjustment according to the instructions of the camera, and then obtains the detailed information of the target person and reports it to the user.
由于采用现有的枪球机联动的方式拍摄目标人物时,每次的拍摄对象为一个目标人物,当枪机同时检测到多个目标人物时,需要多次执行枪球机联动拍摄,此过程需要球机多次调整角度和焦距,从而降低球机的使用寿命;并且,反复调整耗时长,导致漏拍率较高。Since the existing shot-and-ball machine linkage method is used to shoot the target person, each time the shooting object is a target person, when the shot-gun machine detects multiple target persons at the same time, it is necessary to perform the shot-ball machine linkage shooting multiple times. This process It is necessary to adjust the angle and focal length of the dome multiple times, thereby reducing the service life of the dome; and repeated adjustments take a long time, resulting in a high rate of missed shots.
发明内容Summary of the invention
本申请提供一种拍摄方法、装置及系统,在拍摄多个对象获取其对象信息的场景中,如果这多个对象属于同一个细节摄像机的视野之内,则只需要调整一次细节摄像机的位置就可以完成多个对象的拍摄,延长了细节摄相机的使用寿命,降低了漏拍率。This application provides a shooting method, device and system. In a scene where multiple objects are captured to obtain their object information, if the multiple objects are within the field of view of the same detail camera, the position of the detail camera only needs to be adjusted once. It can complete the shooting of multiple objects, prolong the service life of the detail camera, and reduce the missed shooting rate.
本申请采用如下技术方案:This application adopts the following technical solutions:
第一方面,提供一种拍摄方法,全景摄像机与多个细节摄像机通信,全景摄像机的可视范围跨越了多个细节摄像机的可视范围,该方法可以包括:全景摄像机拍摄得到全景图像,全景图像中包括拥有多个对象的目标对象集合;全景摄像机从多个细节摄像机中选择目标细节摄像机,其中,目标对象集合位于目标细节摄像机的可视范围之内;全景摄像机向目标细节摄像机发送拍摄指令,拍摄指令中携带单个平移/俯仰/缩放(pan/tilt/zoom)PTZ值,拍摄指令用于指示目标细节摄像机执行:按照拍摄指令包括的PTZ值调节拍摄位置使得目标对象集合位于目标细节摄像机的视野中,并拍摄;全景摄像机接收目标细节摄像机发送的完成拍摄指令的响应;全景摄像机把目标对象集合中的对象标记为拍摄完成。In a first aspect, a shooting method is provided. A panoramic camera communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras. The method may include: the panoramic camera captures a panoramic image, and the panoramic image It includes a target object set with multiple objects; the panoramic camera selects the target detail camera from multiple detail cameras, where the target object set is within the visible range of the target detail camera; the panoramic camera sends shooting instructions to the target detail camera, The shooting command carries a single pan/tilt/zoom (pan/tilt/zoom) PTZ value, and the shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is in the field of view of the target detail camera In, and shooting; the panoramic camera receives the response of the shooting completion instruction sent by the target detail camera; the panoramic camera marks the objects in the target object set as the shooting completed.
通过本申请提供的拍摄方法,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,全景摄像机向该细节摄像机发送单个PTZ值,指示该细节摄像机根据单个PTZ值一次性调整位置后,就可以获取多个对象的细节信息。发送单个PTZ值实现多个对象的细节拍摄(而不像现有技术一样需要针对每个对象单独发送PTZ值),减少了全景摄像机发送PTZ值的数量;相应的,细节摄像机只需要按照收到的PTZ值调整一次位置(调节细节摄像机的位置也可以理解成调节细节摄像机的姿态),因此减少了细节摄像机的调整次数,从而延长了细节摄像机的使用寿命,进一步的,由于细节摄像机在调整自身位置时无法进行拍摄,因此在调整细节摄像机位置时可能漏拍运动的对象(例如车辆),相对于反复调整细节摄像机的位置的方案而言,本申请把他调节次数降 低到一次,还可以降低了漏拍率。With the shooting method provided in this application, when multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value. You can get detailed information about multiple objects. Sending a single PTZ value to achieve detailed shooting of multiple objects (rather than sending the PTZ value for each object separately as in the prior art), reducing the number of PTZ values sent by the panoramic camera; correspondingly, the detail camera only needs to be received according to the received Adjust the position of the PTZ value once (adjusting the position of the detail camera can also be understood as adjusting the posture of the detail camera), thus reducing the number of adjustments of the detail camera, thereby prolonging the service life of the detail camera, and further, because the detail camera is adjusting itself It is impossible to take pictures when adjusting the position of the detail camera. Therefore, when adjusting the position of the detail camera, moving objects (such as vehicles) may be missed. Compared with the solution of repeatedly adjusting the position of the detail camera, this application reduces the number of adjustments to one time. The missed shot rate.
其中,可以根据对象对应的细节摄像机,将全景图像中的对象视为不同的对象集合,即全景对象中包括一个或多个对象集合,一个对象集合拥有多个对象。全景摄像机可以将全景图像中对应同一细节摄像机的对象视为一个对象集合。Among them, the objects in the panoramic image can be regarded as different object sets according to the detailed cameras corresponding to the objects, that is, the panoramic objects include one or more object sets, and one object set has multiple objects. The panoramic camera can treat the objects corresponding to the same detail camera in the panoramic image as a set of objects.
当一个对象对应多个细节摄像机时,可以根据预设规则确定该对象对应某一个细节摄像机。预设规则用户可以根据实际进行配置,本申请对此不予限定。When an object corresponds to multiple detail cameras, it can be determined according to a preset rule that the object corresponds to a certain detail camera. The user can configure the preset rules according to the actual situation, which is not limited in this application.
需要说明的是,对象集合中包括的对象,可以为未进行拍摄的对象。It should be noted that the objects included in the object set may be objects that have not been photographed.
一种可能的实现方式中,全景摄像机可以随机选择一个对象集合作为目标对象集合。In a possible implementation manner, the panoramic camera may randomly select an object set as the target object set.
结合第一方面,在一种可能的实现方式中,该方法还可以包括:在发送拍摄指令之前,全景摄像机对目标对象集合中的所有对象的状态标记为待拍摄的状态。其中,全景摄像机把目标对象集合中的对象标记为拍摄完成,具体为:全景摄像机把目标对象集合中的所有对象的状态更新为拍摄完成的状态。With reference to the first aspect, in a possible implementation manner, the method may further include: before sending the shooting instruction, the panoramic camera marks the state of all objects in the target object set as the state to be shot. Among them, the panoramic camera marks the objects in the target object set as shooting completed, specifically: the panoramic camera updates the state of all objects in the target object set to the state of shooting completed.
结合第一方面,在一种可能的实现方式中,该方法还可以包括:目标细节摄像机接收全景摄像机发送的拍摄指令;目标细节摄像机根据拍摄指令包括的PTZ值调节拍摄位置;目标细节摄像机对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息,N个对象包括目标对象集合中的所有对象;目标细节摄像机向全景摄像机发送完成拍摄指令的响应;目标细节摄像机将N个对象中M个对象的对象信息上报,上报对象是全景摄像机或者主机。M大于或等于1且小于或等于N。在该可能的实现方式中,细节摄像机根据第一PTZ值得到了多个对象的对象信息,减少了细节摄像机的调整次数,进一步延长了细节摄像机的使用寿命,降低了漏拍率。With reference to the first aspect, in a possible implementation manner, the method may further include: the target detail camera receives a shooting instruction sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction; N objects in the field of view are shot once respectively, and the object information of N objects is obtained. The N objects include all objects in the target object set; the target detail camera sends the response to the panoramic camera to complete the shooting instruction; the target detail camera sets N The object information of M objects in the object is reported, and the reported object is a panoramic camera or a host. M is greater than or equal to 1 and less than or equal to N. In this possible implementation manner, the detail camera obtains object information of multiple objects according to the first PTZ value, which reduces the number of adjustments of the detail camera, further extends the service life of the detail camera, and reduces the missed shot rate.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,一个对象的对象信息可以为目标细节摄像机对其视野拍摄得到的原始图像中包含一个对象的图像子区域,该方法还可以包括:目标细节摄像机将M个对象的原始图像上报。在该可能的实现方式中,将对象的原始图像与对象信息一起发送给全景摄像机或者主机,保存了对象的细节信息的同时,还保存了对象拍摄时的周围环境的信息,方便用户进一步的处理。Combining the first aspect and any of the foregoing possible implementations, in another possible implementation, the object information of an object may be the original image captured by the target detail camera for its field of view, which contains an image sub-region of the object. , The method may further include: the target detail camera reports the original images of the M objects. In this possible implementation, the original image of the object is sent to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was taken is also saved, which is convenient for the user to further process. .
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,一个对象的对象信息可以为目标细节摄像机对其视野拍摄得到的原始图像中添加了指示信息的图像,指示信息用于指示一个对象在原始图像中的位置。在该可能的实现方式中,存储的一个对象的对象信息中包括该对象的细节信息和周围的环境信息,在保证存储信息完整的同时提高了存储效率。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the object information of an object may be an image with indication information added to the original image captured by the target detail camera for its field of view, The indication information is used to indicate the position of an object in the original image. In this possible implementation manner, the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,针对第一对象,第一对象为N个对象中任一对象,该方法还可以包括:目标细节摄像机从第一对象的对象信息中,获取第一对象的特征;目标细节摄像机将第一对象的特征,与目标细节摄像机的特征库进行对比,目标细节摄像机的特征库中存储了目标细节摄像机拍摄过的对象的特征;若目标细节摄像机的特征库中存在与第一对象的特征匹配的特征,目标细节摄像机将第一对象的对象信息删除;上报的M个对象的对象信息不包含第一对象的对象信息;若目标细节摄像机的特征库中不存在与第一对象的特征匹配的特征,则 上报的M个对象的对象信息包含第一对象的对象信息。在该可能的实现方式中,细节摄像机上报给主机或者全景摄像机的对象信息为自身去重后的对象信息,降低了重复率,提高了存储效率,便于用户查找。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, for the first object, the first object is any one of the N objects, and the method may further include: a target detail camera From the object information of the first object, obtain the feature of the first object; the target detail camera compares the feature of the first object with the feature library of the target detail camera, and the feature library of the target detail camera stores the target detail camera’s shots. The feature of the object; if there is a feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object; the reported object information of the M objects does not contain the first object’s Object information; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported object information of the M objects includes the object information of the first object. In this possible implementation, the object information reported by the detail camera to the host or the panoramic camera is the object information after its own deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,该方法还可以包括:全景摄像机接收目标细节摄像机发送的M个对象的对象信息,M大于或等于1;全景摄像机根据M个对象的对象信息,获取M个对象的特征;全景摄像机将M个对象的特征,与全景摄像机的特征库对比;全景摄像机的特征库存储了多个细节摄像机拍摄过的对象的特征;全景摄像机将M个对象的对象信息中,与全景摄像机的特征库中有匹配特征的对象的对象信息删除后余下的对象信息发送给主机。在该可能的实现方式中,全景摄像机上报给主机的对象信息为交叉去重后的对象信息,降低了重复率,提高了存储效率,便于用户查找。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: the panoramic camera receives the object information of M objects sent by the target detail camera, and M is greater than or equal to 1. ; The panoramic camera obtains the features of the M objects according to the object information of the M objects; the panoramic camera compares the features of the M objects with the feature library of the panoramic camera; the feature library of the panoramic camera stores the objects shot by multiple detail cameras The feature; the panoramic camera will delete the remaining object information after deleting the object information of the object with matching features in the feature library of the panoramic camera among the object information of the M objects to the host. In this possible implementation manner, the object information reported by the panoramic camera to the host is the object information after cross deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,该方法还可以包括:全景摄像机获取目标细节摄像机的拍摄对象,目标细节摄像机的拍摄对象还可以包括目标对象集合之外的对象;全景摄像机收到完成拍摄指令的响应之后,全景摄像机把目标细节摄像机拍摄的目标对象集合之外的对象标记为拍摄完成。在该可能的实现方式中,全景摄像机可以把细节摄像机拍摄到的每个对象进行标记,进一步的全景摄像机可以根据未标记的对象作为目标对象集合中的对象,提高了拍摄的效率,降低了重复率。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: the panoramic camera acquires the subject of the target detail camera, and the subject of the target detail camera may also include the target Objects outside the set of objects; after the panoramic camera receives a response to the completion of the shooting instruction, the panoramic camera marks the objects outside the set of target objects shot by the target detail camera as shooting completed. In this possible implementation, the panoramic camera can mark each object captured by the detail camera. Further, the panoramic camera can use unmarked objects as objects in the target object set, which improves the efficiency of shooting and reduces repetition. Rate.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,全景图像中包括多个对象集合,目标对象集合为全景图像中优先级最高的对象集合。在全景摄像机接收目标细节摄像机发送的完成拍摄指令的响应之后,该方法还可以包括:全景摄像机重新拍摄得到新全景图像,新全景图像中包括拥有多个对象的新目标对象集合;新目标对象集合为新全景图像中的优先级最高的对象集合;全景摄像机从多个细节摄像机中选择新目标细节摄像机,并向新目标细节摄像机发送携带单个平移/俯仰/缩放PTZ值的新拍摄指令,新拍摄指令用于指示新目标细节摄像机执行:按照新拍摄指令包括的PTZ值调节拍摄位置使得新目标对象集合位于目标细节摄像机的视野中,并拍摄。在该可能的实现方式中,每次的处理对象为对象集合中优先级最高的对象集合,可以有效降低漏检率。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the panoramic image includes multiple object sets, and the target object set is the object set with the highest priority in the panoramic image. After the panoramic camera receives the response of the shooting completion instruction sent by the target detail camera, the method may further include: the panoramic camera re-shoots to obtain a new panoramic image, the new panoramic image includes a new target object set with multiple objects; the new target object set It is the set of objects with the highest priority in the new panoramic image; the panoramic camera selects a new target detail camera from multiple detail cameras, and sends a new shooting instruction carrying a single pan/tilt/zoom PTZ value to the new target detail camera. New shooting The instruction is used to instruct the new target detail camera to execute: adjust the shooting position according to the PTZ value included in the new shooting instruction so that the new target object set is located in the field of view of the target detail camera and shoot. In this possible implementation manner, each processing object is the object set with the highest priority in the object set, which can effectively reduce the missed detection rate.
具体的,全景摄像机可以先获取全景图像中每个对象集合的优先级信息,然后选择优先级最高的对象集合作为目标对象集合。Specifically, the panoramic camera may first obtain priority information of each object set in the panoramic image, and then select the object set with the highest priority as the target object set.
一种可能的实现方式中,全景摄像机可以为全景图像中每个对象确定优先级,将对象集合中优先级最高的对象的优先级作为对象集合的优先级。In a possible implementation manner, the panoramic camera may determine the priority of each object in the panoramic image, and use the priority of the object with the highest priority in the object set as the priority of the object set.
另一种可能的实现方式中,全景摄像机可以为全景图像中每个对象确定优先级,将对象集合中优先级从高到低的前X个对象的优先级之和的平均值,作为对象集合的优先级。其中,X大于或等于2。In another possible implementation manner, the panoramic camera can determine the priority for each object in the panoramic image, and use the average value of the sum of the priorities of the first X objects with priority from high to low in the object set as the object set Priority. Among them, X is greater than or equal to 2.
具体的,全景摄像机可以根据实际情况配置全景图像中每个对象的优先级,本申请对此不予限定。Specifically, the panoramic camera may configure the priority of each object in the panoramic image according to the actual situation, which is not limited in this application.
结合第一方面及上述任一种可能的实现方式,在另一种可能的实现方式中,全景摄像机是枪机,细节摄像机是球机。Combining the first aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the panoramic camera is a box camera, and the detail camera is a dome camera.
第二方面,提供一种拍摄方法,可以应用于拍摄系统中的目标细节摄像机,该拍摄系统可以包括全景摄像机及多个细节摄像机,该全景摄像机与多个细节摄像机通信,全景摄像机的可视范围跨越了多个细节摄像机的可视范围。目标细节摄像机为多个细节摄像机中全景摄像机选择的细节摄像机。该方法可以包括:目标细节摄像机接收全景摄像机发送的拍摄指令;目标细节摄像机根据拍摄指令包括的PTZ值调节拍摄位置;目标细节摄像机对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息,N个对象包括目标对象集合中的所有对象;目标细节摄像机向全景摄像机发送完成拍摄指令的响应;目标细节摄像机将N个对象中M个对象的对象信息上报,上报对象是全景摄像机或者主机,M大于或等于1且小于或等于N。In a second aspect, a shooting method is provided, which can be applied to a target detail camera in a shooting system. The shooting system may include a panoramic camera and multiple detail cameras, the panoramic camera communicates with the multiple detail cameras, and the viewing range of the panoramic camera It spans the visible range of multiple detail cameras. The target detail camera is the detail camera selected by the panoramic camera among the multiple detail cameras. The method may include: the target detail camera receives a shooting instruction sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction; the target detail camera shoots N objects in its field of view once to obtain N objects The N objects include all objects in the target object set; the target detail camera sends a response to the panoramic camera to complete the shooting instruction; the target detail camera reports the object information of M objects in the N objects, and the reported object is a panoramic camera Or host, M is greater than or equal to 1 and less than or equal to N.
通过本申请提供的拍摄方法,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,细节摄像机接收全景摄像机发送单个PTZ值,细节摄像机根据该单个PTZ值调整位置后,获取多个对象的细节信息,得到了多个对象的对象信息,减少了细节摄像机的调整次数,延长了细节摄像机的使用寿命,降低了漏拍率。With the shooting method provided in this application, when multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the detail camera receives a single PTZ value sent by the panoramic camera, and after the detail camera adjusts the position according to the single PTZ value, multiple objects are acquired The detail information of multiple objects is obtained, which reduces the number of adjustments of the detail camera, prolongs the service life of the detail camera, and reduces the missed shot rate.
结合第二方面,在另一种可能的实现方式中,一个对象的对象信息可以为目标细节摄像机对其视野拍摄得到的原始图像中包含一个对象的图像子区域,该方法还可以包括:目标细节摄像机将M个对象的原始图像上报。在该可能的实现方式中,将对象的原始图像与对象信息一起上报给全景摄像机或者主机,保存了对象的细节信息的同时,还保存了对象拍摄时的周围环境的信息,方便用户进一步的处理。With reference to the second aspect, in another possible implementation manner, the object information of an object may be the target detail camera and the original image captured by its field of view contains an image sub-region of the object. The method may also include: target detail The camera reports the original images of M objects. In this possible implementation, the original image of the object is reported to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was shot is also saved, which is convenient for the user to further process .
结合第二方面及上述任一种可能的实现方式,在另一种可能的实现方式中,一个对象的对象信息可以为目标细节摄像机对其视野拍摄得到的原始图像中添加的指示信息的图像,指示信息用于指示一个对象在原始图像中的位置。在该可能的实现方式中,存储的一个对象的对象信息中包括该对象的细节信息和周围的环境信息,在保证存储信息完整的同时提高了存储效率。In combination with the second aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the object information of an object may be an image of indication information added to the original image captured by the target detail camera for its field of view, The indication information is used to indicate the position of an object in the original image. In this possible implementation manner, the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
结合第二方面及上述任一种可能的实现方式,在另一种可能的实现方式中,针对第一对象,第一对象为N个对象中任一对象,该方法还可以包括:目标细节摄像机从第一对象的对象信息中,获取第一对象的特征;目标细节摄像机将第一对象的特征,与目标细节摄像机的特征库进行对比,目标细节摄像机的特征库中存储了目标细节摄像机拍摄过的对象的特征;若目标细节摄像机的特征库中存在与第一对象的特征匹配的特征,目标细节摄像机将第一对象的对象信息删除;上报的M个对象的对象信息不包含第一对象的对象信息;若目标细节摄像机的特征库中不存在与第一对象的特征匹配的特征,上报的M个对象的对象信息包含第一对象的对象信息。在该可能的实现方式中,细节摄像机上报给主机或者全景摄像机的对象信息为自身去重后的对象信息,降低了重复率,提高了存储效率,便于用户查找。In combination with the second aspect and any of the foregoing possible implementation manners, in another possible implementation manner, for the first object, the first object is any one of the N objects, and the method may further include: a target detail camera From the object information of the first object, obtain the feature of the first object; the target detail camera compares the feature of the first object with the feature library of the target detail camera, and the feature library of the target detail camera stores the target detail camera’s shots. The feature of the object; if there is a feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object; the reported object information of the M objects does not contain the first object’s Object information; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported object information of the M objects includes the object information of the first object. In this possible implementation, the object information reported by the detail camera to the host or the panoramic camera is the object information after its own deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
第三方面,提供一种拍摄装置,该拍摄装置可以部署于全景摄像机,全景摄像机与多个细节摄像机通信,全景摄像机的可视范围跨越了多个细节摄像机的可视范围,该装置可以包括:拍摄单元,用于拍摄得到全景图像,全景图像中包括拥有多个对象的目标对象集合;选择单元,用于从多个细节摄像机中选择目标细节摄像机,其中,目标对象集合位于目标细节摄像机的可视范围之内;发送单元,用于向目标细节摄像机发送拍摄指令,拍摄指令中携带单个平移/俯仰/缩放PTZ值,拍摄指令用于指示目标细节摄像机 执行:按照拍摄指令包括的PTZ值调节拍摄位置使得目标对象集合位于目标细节摄像机的视野中,并拍摄;接收单元,用于接收目标细节摄像机发送的完成拍摄指令的响应;标记单元,用于把目标对象集合中的对象标记为拍摄完成。In a third aspect, a photographing device is provided. The photographing device can be deployed on a panoramic camera, the panoramic camera communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras. The device may include: The shooting unit is used to shoot a panoramic image, which includes a target object set with multiple objects; the selection unit is used to select a target detail camera from a plurality of detail cameras, wherein the target object set is located in the target detail camera. Within the viewing range; the sending unit is used to send shooting instructions to the target detail camera. The shooting command carries a single pan/tilt/zoom PTZ value. The shooting command is used to instruct the target detail camera to execute: adjust the shooting according to the PTZ value included in the shooting command The position is such that the target object set is located in the field of view of the target detail camera and photographed; the receiving unit is used to receive the response of the shooting completion instruction sent by the target detail camera; the marking unit is used to mark the objects in the target object set as photographing completed.
通过本申请提供的拍摄装置,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,全景摄像机向该细节摄像机发送单个PTZ值,指示该细节摄像机根据单个PTZ值调整位置后,获取多个对象的细节信息。通过单个PTZ值实现多个对象的细节拍摄,减少了细节摄像机的调整次数,进一步延长了细节摄像机的使用寿命,降低了漏拍率。With the shooting device provided by this application, when multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value to obtain the multiple Details of each object. Using a single PTZ value to achieve detailed shooting of multiple objects, reducing the number of adjustments of the detail camera, further extending the service life of the detail camera, and reducing the missed shot rate.
结合第三方面,在一种可能的实现方式中,标记单元还用于:在发送拍摄指令之前,对目标对象集合中的所有对象的状态标记为待拍摄的状态。标记单元具体用于:把目标对象集合中的所有对象的状态更新为拍摄完成的状态。With reference to the third aspect, in a possible implementation manner, the marking unit is further configured to mark the states of all objects in the target object set as the states to be photographed before sending the photographing instruction. The marking unit is specifically used to: update the state of all objects in the target object set to a state where the shooting is completed.
结合第三方面及上述任一种可能的实现方式,在另一种可能的实现方式中,接收单元还用于,接收目标细节摄像机发送的M个对象的对象信息,M大于或等于1;该装置还可以包括:第一获取单元,用于根据M个对象的对象信息中,获取M个对象的特征;对比单元,用于将M个对象的特征,与全景摄像机的特征库对比;全景摄像机的特征库存储了多个细节摄像机拍摄过的对象的特征;发送单元,用于将M个对象的对象信息中,与全景摄像机的特征库中有匹配特征的对象的对象信息删除后余下的对象信息发送给主机。在该可能的实现方式中,全景摄像机上报给主机的对象信息为交叉去重后的对象信息,降低了重复率,提高了存储效率,便于用户查找。With reference to the third aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the receiving unit is further configured to receive object information of M objects sent by the target detail camera, where M is greater than or equal to 1; The device may further include: a first acquisition unit for acquiring features of M objects from the object information of the M objects; a comparison unit for comparing features of M objects with the feature library of the panoramic camera; panoramic camera The feature library stores the features of the objects photographed by multiple detail cameras; the sending unit is used to delete the object information of the M objects from the object information of the object with matching features in the feature library of the panoramic camera. The information is sent to the host. In this possible implementation manner, the object information reported by the panoramic camera to the host is the object information after cross deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
结合第三方面及上述任一种可能的实现方式,在另一种可能的实现方式中,该装置还可以包括:第二获取单元,用于获取目标细节摄像机的拍摄对象,目标细节摄像机的拍摄对象还包括目标对象集合之外的对象;标记单元还用于,在接收单元收到完成拍摄指令的响应之后,把目标细节摄像机拍摄的目标对象集合之外的对象标记为拍摄完成。在该可能的实现方式中,全景摄像机可以把细节摄像机拍摄到的每个对象进行标记,进一步的全景摄像机可以根据未标记的对象作为目标对象集合中的对象,提高了拍摄的效率,降低了重复率。In combination with the third aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the device may further include: a second acquisition unit configured to acquire the subject of the target detail camera, and the target detail camera captures The objects also include objects outside the target object set; the marking unit is also used to mark the objects outside the target object set captured by the target detail camera as the completion of shooting after the receiving unit receives a response to the completion of the shooting instruction. In this possible implementation, the panoramic camera can mark each object captured by the detail camera. Further, the panoramic camera can use unmarked objects as objects in the target object set, which improves the efficiency of shooting and reduces repetition. Rate.
结合第三方面及上述任一种可能的实现方式,在另一种可能的实现方式中,全景图像中包括多个对象集合,目标对象集合为景图像中优先级最高的对象集合。拍摄单元还用于:在接收单元接收目标细节摄像机发送的完成拍摄指令的响应之后,重新拍摄得到新全景图像,新全景图像中包括拥有多个对象的新目标对象集合;新目标对象集合为新全景图像中的优先级最高的对象集合;选择单元还用于:从多个细节摄像机中选择新目标细节摄像机;发送单元还用于:向新目标细节摄像机发送携带单个平移/俯仰/缩放PTZ值的新拍摄指令,新拍摄指令用于指示新目标细节摄像机执行:按照新拍摄指令包括的PTZ值调节拍摄位置使得新目标对象集合位于目标细节摄像机的视野中,并拍摄。在该可能的实现方式中,每次的处理对象为对象集合中优先级最高的对象集合,可以有效降低漏检率。In combination with the third aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the panoramic image includes multiple object sets, and the target object set is the object set with the highest priority in the scene image. The shooting unit is also used to: after the receiving unit receives the response to the shooting completion instruction sent by the target detail camera, re-shoot to obtain a new panoramic image, the new panoramic image includes a new target object set with multiple objects; the new target object set is new The set of objects with the highest priority in the panoramic image; the selection unit is also used to: select a new target detail camera from multiple detail cameras; the sending unit is also used to: send a single pan/tilt/zoom PTZ value to the new target detail camera The new shooting instruction is used to instruct the new target detail camera to execute: adjust the shooting position according to the PTZ value included in the new shooting instruction so that the new target object set is in the field of view of the target detail camera and shoot. In this possible implementation manner, each processing object is the object set with the highest priority in the object set, which can effectively reduce the missed detection rate.
第四方面,提供一种拍摄装置,该拍摄装置可以部署于拍摄系统中的目标细节摄像机,全景摄像机与多个细节摄像机通信,全景摄像机的可视范围跨越了多个细节摄像机的可视范围。目标细节摄像机为多个细节摄像机中全景摄像机选择的细节摄像机。该装 置可以包括:接收单元,用于接收全景摄像机发送的拍摄指令;调节单元,用于根据拍摄指令包括的PTZ值调节拍摄位置;处理单元,用于对视野中的N个对象分别拍摄1次,得到N个对象的对象信息,N个对象包括目标对象集合中的所有对象;第一发送单元,用于向全景摄像机发送完成拍摄指令的响应;第二发送单元,用于将N个对象中M个对象的对象信息上报,上报对象是全景摄像机或者主机,M大于或等于1且小于或等于N。In a fourth aspect, a photographing device is provided. The photographing device can be deployed in a target detail camera in a photographing system. The panoramic camera communicates with multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras. The target detail camera is the detail camera selected by the panoramic camera among the multiple detail cameras. The device may include: a receiving unit for receiving a shooting instruction sent by the panoramic camera; an adjustment unit for adjusting the shooting position according to the PTZ value included in the shooting instruction; a processing unit for shooting N objects in the field of view once respectively , Get the object information of N objects, N objects include all objects in the target object set; the first sending unit is used to send the response to the panoramic camera to complete the shooting instruction; the second sending unit is used to transfer the N objects The object information of M objects is reported. The reported object is a panoramic camera or a host, and M is greater than or equal to 1 and less than or equal to N.
通过本申请提供的拍摄装置,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,细节摄像机接收全景摄像机发送的单个PTZ值,该细节摄像机根据单个PTZ值调整位置后,获取多个对象的细节信息。通过单个PTZ值实现多个对象的细节拍摄,减少了细节摄像机的调整次数,进一步延长了细节摄像机的使用寿命,降低了漏拍率。With the shooting device provided by this application, when multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the detail camera receives a single PTZ value sent by the panoramic camera, and the detail camera obtains multiple values after adjusting the position according to the single PTZ value. Detailed information about the object. Using a single PTZ value to achieve detailed shooting of multiple objects, reducing the number of adjustments of the detail camera, further extending the service life of the detail camera, and reducing the missed shot rate.
结合第四方面,在一种可能的实现方式中,一个对象的对象信息为可以处理单元对视野拍摄得到的原始图像中包含一个对象的图像子区域,第二发送单元还用于:将M个对象的原始图像上报。在该可能的实现方式中,将对象的原始图像与对象信息一起发送给全景摄像机或者主机,保存了对象的细节信息的同时,还保存了对象拍摄时的周围环境的信息,方便用户进一步的处理。With reference to the fourth aspect, in a possible implementation manner, the object information of an object is an image subregion containing an object in the original image captured by the processing unit on the field of view, and the second sending unit is also used to: The original image of the object is reported. In this possible implementation, the original image of the object is sent to the panoramic camera or the host along with the object information. While the detailed information of the object is saved, the surrounding environment information when the object was taken is also saved, which is convenient for the user to further process. .
结合第四方面及上述任一种可能的实现方式,在另一种可能的实现方式中,一个对象的对象信息可以为处理单元对视野拍摄得到的原始图像中添加了指示信息的图像,指示信息用于指示一个对象在原始图像中的位置。在该可能的实现方式中,存储的一个对象的对象信息中包括该对象的细节信息和周围的环境信息,在保证存储信息完整的同时提高了存储效率。In combination with the fourth aspect and any of the foregoing possible implementation manners, in another possible implementation manner, the object information of an object may be an image with indication information added to the original image captured by the processing unit on the field of view. Used to indicate the position of an object in the original image. In this possible implementation manner, the stored object information of an object includes detailed information of the object and surrounding environment information, which improves storage efficiency while ensuring the integrity of the storage information.
结合第四方面及上述任一种可能的实现方式,在另一种可能的实现方式中,针对第一对象,第一对象为N个对象中任一对象,该装置还可以包括:获取单元,用于从第一对象的对象信息中,获取第一对象的特征;对比单元,用于将第一对象的特征,与装置的特征库进行对比,装置的特征库中存储了处理单元拍摄过的对象的特征;目标细节摄像机的特征库中存储了目标细节摄像机拍摄过的对象的特征;处理单元具体用于:若目标细节摄像机的特征库中存在与第一对象的特征匹配的特征,目标细节摄像机将第一对象的对象信息删除;上报的M个对象的对象信息不包含第一对象的对象信息;若目标细节摄像机的特征库中不存在与第一对象的特征匹配的特征,上报的M个对象的对象信息包含第一对象的对象信息。在该可能的实现方式中,细节摄像机上报给主机或者全景摄像机的对象信息为自身去重后的对象信息,降低了重复率,提高了存储效率,便于用户查找。With reference to the fourth aspect and any of the foregoing possible implementation manners, in another possible implementation manner, for the first object, the first object is any one of the N objects, and the apparatus may further include: an acquiring unit, It is used to obtain the feature of the first object from the object information of the first object; the comparison unit is used to compare the feature of the first object with the feature library of the device, and the feature library of the device stores the photos taken by the processing unit The feature of the object; the feature library of the target detail camera stores the features of the object photographed by the target detail camera; the processing unit is specifically used for: if the feature library of the target detail camera has a feature that matches the feature of the first object, the target detail The camera deletes the object information of the first object; the reported object information of the M objects does not include the object information of the first object; if there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported M The object information of each object includes the object information of the first object. In this possible implementation, the object information reported by the detail camera to the host or the panoramic camera is the object information after its own deduplication, which reduces the repetition rate, improves the storage efficiency, and is convenient for users to find.
第五方面,提供一种拍摄装置,该拍摄装置可以包括处理器和存储器,存储器和处理器耦合,存储器与处理器连接,存储器用于存储计算机程序,当处理器执行计算机程序时,拍摄装置执行第一方面或第一方面任一种可能的实现方式中全景摄像机的动作。In a fifth aspect, a photographing device is provided. The photographing device may include a processor and a memory, the memory and the processor are coupled, the memory is connected to the processor, and the memory is used to store a computer program. When the processor executes the computer program, the photographing device executes The action of the panoramic camera in the first aspect or any possible implementation manner of the first aspect.
第六方面,提供一种拍摄装置,该拍摄装置可以包括处理器和存储器,存储器和处理器耦合,存储器与处理器连接,存储器用于存储计算机程序,当处理器执行计算机程序时,拍摄装置执行第二方面或第二方面任一种可能的实现方式中细节摄像机的动作。In a sixth aspect, a photographing device is provided. The photographing device may include a processor and a memory, the memory and the processor are coupled, the memory is connected to the processor, and the memory is used to store a computer program. When the processor executes the computer program, the photographing device executes The action of the detail camera in the second aspect or any possible implementation manner of the second aspect.
第七方面,提供了一种拍摄系统,该拍摄系统可以包括全景摄像机和多个细节摄像机,全景摄像机与多个细节摄像机通信,全景摄像机的可视范围跨越了多个细节摄像机 的可视范围;全景摄像机用于,拍摄得到全景图像,全景图像中包括拥有多个对象的目标对象集合;从多个细节摄像机中选择目标细节摄像机,其中,目标对象集合位于目标细节摄像机的可视范围之内;向目标细节摄像机发送拍摄指令,拍摄指令中携带单个平移/俯仰/缩放PTZ值,拍摄指令用于指示目标细节摄像机执行:按照拍摄指令包括的PTZ值调节拍摄位置使得目标对象集合位于目标细节摄像机的视野中,并拍摄;作为目标细节摄像机的细节摄像机用于,接收全景摄像机发送的拍摄指令;根据拍摄指令包括的PTZ值调节拍摄位置;对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息;N个对象包括目标对象集合中的所有对象;向全景摄像机发送完成拍摄指令的响应;将N个对象中M个对象的对象信息上报,上报对象是全景摄像机或者主机,M大于或等于1且小于或等于N;全景摄像机还用于,接收目标细节摄像机发送的完成拍摄指令的响应;把目标对象集合中的对象标记为拍摄完成。In a seventh aspect, a photographing system is provided. The photographing system may include a panoramic camera and multiple detail cameras, the panoramic camera communicates with the multiple detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras; The panoramic camera is used to capture a panoramic image, which includes a target object set with multiple objects; select a target detail camera from multiple detail cameras, where the target object set is within the visible range of the target detail camera; Send a shooting command to the target detail camera. The shooting command carries a single pan/tilt/zoom PTZ value. The shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is located in the target detail camera In the field of view, and shoot; the detail camera as the target detail camera is used to receive the shooting instruction sent by the panoramic camera; adjust the shooting position according to the PTZ value included in the shooting instruction; shoot each of the N objects in the field of view once to obtain N Object information of three objects; N objects include all objects in the target object set; send the response to the panoramic camera to complete the shooting instruction; report the object information of M objects in the N objects, and the reported object is the panoramic camera or the host, M It is greater than or equal to 1 and less than or equal to N; the panoramic camera is also used to receive the response of the shooting completion instruction sent by the target detail camera; and mark the object in the target object set as the shooting completed.
第八方面,提供了一种拍摄系统,该拍摄系统中可以包括第三方面或第三方面任一种可能的拍摄装置和第四方面或第四方面任一种可能的拍摄装置。该拍摄系统运行时,执行上述任一方面或任意一种可能的实现方式中的拍摄方法。An eighth aspect provides a photographing system, which may include any possible photographing device of the third aspect or the third aspect and any possible photographing device of the fourth aspect or the fourth aspect. When the shooting system is running, the shooting method in any one of the foregoing aspects or any one of the possible implementation manners is executed.
第九方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现上述方法中全景摄像机的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a ninth aspect, an embodiment of the present application provides a chip system. The chip system includes a processor and may also include a memory for realizing the function of the panoramic camera in the foregoing method. The chip system can be composed of chips, and can also include chips and other discrete devices.
第十方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现上述方法中细节摄像机的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a tenth aspect, an embodiment of the present application provides a chip system. The chip system includes a processor and may also include a memory for realizing the function of the detail camera in the above method. The chip system can be composed of chips, and can also include chips and other discrete devices.
第十一方面,本申请实施例中还提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任一方面或任意一种可能的实现方式中的拍摄方法。In an eleventh aspect, an embodiment of the present application also provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any one of the foregoing aspects or any one of the possible implementations of the shooting method .
第十二方面,本申请实施例中还提供一种计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方面或任意一种可能的实现方式中的拍摄方法。In a twelfth aspect, the embodiments of the present application also provide a computer program product, which when it runs on a computer, causes the computer to execute any one of the above-mentioned aspects or the shooting method in any one of the possible implementation manners.
附图说明Description of the drawings
图1A为现有技术提供的一种典型的联合拍摄场景示意图;FIG. 1A is a schematic diagram of a typical joint shooting scene provided by the prior art;
图1为现有技术提供的一种联合拍摄系统的结构示意图;Fig. 1 is a schematic structural diagram of a joint shooting system provided by the prior art;
图2为本申请实施例提供的一种细节摄像机的视野与可视范围示意图;2 is a schematic diagram of the field of view and the visible range of a detail camera provided by an embodiment of the application;
图3为本申请实施例提供的全景摄像机与多个细节摄像机的可视范围的位置关系示意图;3 is a schematic diagram of the positional relationship between the panoramic camera and the visible range of multiple detail cameras provided by an embodiment of the application;
图4为本申请实施例提供的一种拍摄装置的结构示意图;FIG. 4 is a schematic structural diagram of a photographing device provided by an embodiment of the application;
图5为本申请实施例提供的一种拍摄方法的流程示意图;FIG. 5 is a schematic flowchart of a shooting method provided by an embodiment of the application;
图6为本申请实施例提供的一种联合拍摄场景示意图;FIG. 6 is a schematic diagram of a joint shooting scene provided by an embodiment of the application;
图7为本申请实施例提供的一种对象的原始图像和对象信息示意图;FIG. 7 is a schematic diagram of an original image and object information of an object provided by an embodiment of this application;
图8为本申请实施例提供的另一种对象的原始图像和对象信息示意图;FIG. 8 is a schematic diagram of the original image and object information of another object provided by an embodiment of this application;
图9为本申请实施例提供的另一种拍摄方法的流程示意图;FIG. 9 is a schematic flowchart of another shooting method provided by an embodiment of the application;
图10为本申请实施例提供的另一种联合拍摄场景示意图;FIG. 10 is a schematic diagram of another joint shooting scene provided by an embodiment of the application;
图11为本申请实施例提供的一种人物的原始图像与对象信息示意图;FIG. 11 is a schematic diagram of an original image of a person and object information provided by an embodiment of this application;
图12为本申请实施例提供的一种拍摄装置的结构示意图;FIG. 12 is a schematic structural diagram of a photographing device provided by an embodiment of the application;
图13为本申请实施例提供的另一种拍摄装置的结构示意图;FIG. 13 is a schematic structural diagram of another photographing device provided by an embodiment of the application;
图14为本申请实施例提供的又一种拍摄装置的结构示意图;FIG. 14 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application;
图15为本申请实施例提供的又一种拍摄装置的结构示意图;FIG. 15 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application;
图16为本申请实施例提供的又一种拍摄装置的结构示意图;FIG. 16 is a schematic structural diagram of yet another photographing device provided by an embodiment of the application;
图17为本申请实施例提供的又一种拍摄装置的结构示意图。FIG. 17 is a schematic structural diagram of another photographing device provided by an embodiment of the application.
具体实施方式Detailed ways
本申请说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于限定特定顺序。The terms "first", "second", and "third" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to limit a specific order.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner to facilitate understanding.
在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the description of this application, unless otherwise specified, "/" means that the associated objects before and after are in an "or" relationship. For example, A/B can mean A or B; the "and/or" in this application is only It is a kind of association relationship that describes the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B It can be singular or plural. Also, in the description of this application, unless otherwise specified, "plurality" means two or more than two. "The following at least one item (a)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
在本申请实施例中,至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。In the embodiments of the present application, at least one may also be described as one or more, and the multiple may be two, three, four or more, which is not limited in the present application.
为了便于理解,先对本申请涉及的名词进行解释。In order to facilitate understanding, the terms involved in this application are explained first.
对象,可以指人或者物。具体的,对象可以指某个人,也可以指某个动物,当然还可以指其他主体,例如,汽车、车牌。Objects can refer to people or things. Specifically, the object can refer to a certain person, can also refer to a certain animal, of course, can also refer to other subjects, such as automobiles and license plates.
全景摄像机,相对于细节摄像机而言,可以指实现拍摄大范围、广角度的视频图像的摄像机。本文中,将全景摄像机拍摄的各种场景下的图像称为全景图像。例如,全景摄像机可以为枪机。全景摄像机的可视范围和多个细节摄像机的可视范围存在重叠的部分,例如:全景摄像机的可视范围包括了多个细节摄像机的可视范围。Panoramic camera, as opposed to detail camera, can refer to a camera that can shoot large-range and wide-angle video images. In this article, the images in various scenes captured by a panoramic camera are called panoramic images. For example, the panoramic camera may be a box camera. The visual range of a panoramic camera and the visual range of multiple detail cameras overlap. For example, the visual range of a panoramic camera includes the visual range of multiple detail cameras.
细节摄像机,可以指相对于全景摄像机拍摄范围小,可以在不同方向、不同焦距拍摄视频图像的摄像机。其中,细节摄像机通常先调整位置后,拍摄获取人物的细节信息。本文中,将细节摄像机拍摄的图像称为原始图像或者对象信息。例如,细节摄像机可以为球机。A detail camera can refer to a camera that has a smaller shooting range than a panoramic camera and can shoot video images in different directions and at different focal lengths. Among them, the detail camera usually adjusts the position first, and then shoots to obtain the detailed information of the person. In this article, the image captured by the detail camera is called the original image or object information. For example, the detail camera may be a dome camera.
摄像机的视野,可以指摄像机处于某个位置(固定角度、固定焦距)时,可以获取画面的区域范围。对于不可调整摄像机(不能调整角度、焦距等参数的摄像机),其视野固定不变;对于可调整摄像机,每按照PTZ值调整一次姿态其视野相应变化一次。The field of view of the camera can refer to the area range in which the camera can obtain the picture when the camera is in a certain position (fixed angle, fixed focal length). For non-adjustable cameras (cameras that cannot adjust the angle, focal length and other parameters), the field of view is fixed; for adjustable cameras, the field of view changes correspondingly every time the posture is adjusted according to the PTZ value.
摄像机的可视范围,可以指摄像机最大可以获取的画面的区域范围。具体的, 可调整摄像机的可视范围可以为在不同角度、不同焦距时视野的并集,应理解,可调整摄像机的视野小于可视范围。不可调摄像机的视野与可视范围的大小相同。The visual range of the camera can refer to the maximum area of the picture that the camera can obtain. Specifically, the visual range of the adjustable camera may be the union of the visual fields at different angles and different focal lengths. It should be understood that the visual range of the adjustable camera is smaller than the visual range. The field of view of the non-adjustable camera is the same size as the visual range.
联合拍摄场景,可以指通过部署全景摄像机拍摄大范围的全景图像,部署与全景摄像机配套的多个细节摄像机拍摄对象信息的场景。在联合拍摄场景中,全景摄像机的可视范围跨越了与其配套的多个细节摄像机的可视范围,每个细节摄像机的可视范围对应全景摄像机的可视范围的不同区域,不同细节摄像机的可视范围可以存在交集。具体的,在联合拍摄场景中,全景摄像机对其可视范围内的对象进行监控,检测到目标对象时,根据目标对象的位置计算出可以拍到该目标对象的对象信息的细节摄像机(可以称为目标对象对应的细节摄像机)的PTZ值,全景摄像机向该细节摄像机发送计算出的PTZ值,细节摄像机根据PTZ值调整位置(角度、焦距等)后,拍摄其视野中的目标对象。A joint shooting scene can refer to a scene in which a panoramic camera is deployed to shoot a large-scale panoramic image, and multiple detailed cameras supporting the panoramic camera are deployed to capture object information. In the joint shooting scene, the visual range of the panoramic camera spans the visual range of multiple detail cameras that are matched with it. The visual range of each detail camera corresponds to different areas of the visual range of the panoramic camera. There can be intersections between the viewing ranges. Specifically, in the joint shooting scene, the panoramic camera monitors the objects within its visible range. When the target object is detected, it calculates the detail camera (which can be called the object information of the target object) according to the position of the target object. Is the PTZ value of the detail camera corresponding to the target object, the panoramic camera sends the calculated PTZ value to the detail camera, and the detail camera adjusts the position (angle, focal length, etc.) according to the PTZ value, and then shoots the target object in its field of view.
全景摄像机的可视范围中的区域对应的细节摄像机,是指可视范围包含了该区域的细节摄像机。The detail camera corresponding to the area in the visual range of the panoramic camera refers to the detail camera whose visual range includes the area.
对象对应的细节摄像机,是指该对象在全景图像中所在区域对应的细节摄像机,这里的对应是指对象所在位置位于细节摄像机可视范围之内。当同一个对象位于多个细节摄像机的可视范围之内时,选择其中一个细节摄像机作为这个对象的对应细节摄像机。The detail camera corresponding to the object refers to the detail camera corresponding to the area where the object is located in the panoramic image, and the correspondence here means that the location of the object is within the visible range of the detail camera. When the same object is within the visible range of multiple detail cameras, select one of the detail cameras as the corresponding detail camera of the object.
示例性的,如图1A所示的枪机-球机联动的典型联合拍摄场景中,全景摄像机为枪机,细节摄像机为球机,该场景可以称为枪球联动场景。在图1A示意的枪球联动场景中,在部署阶段配置了枪机和球机的位置,对枪机和球机进行了标定,建立了枪机与球机之间的坐标映射关系,根据该坐标映射关系,即可确定枪机可视范围中哪个区域出现的人物由哪个细节摄像机拍摄其细节,也即可以确定枪机可视范围中不同区域与细节摄像机的对应关系。Exemplarily, in the typical joint shooting scene of the bolt-camera linkage as shown in FIG. 1A, the panoramic camera is a bolt-camera, and the detail camera is a dome camera. This scene may be referred to as a bullet-camera linkage scene. In the shot-ball linkage scene shown in Figure 1A, the positions of the bolt-camera and the dome camera are configured in the deployment phase, the bolt-camera and the dome camera are calibrated, and the coordinate mapping relationship between the bolt-camera and the dome camera is established. The coordinate mapping relationship can determine the details of the person appearing in which area of the camera's visual range and which detail camera will shoot its details, and can also determine the correspondence between different areas in the camera's visual range and the detail camera.
在图1A示意的枪机联动场景中,目标人物拍摄的方案为:枪机拍摄其可视范围中的全景图像,分析全景图像中的人物以确定目标人物;再根据目标人物的行进方向,确定视野包括该目标人物行进前方向的球机作为目标球机,计算该目标球机的PTZ值以保证目标人物位于该球机调整位置后的视野内,然后枪机向目标球机发送计算出的PTZ值,指示目标球机根据PTZ值调整位置对目标人物的细节进行拍摄。In the bolt-camera linkage scene shown in Figure 1A, the plan for shooting a target person is: the bolt-camera shoots a panoramic image in its visible range, analyzes the person in the panoramic image to determine the target person; and then determines the target person’s traveling direction The field of view includes the ball machine in the forward direction of the target person as the target ball machine. The PTZ value of the target ball machine is calculated to ensure that the target person is in the field of view after the adjustment position of the ball machine. Then the gun machine sends the calculated value to the target ball machine. PTZ value, instruct the target dome camera to adjust the position according to the PTZ value to shoot the details of the target person.
进一步的,在图1A示意的枪机联动场景的目标人物拍摄方案中,枪机对于每一个目标人物的拍摄方案相同,当多个目标人物对应同一个球机,枪机指示球机拍摄该多个目标人物时,则会向同一个球机发送多次PTZ值调整位置,多次执行枪球联动。Furthermore, in the shooting scheme of the target person in the scene of the bolt-camera linkage shown in FIG. 1A, the shooting scheme of the bolt-camera for each target person is the same. When there is a target person, it will send multiple PTZ values to the same ball machine to adjust the position, and execute the gun-ball linkage multiple times.
例如,当枪机拍摄的全景图像中对应球机R的可视范围中出现了3个目标人物,枪机先针对目标人物1,向球机R发送一个PTZ值,球机R根据该PTZ值调整拍摄位置,拍摄其视野中的每个人物(包含了目标人物1)的细节信息,通知枪机完成拍摄;然后,枪机针对目标人物2,向球机R再次发送一个PTZ值,球机R再次根据新的PTZ值调整拍摄位置,拍摄其视野中的每个人物(包含了目标人物2)的细节信息,通知枪机完成拍摄;之后,枪机针对目标人物3向球机R再次发送一个PTZ值,球机R再次根据新的PTZ值调整拍摄位置,拍摄其视野中的每个人物(包含了目标人物3)的细节信息,通知枪机完成拍摄。For example, when three target persons appear in the visible range of the ball machine R in the panoramic image taken by the gun camera, the gun camera first sends a PTZ value to the ball machine R for the target person 1, and the ball machine R is based on the PTZ value. Adjust the shooting position, shoot the detailed information of each person in the field of view (including the target person 1), and notify the camera to complete the shooting; then, the gun camera sends a PTZ value to the dome camera R again for the target person 2, and the dome camera R adjusts the shooting position again according to the new PTZ value, shoots the detailed information of each person in its field of view (including the target person 2), and informs the gun camera to complete the shooting; after that, the gun camera sends again to the dome camera R for the target person 3 A PTZ value, the dome camera R adjusts the shooting position again according to the new PTZ value, shoots the detailed information of each person in its field of view (including the target person 3), and informs the camera to complete the shooting.
由上可知,现有的目标人物拍摄过程中,当多个目标人物对应同一个球机时,需要 执行多次枪球联动,需要球机多次调整角度和焦距,一方面,降低了球机的使用寿命;另一方面,反复调整耗时长,可能出现目标人物已经走出了球机的视野,导致漏拍率较高。It can be seen from the above that in the existing shooting process of target characters, when multiple target characters correspond to the same dome camera, multiple shots and ball linkages need to be performed, and the dome camera needs to adjust the angle and focal length multiple times. On the one hand, it reduces the dome camera. On the other hand, repeated adjustments take a long time, and it may happen that the target person has walked out of the field of view of the ball machine, resulting in a high missed shot rate.
基于此,本申请实施例提供一种拍摄方法,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,全景摄像机向该细节摄像机发送单个PTZ值,指示该细节摄像机根据单个PTZ值一次性调整位置后,就可以获取多个对象的细节信息。发送单个PTZ值实现多个对象的细节拍摄(而不像现有技术一样需要针对每个对象单独发送PTZ值),减少了全局摄像机发送PTZ值的数量;相应的,细节摄像机只需要按照收到的PTZ值调整一次位置(调节细节摄像机的位置也可以理解成调节细节摄像机的姿态),因此减少了细节摄像机的调整次数,从而延长了细节摄像机的使用寿命,进一步的,由于细节摄像机在调整自身位置时无法进行拍摄,因此在调整细节摄像机位置时可能漏拍运动的对象,相对于反复调整细节摄像机的位置的方案而言,本申请把他调节次数降低到一次,还可以降低了漏拍率。Based on this, an embodiment of the present application provides a shooting method. When multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera is based on the single PTZ value once. After adjusting the position sexually, the detailed information of multiple objects can be obtained. Sending a single PTZ value to achieve detailed shooting of multiple objects (rather than sending the PTZ value for each object separately as in the prior art), reducing the number of PTZ values sent by the global camera; correspondingly, the detail camera only needs to be received according to the received Adjust the position of the PTZ value once (adjusting the position of the detail camera can also be understood as adjusting the posture of the detail camera), thus reducing the number of adjustments of the detail camera, thereby prolonging the service life of the detail camera, and further, because the detail camera is adjusting itself It is not possible to shoot at the position, so when you adjust the position of the detail camera, you may miss the shot of the moving object. Compared with the solution of repeatedly adjusting the position of the detail camera, this application reduces the number of adjustments to one time, which can also reduce the missed shot rate. .
下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
本申请实施例提供的方案可以应用于图1所示的联合拍摄系统10中。如图1所示,该联合拍摄系统10可以包括全景摄像机101、多个细节摄像机102、以及多个对象103。其中,全景摄像机101与多个细节摄像机102进行通信,指示细节摄像机102获取对象103的细节信息并上报。The solution provided by the embodiment of the present application can be applied to the joint photographing system 10 shown in FIG. 1. As shown in FIG. 1, the joint shooting system 10 may include a panoramic camera 101, multiple detail cameras 102, and multiple objects 103. Among them, the panoramic camera 101 communicates with a plurality of detail cameras 102, and instructs the detail camera 102 to obtain the detailed information of the object 103 and report it.
可选的,该拍摄系统10还可以包括主机104,细节摄像机102将获取的对象103的细节信息可以上报给主机104或者全景摄像机101,由全景摄像机101上报给主机104。Optionally, the shooting system 10 may further include a host 104, and the detailed information of the object 103 acquired by the detail camera 102 may be reported to the host 104 or the panoramic camera 101, and the panoramic camera 101 reports to the host 104.
其中,全景摄像机101用于拍摄其视野中的场景得到全景图像。例如,全景摄像机101可以为枪机,或者其他可以拍摄大范围、广角度视频图像的电子设备,本申请对此不予限定。Among them, the panoramic camera 101 is used to capture a scene in its field of view to obtain a panoramic image. For example, the panoramic camera 101 may be a box camera, or other electronic equipment that can shoot large-range and wide-angle video images, which is not limited in this application.
细节摄像机102用于获取对象103的细节信息。例如,细节摄像机102可以为球机,或者其他可以实现不同方向、不同焦距视频图像拍摄的电子设备,本申请对此不予限定。The detail camera 102 is used to obtain detailed information of the object 103. For example, the detail camera 102 may be a dome camera, or other electronic equipment that can realize video image shooting in different directions and different focal lengths, which is not limited in this application.
对象103,可以指用户需要获取细节信息的主体。在本申请的应用场景中,对象103可以指全景图像中的某个人,也可以指全景图像中的某个动物,还可以指全景图像中其他主体,例如,汽车、车牌。图1中以人作为对象103进行示例说明,不应构成目标对象属性的具体的限定。The object 103 may refer to the subject whose detailed information the user needs to obtain. In the application scenario of this application, the object 103 can refer to a certain person in the panoramic image, can also refer to a certain animal in the panoramic image, and can also refer to other subjects in the panoramic image, such as cars and license plates. In FIG. 1, a person is taken as the object 103 for illustration, which should not constitute a specific limitation on the attributes of the target object.
细节摄像机的视野与可视范围可以如图2所示。图2中的虚线构成的区域表示细节摄像机的可视范围,图2中的实线构成的区域表示细节摄像机在某一具体角度、焦距下的视野。The field of view and visible range of the detail camera can be shown in Figure 2. The area formed by the dotted line in FIG. 2 represents the visible range of the detail camera, and the area formed by the solid line in FIG. 2 represents the field of view of the detail camera at a specific angle and focal length.
图3示意了全景摄像机101与多个细节摄像机102的可视范围的位置关系。图3中的实线构成的区域表示全景摄像机101的可视范围,虚线构成的区域表示细节摄像机102的可视范围。多个细节摄像机102的可视范围存在交集,全景摄像机101的可视范围跨越了多个细节摄像机的可视范围。FIG. 3 illustrates the positional relationship between the viewing range of the panoramic camera 101 and the multiple detail cameras 102. The area formed by the solid line in FIG. 3 indicates the visible range of the panoramic camera 101, and the area formed by the broken line indicates the visible range of the detail camera 102. The visual ranges of the multiple detail cameras 102 overlap, and the visual range of the panoramic camera 101 spans the visual ranges of the multiple detail cameras.
当然,可以根据实际情况对全景摄像机101和多个细节摄像机102进行可视范围配置,本申请不再一一列举。Of course, the panoramic camera 101 and the multiple detail cameras 102 can be configured for the visual range according to actual conditions, and this application will not list them one by one.
下面结合附图,对本申请的实施例提供的方案进行具体阐述。The solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
一方面,本申请实施例提供一种拍摄装置40,用于执行本申请提供的拍摄方法。该拍摄装置40可以部署于图1所示的联合拍摄系统10中的全景摄像机101或细节摄像机102中。On the one hand, an embodiment of the present application provides a photographing device 40 for executing the photographing method provided in the present application. The photographing device 40 may be deployed in the panoramic camera 101 or the detail camera 102 in the joint photographing system 10 shown in FIG. 1.
图4示意了本申请实施例提供的拍摄装置40的结构图。如图4所示,拍摄装置40可以包括处理器401、存储器402、收发器403以及图像采集器404。FIG. 4 illustrates a structural diagram of a photographing device 40 provided by an embodiment of the present application. As shown in FIG. 4, the photographing device 40 may include a processor 401, a memory 402, a transceiver 403, and an image collector 404.
下面结合图4对拍摄装置40的各个构成部件进行具体的介绍:The components of the camera 40 will be specifically introduced below in conjunction with FIG. 4.
存储器402可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);或者上述种类的存储器的组合,用于存储可实现本申请方法的程序代码、配置文件、数据信息或者其他内容。The memory 402 may be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (HDD) or solid-state drive (solid-state drive, SSD); or a combination of the above types of memory, used to store the program code that can implement the method of this application , Configuration files, data information or other content.
收发器403用于拍摄装置40与其他设备的信息交互。The transceiver 403 is used for information interaction between the camera 40 and other equipment.
处理器401可以是拍摄装置40的控制中心。例如,处理器401可以是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。The processor 401 may be the control center of the camera 40. For example, the processor 401 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application. Circuits, for example: one or more microprocessors (digital singnal processors, DSP), or one or more field programmable gate arrays (FPGA).
图像采集器404用于拍摄图像。例如,图像采集器404可以是独立摄像头、手机摄像头、电脑摄像头、球机摄像头、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备的摄像头等。The image collector 404 is used to capture images. For example, the image collector 404 may be an independent camera, a mobile phone camera, a computer camera, a dome camera, an augmented reality (AR)\virtual reality (VR) device, etc.
一种可能的实现方式中,拍摄装置40为全景摄像机或部署于全景摄像机,处理器401通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的视频图像数据,执行如下功能:In a possible implementation manner, the shooting device 40 is a panoramic camera or is deployed in a panoramic camera, and the processor 401 runs or executes software programs and/or modules stored in the memory 402 and calls video images stored in the memory 402. Data, perform the following functions:
拍摄得到全景图像,全景图像中包括拥有多个对象的目标对象集合;从多个细节摄像机中选择目标细节摄像机,其中,目标对象集合位于目标细节摄像机的可视范围之内;通过收发器403向目标细节摄像机发送拍摄指令(拍摄指令的数量是单个),拍摄指令中携带单个平移/俯仰/缩放PTZ值,拍摄指令用于指示目标细节摄像机执行:按照拍摄指令包括的PTZ值调节拍摄位置使得目标对象集合位于目标细节摄像机的视野中,并拍摄;通过收发器403接收目标细节摄像机发送的完成拍摄指令的响应;把目标对象集合中的对象标记为拍摄完成。A panoramic image is taken, and the panoramic image includes a target object set with multiple objects; the target detail camera is selected from a plurality of detail cameras, where the target object set is located within the visible range of the target detail camera; The target detail camera sends a shooting command (the number of shooting commands is single), and the shooting command carries a single pan/tilt/zoom PTZ value. The shooting command is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command to make the target The object set is located in the field of view of the target detail camera and is photographed; the response to the shooting completion instruction sent by the target detail camera is received through the transceiver 403; the objects in the target object set are marked as being photographed.
另一种可能的实现方式中,拍摄装置40为细节摄像机或部署于细节摄像机,处理器401通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的视频图像数据,执行如下功能:In another possible implementation manner, the shooting device 40 is a detail camera or is deployed in a detail camera, and the processor 401 runs or executes a software program and/or module stored in the memory 402 and calls the video stored in the memory 402. Image data, perform the following functions:
目标细节摄像机接收全景摄像机发送的拍摄指令;目标细节摄像机根据拍摄指令包括的PTZ值调节拍摄位置;目标细节摄像机对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息,N个对象包括目标对象集合中的所有对象;目标细节摄像机通过收发器403向全景摄像机发送完成拍摄指令的响应;目标细节摄像机将N个对象中M个对象的对象信息上报,上报对象是全景摄像机或者主机,M大于或等于1且小于或等于N。The target detail camera receives the shooting command sent by the panoramic camera; the target detail camera adjusts the shooting position according to the PTZ value included in the shooting command; the target detail camera shoots each of the N objects in its field of view once to obtain the object information of the N objects, N The objects include all objects in the target object set; the target detail camera sends a response to the panoramic camera through the transceiver 403 to complete the shooting instruction; the target detail camera reports the object information of M objects in the N objects, and the reported object is a panoramic camera or Host, M is greater than or equal to 1 and less than or equal to N.
另一方面,本申请实施例提供一种拍摄方法,可以应用于图1所示的联合拍摄系统中全景摄像机与细节摄像机的交互过程。如图5所示,本申请实施例提供的拍摄方法可以包括:On the other hand, the embodiment of the present application provides a shooting method, which can be applied to the interaction process between the panoramic camera and the detail camera in the joint shooting system shown in FIG. 1. As shown in FIG. 5, the shooting method provided by the embodiment of the present application may include:
S501、全景摄像机拍摄得到全景图像。S501: A panoramic image is captured by a panoramic camera.
具体的,S501可以实现为:全景摄像机对其可视范围内的场景进行拍摄得到的图像,作为全景图像。其中,全景图像中中记录了多个对象,例如多个行人。全景摄像机可以通过识别算法检测全景图像中的对象。Specifically, S501 may be implemented as: an image obtained by a panoramic camera shooting a scene within its visible range is used as a panoramic image. Among them, multiple objects, such as multiple pedestrians, are recorded in the panoramic image. A panoramic camera can detect objects in a panoramic image through a recognition algorithm.
进一步的,可以根据对象对应的细节摄像机,将全景图像中的对象视为不同的对象集合,即全景对象中包括一个或多个对象集合,一个对象集合拥有多个对象。Further, the objects in the panoramic image can be regarded as different object sets according to the detailed cameras corresponding to the objects, that is, the panoramic objects include one or more object sets, and one object set has multiple objects.
需要说明的是,对象集合中包括的对象,可以为未经过细节摄像机拍摄过的对象。It should be noted that the objects included in the object set may be objects that have not been photographed by the detail camera.
可选的,全景摄像机对目标对象集合中的所有对象的状态标记为待拍摄的状态。Optionally, the panoramic camera marks the state of all objects in the target object set as the state to be photographed.
其中,全景摄像机可以将全景图像中对应同一细节摄像机的对象视为一个对象集合。Among them, the panoramic camera may regard the objects corresponding to the same detail camera in the panoramic image as a set of objects.
需要说明的是,当一个对象位于多个细节摄像机的可视范围之内时,可以根据预设规则确定该对象对应某一个细节摄像机。It should be noted that when an object is within the visible range of multiple detail cameras, it can be determined according to a preset rule that the object corresponds to a certain detail camera.
示例性的,该预设规则可以为:选择可视范围内拥有的对象数量最多的细节摄像机作为该对象对应的细节摄像机;或者,选择该对象距离中心区域最近的细节摄像机作为该对象对应的细节摄像机。Exemplarily, the preset rule may be: selecting the detail camera with the largest number of objects in the visible range as the detail camera corresponding to the object; or selecting the detail camera with the object closest to the center area as the detail corresponding to the object Camera.
例如,如图6所示,示意了一种联合拍摄场景,该场景中全景摄像机与3个细节摄像机通信,分别记录为细节摄像机1、细节摄像机2、细节摄像机3。3个细节摄像机的可视范围如图6中的虚线构成的区域所示,全景摄像机的可视范围如图6中的实线构成的区域所示。全景摄像机拍摄的全景图像中包括7个对象(图6中的对象A至对象G),按其对应的细节摄像机,可以把7个对象视为3个不同的对象集合。具体的,如图6所示,可以把对应细节摄像机1的对象A、对象B、对象C视为对象集合1,将对应细节摄像机2的对象D、对象E视为对象集合2;将对应细节摄像机3的对象F、对象G视为对象集合3。For example, as shown in Figure 6, a joint shooting scene is shown in which a panoramic camera communicates with three detail cameras, which are recorded as detail camera 1, detail camera 2, and detail camera 3. The visibility of the three detail cameras The range is shown in the area formed by the dashed line in FIG. 6, and the visible range of the panoramic camera is shown in the area formed by the solid line in FIG. 6. The panoramic image captured by the panoramic camera includes 7 objects (object A to object G in FIG. 6). According to the corresponding detail camera, the 7 objects can be regarded as 3 different object sets. Specifically, as shown in Figure 6, the object A, object B, and object C corresponding to the detail camera 1 can be regarded as the object set 1, and the object D and object E corresponding to the detail camera 2 can be regarded as the object set 2. The object F and the object G of the camera 3 are regarded as the object set 3.
进一步的,在S501中,全景摄像机可以从全景图像包括的多个对象集合中,选择一个对象集合作为目标对象集合,进行联合拍摄获取目标对象集合中的对象的细节信息。即,全景图像中可以包括拥有多个对象的目标对象集合。Further, in S501, the panoramic camera may select an object set as the target object set from the multiple object sets included in the panoramic image, and perform joint shooting to obtain detailed information of the objects in the target object set. That is, the panoramic image may include a set of target objects with multiple objects.
可选的,全景摄像机选择目标对象集合的方式可以包括但不限于下述实现1和实现2。Optionally, the manner in which the panoramic camera selects the target object set may include, but is not limited to, the following implementation 1 and implementation 2.
实现1、全景摄像机可以随机选择一个对象集合作为目标对象集合。Realization 1. The panoramic camera can randomly select an object set as the target object set.
实现2、全景摄像机选择优先级最高的对象集合作为目标对象集合。Realization 2. The panoramic camera selects the object set with the highest priority as the target object set.
具体的,在实现2中,全景摄像机先获取全景图像中每个对象集合的优先级信息,然后选择优先级最高的对象集合作为目标对象集合。Specifically, in implementation 2, the panoramic camera first obtains the priority information of each object set in the panoramic image, and then selects the object set with the highest priority as the target object set.
一种可能的实现方式中,全景摄像机可以为全景图像中每个对象确定优先级,将对象集合中优先级最高的对象的优先级作为对象集合的优先级。In a possible implementation manner, the panoramic camera may determine the priority of each object in the panoramic image, and use the priority of the object with the highest priority in the object set as the priority of the object set.
另一种可能的实现方式中,全景摄像机可以为全景图像中每个对象确定优先级,将对象集合中优先级从高到低的前X个对象的优先级之和的平均值,作为对象集合的优先 级。其中,X大于或等于2。In another possible implementation manner, the panoramic camera can determine the priority for each object in the panoramic image, and use the average value of the sum of the priorities of the first X objects with priority from high to low in the object set as the object set Priority. Among them, X is greater than or equal to 2.
具体的,全景摄像机可以根据实际情况配置全景图像中每个对象的优先级,本申请对此不予限定。示例性的,全景摄像机可以预测每个对象离开其对应的细节摄像机的可视范围的时间,根据预测的离开时间配置对象的优先级。例如,预测的离开时间距离当前时刻越近的对象具有更高的优先级。Specifically, the panoramic camera may configure the priority of each object in the panoramic image according to the actual situation, which is not limited in this application. Exemplarily, the panoramic camera may predict the time when each object leaves the visible range of its corresponding detail camera, and configure the priority of the object according to the predicted leaving time. For example, objects whose predicted departure time is closer to the current moment have higher priority.
例如,全景摄像机对其可视范围内的对象进行检测和跟踪,获取全景图像中每个对象的位置、速度、方向、出现时长信息,根据每个对象的位置、速度、方向、出现时长信息计算出每个对象的预测离开时间,按预测离开时间从近到远的顺序对每个对象进行排序,使预测离开时间越近的对象具有更高的优先级,从而得到每个对象的优先级。For example, a panoramic camera detects and tracks objects within its visible range, obtains the position, speed, direction, and appearance duration information of each object in the panoramic image, and calculates according to the position, speed, direction, and appearance duration information of each object The predicted departure time of each object is calculated, and each object is sorted in the order of the predicted departure time from near to far, so that the object with the shorter predicted departure time has a higher priority, thereby obtaining the priority of each object.
S502、全景摄像机从多个细节摄像机中选择目标细节摄像机。S502. The panoramic camera selects a target detail camera from a plurality of detail cameras.
其中,目标对象集合位于目标细节摄像机的可视范围之内。即目标对象集合对应的细节摄像机则为目标细节摄像机。Among them, the target object set is located within the visible range of the target detail camera. That is, the detail camera corresponding to the target object set is the target detail camera.
S503、全景摄像机向目标细节摄像机发送拍摄指令。S503. The panoramic camera sends a shooting instruction to the target detail camera.
其中,S503中发送的拍摄指令为单个,拍摄指令中携带单个PTZ值,拍摄指令用于指示目标细节摄像机执行:按照拍摄指令包括的PTZ值调节拍摄位置使得目标对象集合位于目标细节摄像机的视野中,并拍摄。Among them, the shooting instruction sent in S503 is single, and the shooting instruction carries a single PTZ value. The shooting instruction is used to instruct the target detail camera to execute: adjust the shooting position according to the PTZ value included in the shooting command so that the target object set is in the field of view of the target detail camera And shoot.
具体的,在S503中,全景摄像机先计算PTZ值,然后向目标细节摄像机发送携带单个PTZ值的拍摄指令。Specifically, in S503, the panoramic camera first calculates the PTZ value, and then sends a shooting instruction carrying a single PTZ value to the target detail camera.
具体的,全景摄像机根据目标对象集合在全景图像中的位置,根据该位置信息、期望在目标细节摄像机中该目标对象集合的显示区域、以及全景摄像机与目标细节摄像机之间的坐标转换关系计算得到PTZ值,使得目标细节摄像机根据计算得到的PTZ值调整位置后,目标对象集合位于其视野内。其中,全景摄像机与目标细节摄像机之间的坐标转换关系,在全景摄像机与多个细节摄像机的前期布控阶段配置,本申请对于配置过程以及根据坐标转换关系计算PTZ的过程均不进行赘述。Specifically, the panoramic camera is calculated according to the position of the target object set in the panoramic image, the position information, the desired display area of the target object set in the target detail camera, and the coordinate conversion relationship between the panoramic camera and the target detail camera. The PTZ value makes the target detail camera adjust its position according to the calculated PTZ value, and the target object set is in its field of view. Among them, the coordinate conversion relationship between the panoramic camera and the target detail camera is configured in the early deployment control stage of the panoramic camera and multiple detail cameras. This application will not repeat the configuration process and the process of calculating the PTZ according to the coordinate conversion relationship.
例如,PTZ的计算过程可以为:全景摄像机根据目标对象集合确定一个检测区域。该检测区域包括了目标对象集合中的每个对象,并且检测区域的宽高比与目标细节摄像机获取的画面的宽高比相同。全景摄像机根据全景图像中该检测区域的大小和目标细节摄像机获取画面的宽高,计算得到缩放(Zoom,Z)值,全景摄像机根据该检测区域在全景图像中的位置以及全景摄像机与目标细节摄像机的坐标转换关系,计算得到平移(Pan,P)值和俯仰(Tilt,T)值。For example, the calculation process of PTZ may be: a panoramic camera determines a detection area according to a set of target objects. The detection area includes each object in the target object set, and the aspect ratio of the detection area is the same as the aspect ratio of the picture obtained by the target detail camera. The panoramic camera obtains the width and height of the picture according to the size of the detection area in the panoramic image and the target detail camera, and calculates the zoom (Z) value. The panoramic camera calculates the position of the detection area in the panoramic image, as well as the panoramic camera and the target detail camera. The coordinate conversion relationship of, calculates the translation (Pan, P) value and the pitch (Tilt, T) value.
例如,检测区域可以确定为:全景图像中以目标对象集合中优先级最高的人物为中心,以
Figure PCTCN2021086726-appb-000001
为宽度,以
Figure PCTCN2021086726-appb-000002
为高度的区域。其中,h为优先级最高的人物在全景图像中的高度,r h为期望的优先级最高的人物在目标细节摄像机画面中的占高比,
Figure PCTCN2021086726-appb-000003
为目标细节摄像机获取画面的宽高比例。
For example, the detection area can be determined as: in the panoramic image, the person with the highest priority in the target object set is the center, and the
Figure PCTCN2021086726-appb-000001
Is the width, with
Figure PCTCN2021086726-appb-000002
Is the height area. Among them, h is the height of the person with the highest priority in the panoramic image, and rh is the expected height of the person with the highest priority in the target detail camera image.
Figure PCTCN2021086726-appb-000003
Get the aspect ratio of the screen for the target detail camera.
S504、目标细节摄像机接收全景摄像机发送的拍摄指令。S504: The target detail camera receives a shooting instruction sent by the panoramic camera.
需要说明的是,S504中目标细节摄像机接收的拍摄指令,即S503中全景摄像机发送的拍摄指令,此处不再赘述。It should be noted that the shooting instruction received by the target detail camera in S504, that is, the shooting instruction sent by the panoramic camera in S503, will not be repeated here.
S505、目标细节摄像机根据拍摄指令包括的PTZ值调节拍摄位置。S505: The target detail camera adjusts the shooting position according to the PTZ value included in the shooting instruction.
其中,目标细节摄像机在S505中调节拍摄位置后,其视野中包括了目标对象集合中的每个对象。Among them, after the target detail camera adjusts the shooting position in S505, its field of view includes each object in the target object set.
S506、目标细节摄像机对其视野中的每个对象分别拍摄1次,得到N个对象的对象信息。S506: The target detail camera shoots each object in its field of view once to obtain object information of N objects.
其中,N个对象包括目标对象集合中的所有对象。Among them, N objects include all objects in the target object set.
具体的,S506中目标细节摄像机对其视野中的对象进行监控,当检测到视野中的对象满足拍摄条件时,目标细节摄像机拍摄一次得到满足拍摄调节的对象的对象信息。Specifically, in S506, the target detail camera monitors the object in its field of view. When it detects that the object in the field of view meets the shooting condition, the target detail camera shoots once to obtain the object information of the object that meets the shooting adjustment.
其中,拍摄条件是预先配置的可以获取到对象最多的细节信息的条件。例如,拍摄条件可以为对象正对目标细节摄像机,或者,可以为对象的视线与目标细节摄像机的视野的中轴线的夹角小于或等于预设度数。可以根据实际需求配置预设度数的取值,本申请实施例不予限定。Among them, the shooting condition is a pre-configured condition that can obtain the most detailed information of the object. For example, the shooting condition may be that the object is facing the target detail camera, or it may be that the angle between the line of sight of the object and the central axis of the field of view of the target detail camera is less than or equal to a preset degree. The value of the preset degree can be configured according to actual needs, which is not limited in the embodiment of the present application.
具体的,目标细节摄像机对其视野中的每个对象,在其满足拍摄条件时分配拍摄一次,得到其对象信息。目标细节摄像机的视野中包括N的对象,则可以得到N个对象的对象信息。其中,N大于或等于1。Specifically, the target detail camera allocates a shooting once for each object in its field of view when it meets the shooting conditions, and obtains its object information. If the field of view of the target detail camera includes N objects, the object information of the N objects can be obtained. Among them, N is greater than or equal to 1.
需要说明的是,目标细节摄像机的视野中可以包括目标对象集合中的部分或全部对象。进一步的,目标细节摄像机的视野中还可以包括目标对象集合之外的对象,例如有新的对象进入目标细节摄像机的视野的情况。It should be noted that the field of view of the target detail camera may include part or all of the objects in the target object set. Further, the field of view of the target detail camera may also include objects outside the set of target objects, for example, when a new object enters the field of view of the target detail camera.
具体的,一个对象的对象信息用于反应该对象的细节信息,可以根据实际需求配置对象信息的内容及形式,本申请对此不与限定。在对象信息的内容及形式不同时,S506中得到对象信息的方式也不同,具体可以包括但不限于下述两种方式。Specifically, the object information of an object is used to reflect the detailed information of the object, and the content and form of the object information can be configured according to actual needs, which is not limited in this application. When the content and form of the object information are different, the methods for obtaining the object information in S506 are also different, and the specific methods may include, but are not limited to, the following two methods.
方式a、一个对象的对象信息为目标细节摄像机在对其视野拍摄得到的原始图像中添加了指示信息的图像,该指示信息用于指示该一个对象在原始图像中的位置。Manner a. The object information of an object is an image in which the target detail camera adds indication information to the original image captured by its field of view, and the indication information is used to indicate the position of the object in the original image.
在方式a中,目标细节摄像机获取对象的对象信息具体可以实现为:目标细节摄像机检测到其视野中一个对象满足拍摄条件时,对其视野拍摄得到原始图像,在该原始图像中添加指示信息,得到该对象的对象信息。In method a, the object information of the object obtained by the target detail camera can be specifically realized as follows: when the target detail camera detects that an object in its field of view meets the shooting conditions, the original image is obtained by shooting its field of view, and indication information is added to the original image. Get the object information of the object.
其中,指示信息可以为坐标信息,或者指示框或者其他。Wherein, the indication information may be coordinate information, or an indication frame or others.
示例性的,假设目标细节摄像机在对象A满足拍摄条件时,对其视野拍摄得到的原始图像如图7中左侧所示,在该原始图像中对象A的位置添加一个矩形框指示对象A,将添加了矩形框的图像(图7中的右侧图像)作为对象A的对象信息。Exemplarily, suppose that when the target detail camera satisfies the shooting conditions of the object A, the original image obtained by shooting its field of view is shown on the left in Figure 7, and a rectangular frame is added to the position of the object A in the original image to indicate the object A, The image to which the rectangular frame is added (the right image in FIG. 7) is used as the object information of the object A.
方式b、一个对象的对象信息为目标细节摄像机对其视野拍摄得到的原始图像中包含该对象的图像子区域。Manner b. The object information of an object is the image sub-region of the object contained in the original image captured by the target detail camera for its field of view.
在方式b中,目标细节摄像机获取对象的对象信息具体可以实现为:目标细节摄像机检测到其视野中一个对象满足拍摄条件时,对其视野拍摄得到原始图像,从该原始图像中获取包含该对象的图像子区域,将该子区域图像作为该对象的对象信息。In method b, the object information of the object obtained by the target detail camera can be specifically implemented as follows: when the target detail camera detects that an object in its field of view meets the shooting conditions, the original image is obtained from its field of view, and the original image is obtained from the original image containing the object. The image sub-area of the sub-area, the sub-area image as the object information of the object.
示例性的,假设目标细节摄像机在对象B满足拍摄条件时,对其视野拍摄得到的原始图像如图8中左侧所示,目标细节摄像机将该原始图像中包含对象B的区域抠图为图8中的右侧图像,将抠图得到的图像作为对象B的对象信息。Exemplarily, suppose that when the target detail camera satisfies the shooting conditions, the original image obtained by shooting its field of view is shown on the left in Figure 8, and the target detail camera cuts out the area containing the object B in the original image as a picture. In the right image in 8, the image obtained by the cutout is used as the object information of object B.
S507、目标细节摄像机将N个对象中M个对象的对象信息上报。S507: The target detail camera reports the object information of M objects among the N objects.
其中,S507中目标细节摄像机上报的上报对象是全景摄像机或者主机。M大于或 等于1且小于或等于N。Among them, the report object reported by the target detail camera in S507 is the panoramic camera or the host. M is greater than or equal to 1 and less than or equal to N.
一种可能的实现方式中,目标细节摄像机可以在得到一个对象的对象信息后,执行S507的操作,最终将M个对象的对象信息上报。In a possible implementation manner, the target detail camera may perform the operation of S507 after obtaining the object information of an object, and finally report the object information of M objects.
另一种可能的实现方式中,目标细节摄像机在得到N个对象的对象信息后,执行S507的操作,将N个对象中M个对象的对象信息上报。In another possible implementation manner, after the target detail camera obtains the object information of the N objects, it executes the operation of S507 to report the object information of M objects among the N objects.
需要说明的是,当一个对象的对象信息为目标细节摄像机对其视野拍摄得到的原始图像中包含该对象的图像子区域时,对应于S506中的方式b,在执行S507时,还需要执行:目标细节摄像机将M个对象的原始图像上报。It should be noted that when the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506. When S507 is executed, it is also necessary to execute: The target detail camera reports the original images of M objects.
可选的,S507可以通过下述两种方案(方案A或方案B)实现。Optionally, S507 can be implemented through the following two solutions (solution A or solution B).
方案A、目标细节摄像机将S506中得到的对象的对象信息直接上报。Solution A: The target detail camera directly reports the object information of the object obtained in S506.
在方案A中,目标细节摄像机可以在S506中每得到一个对象的对象信息,则上报一次。或者,目标细节摄像机可以在S506中得到N个对象的对象信息,一起上报。In scheme A, the target detail camera can report the object information of an object every time it obtains it in S506. Alternatively, the target detail camera may obtain the object information of the N objects in S506 and report them together.
方案B、目标细节摄像机进行自身去重,将与特征库中特征不匹配的对象的对象信息上报,与特征库中特征匹配的对象的对象信息不上报。Solution B: The target detail camera performs its own deduplication, and reports the object information of objects that do not match the features in the feature library, and does not report the object information of objects that match the features in the feature library.
在方案B中,目标细节摄像机可以在S506中每得到一个对象的对象信息,则进行自身去重后,将与特征库中特征不匹配的对象信息上报,(将与特征库中特征匹配的对象信息删除,不上报)。或者,目标细节摄像机可以在S506中得到N个对象的对象信息后进行自身去重,将与特征库中特征不匹配的M个对象的对象信息一起上报。In scheme B, the target detail camera can obtain the object information of an object in S506, and then after self-de-duplication, it will report the object information that does not match the feature in the feature library, (the object that matches the feature in the feature library will be The information is deleted and not reported). Alternatively, the target detail camera may obtain the object information of the N objects in S506 and then perform self-deduplication, and report the object information of the M objects that do not match the features in the feature library together.
现以第一对象为例,对自身去重过程进行说明,如图9所示,目标细节摄像机自身去重过程可以包括下述S507a和S507b。第一对象为N个对象中任一对象。Taking the first object as an example, the self-deduplication process is described. As shown in FIG. 9, the self-deduplication process of the target detail camera may include the following S507a and S507b. The first object is any one of the N objects.
S507a、目标细节摄像机从第一对象的对象信息中,获取第一对象的特征。S507a. The target detail camera acquires the feature of the first object from the object information of the first object.
具体的,目标细节摄像机采用特征提取算法从第一对象的对象信息中提取第一对象的特征。Specifically, the target detail camera uses a feature extraction algorithm to extract the feature of the first object from the object information of the first object.
其中,第一对象的特征可以用于表示第一对象的不同特点。例如,当第一对象为某个人时,第一对象的特征可以用于表示该人的样貌、年龄、身材、面部信息。Among them, the characteristics of the first object can be used to represent different characteristics of the first object. For example, when the first object is a certain person, the characteristics of the first object can be used to represent the person's appearance, age, body shape, and facial information.
S507b、目标细节摄像机将第一对象的特征,与目标细节摄像机的特征库进行对比。S507b. The target detail camera compares the feature of the first object with the feature library of the target detail camera.
其中,目标细节摄像机的特征库中存储了目标细节摄像机拍摄过的对象的特征。Among them, the feature library of the target detail camera stores the features of the object photographed by the target detail camera.
具体的,目标细节摄像机分别计算第一对象的特征,与目标细节摄像机的特征库中每个对象特征之间的相似度,若第一对象的特征与特征库中的某个对象的特征之间的相似度小于阈值,则认为该第一对象的特征与该特征库中的某个对象的特征匹配;若第一对象的特征与特征库中的某个对象的特征之间的相似度大于阈值,则认为该第一对象的特征与该特征库中的某个对象的特征不匹配;遍历特征库中的每个特征,判断目标细节摄像机的特征库中是否存在与第一对象的特征匹配的特征。Specifically, the target detail camera respectively calculates the similarity between the feature of the first object and the feature of each object in the feature library of the target detail camera. If the feature of the first object is between the feature of an object in the feature library If the similarity of the first object is less than the threshold, it is considered that the feature of the first object matches the feature of an object in the feature library; if the similarity between the feature of the first object and the feature of an object in the feature library is greater than the threshold , It is considered that the feature of the first object does not match the feature of an object in the feature library; each feature in the feature library is traversed to determine whether the feature library of the target detail camera matches the feature of the first object feature.
其中,阈值的具体取值,可以根据实际需求配置,本申请实施例不予限定。Among them, the specific value of the threshold can be configured according to actual needs, which is not limited in the embodiment of the present application.
需要说明的是,若第一对象的特征与特征库中的某个对象的特征之间的相似度等于阈值,可以根据实际需求认为该第一对象的特征与该特征库中的某个对象的特征匹配或者不匹配。It should be noted that if the similarity between the feature of the first object and the feature of an object in the feature library is equal to the threshold, the feature of the first object can be considered to be the same as that of an object in the feature library according to actual needs. Feature matches or does not match.
可选的,若目标细节摄像机的特征库中不存在与第一对象的特征匹配的特征,则S507中目标细节摄像机将第一对象的对象信息上报,上报的M个对象的对象信息包含 第一对象的对象信息;若目标细节摄像机的特征库中存在与第一对象的特征匹配的特征,S507中目标细节摄像机将第一对象的对象信息删除,上报的M个对象的对象信息不包含第一对象的对象信息。Optionally, if there is no feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera in S507 reports the object information of the first object, and the reported object information of the M objects includes the first object. The object information of the object; if there is a feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object in S507, and the reported object information of the M objects does not include the first object. Object information of the object.
S508、目标细节摄像机向全景摄像机发送完成拍摄指令的响应。S508. The target detail camera sends a response to the panoramic camera to complete the shooting instruction.
具体的,目标细节摄像机可以在将其视野中的对象均进行S506的拍摄之后,执行S508向全景摄像机发送完成拍摄指令的响应,该完成拍摄指令的响应用于指示目标细节摄像机在拍摄指令包括的PTZ值下已完成所有对象的拍摄。Specifically, the target detail camera may perform S508 after shooting all the objects in its field of view to send a response of the shooting completion instruction to the panoramic camera. The response of the shooting completion instruction is used to indicate that the target detail camera is included in the shooting instruction The shooting of all objects has been completed under the PTZ value.
S509、全景摄像机接收目标细节摄像机发送的完成拍摄指令的响应。S509. The panoramic camera receives a response to the shooting completion instruction sent by the target detail camera.
需要说明的是,S509中全景摄像机接收的拍摄指令,即S508中细节摄像机发送的拍摄指令,此处不再赘述。It should be noted that the shooting instruction received by the panoramic camera in S509, that is, the shooting instruction sent by the detail camera in S508, will not be repeated here.
S510、全景摄像机把目标对象集合中的对象标记为拍摄完成。S510. The panoramic camera marks an object in the target object set as being photographed.
具体的,全景摄像机在S509中收到完成拍摄指令的响应后,执行S510,把目标对象集合中的对象标记为拍摄完成。Specifically, after receiving the response of the shooting completion instruction in S509, the panoramic camera executes S510 to mark the objects in the target object set as shooting completed.
一种可能的实现方式中,若全景摄像机在S510之前,对目标对象集合中的所有对象的状态标记为待拍摄的状态,S510中全景摄像机把目标对象集合中的对象标记为拍摄完成具体包括:全景摄像机把目标对象集合中的所有对象的状态更新为拍摄完成的状态。In a possible implementation manner, if the panoramic camera marks the state of all objects in the target object set as the state to be photographed before S510, the panoramic camera marking the objects in the target object set as photographed in S510 specifically includes: The panoramic camera updates the state of all objects in the target object set to the state where the shooting is completed.
示例性的,全景摄像机根据检测到的对象建立一个表格,在该表格配置每个对象的拍摄属性,拍摄属性可以包括待拍摄的状态或者拍摄完成的状态。在发送拍摄指令之前,全景摄像机将目标对象集合中的所有对象拍摄属性标记为待拍摄的状态,在S510中,将该表格中,目标对象集合中包括的每个对象的拍摄属性更新为拍摄完成的状态。Exemplarily, the panoramic camera establishes a table according to the detected objects, and configures the shooting attributes of each object in the table, and the shooting attributes may include the state to be shot or the state that the shooting is completed. Before sending the shooting instruction, the panoramic camera marks all the object shooting attributes in the target object set as the state to be shot. In S510, the shooting attribute of each object included in the target object set in the table is updated to the shooting completed status.
另一种可能的实现方式中,S510中全景摄像机把目标对象集合中的对象标记为拍摄完成具体包括:全景摄像机把目标对象集合中的所有对象的状态设置为拍摄完成的状态。In another possible implementation manner, in S510, the panoramic camera marking the objects in the target object set as shooting completed specifically includes: the panoramic camera sets the state of all the objects in the target object set as the shooting completed state.
进一步可选的,全景摄像机还可以进行画面监控,识别其可视范围内的对象。相应的,在S510中,全景摄像机除了把目标对象集合中的对象标记为拍摄完成,全景摄像机还可以将画面监控时目标细节摄像机视野内目标对象集合之外的对象标记为拍摄完成。Further optionally, the panoramic camera can also perform image monitoring and identify objects within its visual range. Correspondingly, in S510, in addition to marking the objects in the target object set as photographing completed, the panoramic camera may also mark objects other than the target object set in the target detail camera's field of view during screen monitoring as photographing completed.
通过本申请提供的拍摄方法,在全景摄像机的视野范围中多个对象对应同一个细节摄像机时,全景摄像机向该细节摄像机发送单个PTZ值,指示该细节摄像机根据单个PTZ值一次性调整位置后,就可以获取多个对象的细节信息。发送单个PTZ值实现多个对象的细节拍摄(而不像现有技术一样需要针对每个对象单独发送PTZ值),减少了全景摄像机发送PTZ值的数量;相应的,细节摄像机只需要按照收到的PTZ值调整一次位置(调节细节摄像机的位置也可以理解成调节细节摄像机的姿态),因此减少了细节摄像机的调整次数,从而延长了细节摄像机的使用寿命,进一步的,由于细节摄像机在调整自身位置时无法进行拍摄,因此在调整细节摄像机位置时可能漏拍运动的对象(例如车辆),相对于反复调整细节摄像机的位置的方案而言,本申请把他调节次数降低到一次,还可以降低了漏拍率。With the shooting method provided in this application, when multiple objects in the field of view of the panoramic camera correspond to the same detail camera, the panoramic camera sends a single PTZ value to the detail camera, indicating that the detail camera adjusts its position according to the single PTZ value. You can get detailed information about multiple objects. Sending a single PTZ value to achieve detailed shooting of multiple objects (rather than sending the PTZ value for each object separately as in the prior art), reducing the number of PTZ values sent by the panoramic camera; correspondingly, the detail camera only needs to be received according to the received Adjust the position of the PTZ value once (adjusting the position of the detail camera can also be understood as adjusting the posture of the detail camera), thus reducing the number of adjustments of the detail camera, thereby prolonging the service life of the detail camera, and further, because the detail camera is adjusting itself It is impossible to take pictures when adjusting the position of the detail camera. Therefore, when adjusting the position of the detail camera, moving objects (such as vehicles) may be missed. Compared with the solution of repeatedly adjusting the position of the detail camera, this application reduces the number of adjustments to one time. The missed shot rate.
进一步的,若S507中目标细节摄像机将N个对象中M个对象的对象信息发送给全 景摄像机,如图9所示,本申请提供的拍摄方法还可以包括:Further, if the target detail camera in S507 sends the object information of M objects among the N objects to the panoramic camera, as shown in Fig. 9, the shooting method provided in this application may further include:
S511、全景摄像机接收目标细节摄像机发送的M个对象的对象信息。S511. The panoramic camera receives the object information of the M objects sent by the target detail camera.
需要说明的是,当一个对象的对象信息为目标细节摄像机对其视野拍摄得到的原始图像中包含该对象的图像子区域时,对应于S506中的方式b,S511中全景摄像机还可以接收到M个对象的原始图像。It should be noted that when the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506, and the panoramic camera in S511 can also receive M The original image of each object.
S512、全景摄像机将H个对象的对象信息发送给主机。S512. The panoramic camera sends the object information of the H objects to the host.
其中,H小于等于M。Among them, H is less than or equal to M.
需要说明的是,当一个对象的对象信息为目标细节摄像机对其视野拍摄得到的原始图像中包含该对象的图像子区域时,对应于S506中的方式b,在执行S512时,还需要执行:全景摄像机将H个对象的原始图像发送给主机。It should be noted that when the object information of an object is that the original image captured by the target detail camera for its field of view contains the image sub-region of the object, it corresponds to the method b in S506. When S512 is executed, it is also necessary to execute: The panoramic camera sends the original images of H objects to the host.
可选的,S512可以通过下述两种方法(方法A或方法B)实现。Optionally, S512 can be implemented by the following two methods (method A or method B).
方法A、全景摄像机将S511中接收的内容发送给主机。Method A: The panoramic camera sends the content received in S511 to the host.
在方法A中,全景摄像机可以在S511中每得到一个对象的对象信息,则发送一次对象信息给主机。或者,全景摄像机可以在S511中得到M个对象的对象信息,一起发送给主机。In method A, the panoramic camera can send the object information to the host every time it obtains the object information of an object in S511. Or, the panoramic camera may obtain the object information of M objects in S511, and send them to the host together.
方法B、全景摄像机将M个对象的对象信息进行交叉去重后的H个对象的对象信息发送给主机。Method B: The panoramic camera sends the object information of the H objects after cross-deduplication of the object information of the M objects to the host.
在方法B中,全景摄像机可以在S511中每得到一个对象的对象信息,则进行交叉去重,将与特征库中特征不匹配的对象信息发送给主机。或者,全景摄像机可以在S511中得到M个对象的对象信息后进行交叉去重,将与特征库中特征不匹配的H个对象的对象信息一起发送给主机。In method B, the panoramic camera can perform cross deduplication every time it obtains the object information of an object in S511, and send the object information that does not match the features in the feature library to the host. Alternatively, the panoramic camera may obtain the object information of the M objects in S511 and then perform cross deduplication, and send the object information of the H objects that do not match the features in the feature library to the host.
现以全景摄像机对M个对象的对象信息进行交叉去重过程进行详细说明。该过程可以包括下述S512a和512b。The cross-de-duplication process of the object information of M objects with a panoramic camera is now described in detail. This process may include the following S512a and 512b.
S512a、全景摄像机根据M个对象的对象信息,获取M个对象的特征。S512a. The panoramic camera acquires the features of the M objects according to the object information of the M objects.
具体的,全景摄像机采用特征提取算法从M个对象的对象信息,提取M个对象的特征。Specifically, the panoramic camera uses a feature extraction algorithm to extract features of M objects from the object information of M objects.
S512b、全景摄像机将M个对象的特征,与全景摄像机的特征库对比。S512b. The panoramic camera compares the features of the M objects with the feature library of the panoramic camera.
其中,全景摄像机的特征库存储了多个细节摄像机拍摄过的对象的特征。Among them, the feature library of the panoramic camera stores the features of the objects photographed by multiple detail cameras.
具体的,全景细节摄像机将M个对象中每个对象的特征,分别与全景细节摄像机的特征库中的每个特征进行对比,判断全景细节摄像机的特征库中是否存在与该M个对象中的特征匹配的特征。Specifically, the panoramic detail camera compares the feature of each object in the M objects with each feature in the feature library of the panoramic detail camera, and judges whether the feature library of the panoramic detail camera is different from that of the M objects. Feature matching feature.
具体的特征匹配过程参考S507b中的特征匹配的具体实现,此处不再赘述。For the specific feature matching process, refer to the specific implementation of feature matching in S507b, which will not be repeated here.
可选的,若全景摄像机的特征库中不存在与M个对象的特征匹配的特征,则S512中全景摄像机将M个对象的对象信息发送给主机;若全景摄像机的特征库中存在与M个对象中的部分或全部对象的特征匹配的特征,S512中全景摄像机将M个对象的对象信息中,与全景摄像机的特征库中有匹配特征的对象的对象信息删除后余下的对象信息发送给主机。Optionally, if there are no features matching the features of the M objects in the feature library of the panoramic camera, the panoramic camera in S512 sends the object information of the M objects to the host; The feature matching the feature of some or all of the objects in the object, the panoramic camera in S512 deletes the object information of the M objects with matching features in the feature library of the panoramic camera and sends the remaining object information to the host .
可选的,本申请提供的拍摄方法还可以包括:更新特征库。包括全景摄像机更新全景摄像机的特征库,和/或,细节摄像机更新细节摄像机的特征库。两者更新特征库的过 程相似。Optionally, the shooting method provided in this application may further include: updating the feature database. Including the panoramic camera update the feature library of the panoramic camera, and/or the detail camera update the feature library of the detail camera. The process of updating the signature database is similar for the two.
具体的,可以根据预设条件更新特征库。Specifically, the feature database can be updated according to preset conditions.
示例性的,该预设条件可以为:在进行去重时,将与特征库不匹配的特征,直接存储于特征库;将与特征库匹配的特征更新于特征库,同时删除特征库的匹配特征中存储时间最长的特征。当然,也可以根据实际需求配置预设规则,本申请实施例不予限定。Exemplarily, the preset condition may be: when performing deduplication, directly store the features that do not match the feature library in the feature library; update the features that match the feature library to the feature library, and delete the matching of the feature library at the same time The feature with the longest storage time among the features. Of course, preset rules can also be configured according to actual needs, which are not limited in the embodiment of the present application.
例如,将第二对象的特征,与目标细节摄像机的特征库进行对比;若目标细节摄像机的特征库中存在与第二对象的特征匹配的特征,可以将第二对象的特征更新至该目标细节摄像机的特征库,并删除目标细节摄像机的特征库中第二对象存储时间最长的特征;若目标细节摄像机的特征库中不存在与第二对象的特征匹配的特征,可以将第二对象的特征添加至该目标细节摄像机的特征库。For example, compare the feature of the second object with the feature library of the target detail camera; if there is a feature matching the feature of the second object in the feature library of the target detail camera, the feature of the second object can be updated to the target detail The feature library of the camera, and delete the feature with the longest storage time of the second object in the feature library of the target detail camera; if there is no feature matching the feature of the second object in the feature library of the target detail camera, you can change the feature of the second object The feature is added to the feature library of the target detail camera.
其中,在目标细节摄像机完成自身去重之后,目标细节摄像机可以根据该预设条件更新其特征库;在全景摄像机完成交叉去重之后,全景摄像机可以根据该预设条件更新其特征库。Among them, after the target detail camera completes its own deduplication, the target detail camera can update its feature library according to the preset condition; after the panoramic camera completes cross deduplication, the panoramic camera can update its feature library according to the preset condition.
需要说明的是,全景摄像机可以针对不同的目标对象集合,循环执行本申请提供的方案。It should be noted that the panoramic camera can cyclically execute the solution provided in this application for different target object sets.
进一步可选的,全景摄像机把目标对象集合中的对象标记为拍摄完成之后,本申请实施例提供的拍摄方法还可以包括:全景摄像机从多个细节摄像机中选择第二细节摄像机发送第二拍摄指令,以拍摄第二对象集合中的对象,其中,第二对象集合中包括:全景图像所包括的对象中未包含于目标对象集合的对象。Further optionally, after the panoramic camera marks the objects in the target object set as being photographed, the shooting method provided in the embodiment of the present application may further include: the panoramic camera selects a second detail camera from a plurality of detail cameras and sends a second shooting instruction , To photograph objects in the second object set, where the second object set includes: objects included in the panoramic image that are not included in the target object set.
可选的,全景摄像机把目标对象集合中的对象标记为拍摄完成之后,本申请提供的方法还可以包括:获取该全景图像中的除目标对象集合外的最高优先级的对象集合,对该对象集合进行拍摄,执行上述相关步骤,此处不再一一赘述。Optionally, after the panoramic camera marks the objects in the target object set as being photographed, the method provided in this application may further include: obtaining the highest priority object set in the panoramic image except the target object set, and the object set Assemble for shooting, and perform the above-mentioned related steps, which will not be repeated here.
可选的,在执行完上述步骤后,本申请实施例提供的拍摄方法还可以重新执行S501全景摄像机重新拍摄得到新全景图像,基于新的全景图像执行S502至S512中的部分或全部,具体的步骤参考上述S501至S512,不再一一赘述。Optionally, after the above steps are performed, the shooting method provided in this embodiment of the present application may also re-execute S501 panoramic camera to re-shoot to obtain a new panoramic image, and perform part or all of S502 to S512 based on the new panoramic image. Specifically, For the steps, refer to the above S501 to S512, which will not be repeated one by one.
假设用户需要获取某场景下多个目标人物的细节信息,现以通过本申请提供的拍摄方法获取为例进行详细说明。Assuming that the user needs to obtain the detailed information of multiple target persons in a certain scene, the detailed description will now be given by taking the method of shooting provided in this application as an example.
具体的,该户外场景布控了一个全景摄像机和3个细节摄像机,分别记录为细节摄像机1、细节摄像机2和细节摄像机3。Specifically, the outdoor scene is deployed with one panoramic camera and three detail cameras, which are recorded as detail camera 1, detail camera 2, and detail camera 3 respectively.
全景摄像机对其视野拍摄得到全景图像,根据对象对应的细节摄像机,将全景图像中的人物视为不同的人物集合。具体的,如图10所示,把对应细节摄像机1的人物A、人物B、人物C视为人物集合1,将对应细节摄像机2的人物D、人物E视为人物集合2。全景摄像机获取5个人物的优先级,人物A的优先级最高,将人物集合1作为目标人物集合,将人物集合1对应的细节摄像机1作为目标细节摄像机。The panoramic camera captures a panoramic image of its field of view, and according to the detailed camera corresponding to the object, the people in the panoramic image are regarded as different sets of people. Specifically, as shown in FIG. 10, the character A, the character B, and the character C corresponding to the detail camera 1 are regarded as the character set 1, and the character D and the character E corresponding to the detail camera 2 are regarded as the character set 2. The panoramic camera acquires the priority of 5 characters, and the priority of character A is the highest. The character set 1 is used as the target character set, and the detail camera 1 corresponding to the character set 1 is used as the target detail camera.
全景摄像机向细节摄像机1发送一个拍摄指令和PTZ值,指示细节摄像机1根据该PTZ值调整位置,使人物集合1位于其视野内。The panoramic camera sends a shooting instruction and PTZ value to the detail camera 1, instructing the detail camera 1 to adjust the position according to the PTZ value, so that the set of people 1 is in its field of view.
细节摄像机接收该指令和PTZ值,根据该PTZ值调整位置,对其视野内的人物A、人物B、人物C分别拍摄1次,得到3个人物的原始图像,然后根据3个人物的原始图像得到该3个人物的对象信息。如图11所示,左侧分别为人物A、人物B、人物C的 原始图像,右侧分别为人物A、人物B、人物C的对象信息。The detail camera receives the instruction and the PTZ value, adjusts the position according to the PTZ value, and shoots the person A, the person B, and the person C in its field of view respectively once to obtain the original images of the three characters, and then according to the original images of the three characters Obtain the object information of the three characters. As shown in Fig. 11, the left side is the original image of the person A, the person B, and the person C, and the right side is the object information of the person A, the person B, and the person C.
细节摄像机1对该3个人物的对象信息执行自身去重,细节摄像机1的特征库中不存在匹配特征,细节摄像机1将该3个人物的对象信息发送给全景摄像机。The detail camera 1 performs self-de-duplication on the object information of the three characters. There is no matching feature in the feature library of the detail camera 1, and the detail camera 1 sends the object information of the three characters to the panoramic camera.
全景摄像机对接收的3个人物的对象信息执行交叉去重,人物C的特征与全景摄像机的特征库中某一特征匹配,全景摄像机将人物C的对象信息删除,将人物A和人物B的对象信息发送给主机。The panoramic camera performs cross deduplication on the received object information of the three characters. The feature of character C matches a feature in the feature library of the panoramic camera. The panoramic camera deletes the object information of character C and deletes the objects of character A and character B. The information is sent to the host.
上述主要从拍摄系统中全景摄像机与细节摄像机之间交互的角度对本发明实施例提供的方案进行了介绍。可以理解的是,各拍摄装置,例如全景摄像机、细节摄像机等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solution provided by the embodiment of the present invention from the perspective of the interaction between the panoramic camera and the detail camera in the shooting system. It can be understood that, in order to realize the above-mentioned functions, each photographing device, such as a panoramic camera, a detail camera, etc., includes a hardware structure and/or software module corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
本发明实施例可以根据上述方法示例对拍摄装置等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present invention may divide the function modules of the photographing device and the like according to the foregoing method examples. For example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图12示为本申请实施例提供的一种拍摄装置120,用于实现上述方法中全景摄像机的功能。该拍摄装置120可以是全景摄像机或者该拍摄装置120可以部署于全景摄像机。如图12所示,拍摄装置120可以包括:拍摄单元1201、选择单元1202、发送单元1203、接收单元1204、标记单元1205。拍摄单元1201用于执行图5或图9中的S501;选择单元1202用于执行图5或图9中的S502;发送单元1203用于执行图5或图9中的S503;接收单元1204用于执行图5或图9中的S509,以及图9中的S511;标记单元1205用于执行图5或图9中的S510。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, FIG. 12 shows a photographing device 120 provided in an embodiment of this application, which is used to implement the function of the panoramic camera in the above method. The photographing device 120 may be a panoramic camera or the photographing device 120 may be deployed in a panoramic camera. As shown in FIG. 12, the photographing device 120 may include: a photographing unit 1201, a selection unit 1202, a sending unit 1203, a receiving unit 1204, and a marking unit 1205. The photographing unit 1201 is used to perform S501 in FIG. 5 or FIG. 9; the selection unit 1202 is used to perform S502 in FIG. 5 or FIG. 9; the sending unit 1203 is used to perform S503 in FIG. 5 or FIG. S509 in FIG. 5 or FIG. 9 and S511 in FIG. 9 are executed; the marking unit 1205 is used to execute S510 in FIG. 5 or FIG. 9. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
进一步的,如图13所示,拍摄装置120还可以包括:第一获取单元1206、对比单元1207、发送单元1208、第二获取单元1209。第一获取单元1206用于执行图9中的S512a;对比单元1207用于执行图9中的S512b;发送单元1208用于执行图9中的S512;第二获取单元1209用于执行图9中S510中相关动作。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Further, as shown in FIG. 13, the photographing device 120 may further include: a first acquiring unit 1206, a comparing unit 1207, a sending unit 1208, and a second acquiring unit 1209. The first obtaining unit 1206 is used to perform S512a in FIG. 9; the comparison unit 1207 is used to perform S512b in FIG. 9; the sending unit 1208 is used to perform S512 in FIG. 9; the second obtaining unit 1209 is used to perform S510 in FIG. Related actions. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
在采用集成的单元的情况下,如图14所示为本申请实施例提供的拍摄装置140,用于实现上述方法中全景摄像机的功能。该拍摄装置140可以是全景摄像机或者该拍摄装置140可以部署于全景摄像机。拍摄装置140包括至少一个处理模块1401,用于实现本申请实施例提供的方法中全景摄像机的功能。示例性地,处理模块1401可以用于执行图5中的过程S502、S510,或者,图9中的过程S502、S510、S512a、S512b,具体参见方法示例中的详细描述,此处不做赘述。In the case of using an integrated unit, as shown in FIG. 14, the photographing device 140 provided in this embodiment of the present application is used to implement the function of the panoramic camera in the foregoing method. The photographing device 140 may be a panoramic camera or the photographing device 140 may be deployed in a panoramic camera. The photographing device 140 includes at least one processing module 1401 for implementing the function of the panoramic camera in the method provided in the embodiment of the present application. Exemplarily, the processing module 1401 may be used to execute the processes S502 and S510 in FIG. 5, or the processes S502, S510, S512a, and S512b in FIG. 9. For details, please refer to the detailed description in the method example, which is not repeated here.
拍摄装置140还可以包括至少一个存储模块1402,用于存储程序指令和/或数据。存储模块1402和处理模块1401耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理模块1401可能和存储模块1402协同操作。处理模块1401可以执行存储模块1402中存储的程序指令。所述至少一个存储模块中的至少一个可以包括于处理模块中。The photographing device 140 may also include at least one storage module 1402 for storing program instructions and/or data. The storage module 1402 and the processing module 1401 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processing module 1401 may operate in cooperation with the storage module 1402. The processing module 1401 may execute program instructions stored in the storage module 1402. At least one of the at least one storage module may be included in the processing module.
拍摄装置140还可以包括通信模块1403,用于通过传输介质和其它设备进行通信,从而用于确定拍摄装置140中的装置可以和其它设备进行通信。所述通信模块1403用于该装置与其它设备进行通信。示例性的,处理器1401可以利用通信模块1403执行图5或图9中的过程S503、S509、S512。The photographing device 140 may further include a communication module 1403 for communicating with other devices through a transmission medium, so as to determine that the device in the photographing device 140 can communicate with other devices. The communication module 1403 is used for the device to communicate with other devices. Exemplarily, the processor 1401 may use the communication module 1403 to execute the processes S503, S509, and S512 in FIG. 5 or FIG. 9.
拍摄装置140还可以包括图像采集模块1404,用于拍摄图像。示例性的,图像采集模块1404可以用于执行图5过程中的S501。The photographing device 140 may further include an image acquisition module 1404 for photographing images. Exemplarily, the image acquisition module 1404 may be used to execute S501 in the process of FIG. 5.
当处理模块1401为处理器,存储模块1402为存储器,通信模块1403为收发器,图像采集模块1404为图像采集器时,本申请实施例图14所涉及的拍摄装置140可以为图4所示的拍摄装置40。When the processing module 1401 is a processor, the storage module 1402 is a memory, the communication module 1403 is a transceiver, and the image acquisition module 1404 is an image collector, the photographing device 140 involved in FIG. 14 in the embodiment of the present application may be the one shown in FIG. 4 Camera 40.
如前述,本申请实施例提供的拍摄装置120或拍摄装置140可以用于实施上述本申请各实施例实现的方法中全景摄像机的功能,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请各实施例。As mentioned above, the photographing device 120 or the photographing device 140 provided in the embodiments of the present application can be used to implement the functions of the panoramic camera in the methods implemented in the various embodiments of the present application. For parts that are not disclosed in specific technical details, please refer to the various embodiments of this application.
在采用对应各个功能划分各个功能模块的情况下,如图15所示为本申请实施例提供的拍摄装置150,用于实现上述方法中细节摄像机的功能。该拍摄装置150可以是细节摄像机或者该拍摄装置150可以部署于细节摄像机。如图15所示,拍摄装置150可以包括:接收单元1501、调节单元1502、第一发送单元1503、处理单元1504。接收单元1501用于执行图5或图9中S504;调节单元1502用于执行图5或图9中S505;第一发送单元1503用于执行图5或图9中S508;处理单元1504用于执行图5或图9中S507。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, as shown in FIG. 15, the photographing device 150 provided in this embodiment of the present application is used to implement the function of the detail camera in the above method. The photographing device 150 may be a detail camera or the photographing device 150 may be deployed on a detail camera. As shown in FIG. 15, the photographing device 150 may include: a receiving unit 1501, an adjusting unit 1502, a first sending unit 1503, and a processing unit 1504. The receiving unit 1501 is used to perform S504 in FIG. 5 or FIG. 9; the adjusting unit 1502 is used to perform S505 in FIG. 5 or FIG. 9; the first sending unit 1503 is used to perform S508 in FIG. 5 or FIG. 9; and the processing unit 1504 is used to perform S507 in Figure 5 or Figure 9. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
进一步的,如图16所示,拍摄装置150还可以包括:获取单元1505、对比单元1506。其中,获取单元1505用于执行图9中S507a;对比单元1506用于执行图9中S507b。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Further, as shown in FIG. 16, the photographing device 150 may further include: an acquisition unit 1505 and a comparison unit 1506. Among them, the obtaining unit 1505 is used to execute S507a in FIG. 9; the comparison unit 1506 is used to execute S507b in FIG. 9. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
在采用集成的单元的情况下,如图17所示为本申请实施例提供的拍摄装置170,用于实现上述方法中细节摄像机的功能。该拍摄装置170可以是细节摄像机或者该拍摄装置170可以部署于细节摄像机。拍摄装置170包括至少一个处理模块1701,用于实现本申请实施例提供的方法中细节摄像机的功能,具体参见方法示例中的详细描述,此处不做赘述。In the case of an integrated unit, as shown in FIG. 17, the photographing device 170 provided in this embodiment of the application is used to implement the function of the detail camera in the above method. The photographing device 170 may be a detail camera or the photographing device 170 may be deployed in a detail camera. The photographing device 170 includes at least one processing module 1701, which is used to implement the function of the detailed camera in the method provided in the embodiment of the present application. For details, please refer to the detailed description in the method example, which will not be repeated here.
拍摄装置170还可以包括至少一个存储模块1702,用于存储程序指令和/或数据。存储模块1702和处理模块1701耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理模块1701可能和存储模块1702协同操作。处理模块1701可能执行 存储模块1702中存储的程序指令。所述至少一个存储模块中的至少一个可以包括于处理模块中。The photographing device 170 may also include at least one storage module 1702 for storing program instructions and/or data. The storage module 1702 and the processing module 1701 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processing module 1701 may operate in cooperation with the storage module 1702. The processing module 1701 may execute program instructions stored in the storage module 1702. At least one of the at least one storage module may be included in the processing module.
拍摄装置170还可以包括通信模块1703,用于通过传输介质和其它设备进行通信,从而用于确定拍摄装置170中的装置可以和其它设备进行通信。所述通信模块1703用于该装置与其它设备进行通信。示例性的,处理器1701利用通信模块1703执行图5或图9过程中的S504、S508。The photographing device 170 may further include a communication module 1703 for communicating with other devices through a transmission medium, so as to determine that the device in the photographing device 170 can communicate with other devices. The communication module 1703 is used for the device to communicate with other devices. Exemplarily, the processor 1701 uses the communication module 1703 to execute S504 and S508 in the process of FIG. 5 or FIG. 9.
拍摄装置170还可以包括图像采集模块1704,用于拍摄图像。示例性的,图像采集模块1704可以用于执行图5中的S506的相关动作。The photographing device 170 may further include an image acquisition module 1704 for photographing images. Exemplarily, the image acquisition module 1704 may be used to perform related actions in S506 in FIG. 5.
当处理模块1701为处理器,存储模块1702为存储器,通信模块1703为收发器,图像采集模块1704为图像采集器时,本申请实施例图17所涉及的拍摄装置170可以为图4所示的拍摄装置40。When the processing module 1701 is a processor, the storage module 1702 is a memory, the communication module 1703 is a transceiver, and the image acquisition module 1704 is an image collector, the photographing device 170 involved in FIG. 17 in the embodiment of the present application may be the one shown in FIG. 4 Camera 40.
如前述,本申请实施例提供的拍摄装置150或拍摄装置170可以用于实施上述本申请各实施例实现的方法中细节摄像机的功能,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请各实施例。As mentioned above, the photographing device 150 or the photographing device 170 provided in the embodiments of the present application can be used to implement the functions of the detailed cameras in the methods implemented in the various embodiments of the present application. For parts that are not disclosed in specific technical details, please refer to the various embodiments of this application.
本申请另一些实施例提供一种拍摄系统,该拍摄系统中可以包括第一拍摄装置和第二拍摄装置,该第一拍摄装置可以实现全景摄像机的功能,该第二通拍摄置可以实现细节摄像机的功能。例如,第一通拍摄置为本申请实施例描述的全景摄像机,第二拍摄装置为本申请实施例描述的细节摄像机。Other embodiments of the present application provide a photographing system, the photographing system may include a first photographing device and a second photographing device, the first photographing device can realize the function of a panoramic camera, and the second pass camera can realize the detail camera Function. For example, the first pass shooting is set to the panoramic camera described in the embodiment of this application, and the second shooting device is the detail camera described in the embodiment of this application.
本申请另一些实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现上述图5或图9所示实施例中全景摄像机的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Other embodiments of the present application provide a chip system. The chip system includes a processor and may also include a memory for realizing the function of the panoramic camera in the embodiment shown in FIG. 5 or FIG. 9. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请另一些实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现上述图5或图9所示实施例中细节摄像机的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Other embodiments of the present application provide a chip system. The chip system includes a processor and may also include a memory for realizing the function of the detailed camera in the embodiment shown in FIG. 5 or FIG. 9. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请另一些实施例还提供一种计算机可读存储介质,该计算机可读存储介质可包括计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述图5或图9所示实施例中各个步骤。Other embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium may include a computer program. When the computer program runs on a computer, the computer executes the implementation shown in FIG. 5 or FIG. Each step in the example.
本申请另一些实施例还提供一种计算机程序产品,该计算机产品包含计算机程序,当该计算机程序产品在计算机上运行时,使得该计算机执行上述图5或图9所示实施例中各个步骤。Other embodiments of the present application also provide a computer program product. The computer product includes a computer program. When the computer program product runs on a computer, the computer executes the steps in the embodiment shown in FIG. 5 or FIG. 9.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一 点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate. The parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by the protection scope of this application. . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (19)

  1. 一种拍摄方法,其特征在于,全景摄像机与多个细节摄像机通信,所述全景摄像机的可视范围跨越了所述多个细节摄像机的可视范围,所述方法包括:A shooting method, characterized in that a panoramic camera communicates with a plurality of detail cameras, the visual range of the panoramic camera spans the visual range of the multiple detail cameras, and the method includes:
    所述全景摄像机拍摄得到全景图像,所述全景图像中包括拥有多个对象的目标对象集合;The panoramic camera captures a panoramic image, and the panoramic image includes a set of target objects with multiple objects;
    所述全景摄像机从所述多个细节摄像机中选择目标细节摄像机,其中,所述目标对象集合位于所述目标细节摄像机的可视范围之内;The panoramic camera selects a target detail camera from the plurality of detail cameras, wherein the set of target objects is located within the visible range of the target detail camera;
    所述全景摄像机向所述目标细节摄像机发送拍摄指令,所述拍摄指令中携带单个平移/俯仰/缩放PTZ值,所述拍摄指令用于指示所述目标细节摄像机执行:按照所述拍摄指令包括的PTZ值调节拍摄位置使得所述目标对象集合位于所述目标细节摄像机的视野中,并拍摄;The panoramic camera sends a shooting instruction to the target detail camera, and the shooting instruction carries a single pan/tilt/zoom PTZ value, and the shooting instruction is used to instruct the target detail camera to execute: The PTZ value adjusts the shooting position so that the target object set is located in the field of view of the target detail camera, and shoots;
    所述全景摄像机接收所述目标细节摄像机发送的完成所述拍摄指令的响应;Receiving, by the panoramic camera, a response to the completion of the shooting instruction sent by the target detail camera;
    所述全景摄像机把所述目标对象集合中的对象标记为拍摄完成。The panoramic camera marks the objects in the target object set as being photographed.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在发送所述拍摄指令之前,所述全景摄像机对所述目标对象集合中的所有对象的状态标记为待拍摄的状态;Before sending the shooting instruction, the panoramic camera marks the state of all objects in the target object set as a state to be shot;
    其中,所述全景摄像机把所述目标对象集合中的对象标记为拍摄完成,具体为:所述全景摄像机把所述目标对象集合中的所有对象的状态更新为拍摄完成的状态。Wherein, the panoramic camera marks the objects in the target object set as being photographed, specifically: the panoramic camera updates the state of all the objects in the target object set to a state where the photographing is completed.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述目标细节摄像机接收所述全景摄像机发送的所述拍摄指令;The target detail camera receives the shooting instruction sent by the panoramic camera;
    所述目标细节摄像机根据所述拍摄指令包括的PTZ值调节拍摄位置;Adjusting the shooting position of the target detail camera according to the PTZ value included in the shooting instruction;
    所述目标细节摄像机对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息,所述N个对象包括所述目标对象集合中的所有对象;The target detail camera shoots the N objects in its field of view once to obtain object information of the N objects, and the N objects include all objects in the target object set;
    所述目标细节摄像机向所述全景摄像机发送完成所述拍摄指令的响应;Sending, by the target detail camera, a response to complete the shooting instruction to the panoramic camera;
    所述目标细节摄像机将所述N个对象中M个对象的对象信息上报,上报对象是所述全景摄像机或者主机,所述M大于或等于1且小于或等于N。The target detail camera reports object information of M objects among the N objects, the reported object is the panoramic camera or the host, and the M is greater than or equal to 1 and less than or equal to N.
  4. 根据权利要求3所述的方法,其特征在于,一个对象的对象信息为所述目标细节摄像机对其拍摄得到的原始图像中包含所述一个对象的图像子区域,所述方法还包括:The method according to claim 3, wherein the object information of an object is that the original image captured by the target detail camera includes the image sub-region of the object, and the method further comprises:
    所述目标细节摄像机将所述M个对象的原始图像上报。The target detail camera reports the original images of the M objects.
  5. 根据权利要求3所述的方法,其特征在于,一个对象的对象信息为所述目标细节摄像机对其视野拍摄得到的原始图像中添加了指示信息的图像,所述指示信息用于指示所述一个对象在原始图像中的位置。The method according to claim 3, wherein the object information of an object is an image with indication information added to the original image captured by the target detail camera for its field of view, and the indication information is used to indicate the one The position of the object in the original image.
  6. 根据权利要求3-5任一项所述的方法,其特征在于,针对第一对象,所述第一对象为所述N个对象中任一对象,所述方法还包括:The method according to any one of claims 3-5, wherein for a first object, the first object is any one of the N objects, and the method further comprises:
    所述目标细节摄像机从所述第一对象的对象信息中,获取所述第一对象的特征;The target detail camera acquires the feature of the first object from the object information of the first object;
    所述目标细节摄像机将所述第一对象的特征,与所述目标细节摄像机的特征库进行对比,所述目标细节摄像机的特征库中存储了所述目标细节摄像机拍摄过的对象的特征;The target detail camera compares the feature of the first object with the feature library of the target detail camera, and the feature library of the target detail camera stores the features of the object photographed by the target detail camera;
    若所述目标细节摄像机的特征库中存在与所述第一对象的特征匹配的特征,所述目标细节摄像机将所述第一对象的对象信息删除;所述上报的M个对象的对象信息不包含所述第一对象的对象信息;If there is a feature matching the feature of the first object in the feature library of the target detail camera, the target detail camera deletes the object information of the first object; the reported object information of the M objects is not Contains object information of the first object;
    若所述目标细节摄像机的特征库中不存在与所述第一对象的特征匹配的特征,所述上报的M个对象的对象信息包含所述第一对象的对象信息。If there is no feature matching the feature of the first object in the feature library of the target detail camera, the reported object information of the M objects includes the object information of the first object.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, wherein the method further comprises:
    所述全景摄像机接收所述目标细节摄像机发送的M个对象的对象信息,所述M大于或等于1;The panoramic camera receives object information of M objects sent by the target detail camera, where M is greater than or equal to 1;
    所述全景摄像机根据所述M个对象的对象信息,获取所述M个对象的特征;Acquiring, by the panoramic camera, the characteristics of the M objects according to the object information of the M objects;
    所述全景摄像机将所述M个对象的特征,与所述全景摄像机的特征库对比;所述全景摄像机的特征库存储了所述多个细节摄像机拍摄过的对象的特征;The panoramic camera compares the features of the M objects with the feature library of the panoramic camera; the feature library of the panoramic camera stores the features of the objects photographed by the multiple detail cameras;
    所述全景摄像机将所述M个对象的对象信息中,与所述全景摄像机的特征库中有匹配特征的对象的对象信息删除后余下的对象信息发送给主机。The panoramic camera sends the remaining object information after deleting the object information of the objects with matching features in the feature library of the panoramic camera among the object information of the M objects to the host.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    所述全景摄像机获取所述目标细节摄像机的拍摄对象,所述目标细节摄像机的拍摄对象还包括目标对象集合之外的对象;Acquiring, by the panoramic camera, a shooting object of the target detail camera, and the shooting object of the target detail camera also includes objects outside the target object set;
    所述全景摄像机收到所述完成所述拍摄指令的响应之后,所述全景摄像机把所述目标细节摄像机拍摄的目标对象集合之外的对象标记为拍摄完成。After the panoramic camera receives the response to the completion of the shooting instruction, the panoramic camera marks the objects outside the set of target objects captured by the target detail camera as shooting completed.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述全景图像中包括多个对象集合,所述目标对象集合为所述全景图像中优先级最高的对象集合;The method according to any one of claims 1-8, wherein the panoramic image includes a plurality of object sets, and the target object set is the object set with the highest priority in the panoramic image;
    在所述全景摄像机接收所述目标细节摄像机发送的完成所述拍摄指令的响应之后,所述方法还包括:After the panoramic camera receives the response to the completion of the shooting instruction sent by the target detail camera, the method further includes:
    所述全景摄像机重新拍摄得到新全景图像,所述新全景图像中包括拥有多个对象的新目标对象集合;所述新目标对象集合为所述新全景图像中的优先级最高的对象集合;The panoramic camera re-shoots to obtain a new panoramic image, the new panoramic image includes a new target object set with multiple objects; the new target object set is the highest priority object set in the new panoramic image;
    所述全景摄像机从所述多个细节摄像机中选择新目标细节摄像机,并向所述新目标细节摄像机发送携带单个平移/俯仰/缩放PTZ值的新拍摄指令,所述新拍摄指令用于指示所述新目标细节摄像机执行:按照所述新拍摄指令包括的PTZ值调节拍摄位置使得所述新目标对象集合位于所述目标细节摄像机的视野中,并拍摄。The panoramic camera selects a new target detail camera from the multiple detail cameras, and sends a new shooting instruction carrying a single pan/tilt/zoom PTZ value to the new target detail camera, and the new shooting instruction is used to instruct all The new target detail camera executes: adjust the shooting position according to the PTZ value included in the new shooting instruction so that the new target object set is located in the field of view of the target detail camera, and shoot.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述全景摄像机是枪机,所述细节摄像机是球机。The method according to any one of claims 1-9, wherein the panoramic camera is a box camera, and the detail camera is a dome camera.
  11. 一种拍摄装置,其特征在于,所述拍摄装置部署于全景摄像机,所述全景摄像机与多个细节摄像机通信,所述全景摄像机的可视范围跨越了所述多个细节摄像机的可视范围,所述装置包括:A photographing device, characterized in that the photographing device is deployed on a panoramic camera, the panoramic camera communicates with a plurality of detail cameras, and the visual range of the panoramic camera spans the visual range of the multiple detail cameras, The device includes:
    拍摄单元,用于拍摄得到全景图像,所述全景图像中包括拥有多个对象的目标对象集合;A photographing unit for photographing to obtain a panoramic image, the panoramic image including a set of target objects with multiple objects;
    选择单元,用于从多个细节摄像机中选择目标细节摄像机,其中,所述目标对象集合位于所述目标细节摄像机的可视范围之内;The selection unit is configured to select a target detail camera from a plurality of detail cameras, wherein the set of target objects is located within the visible range of the target detail camera;
    发送单元,用于向所述目标细节摄像机发送拍摄指令,所述拍摄指令中携带单个平移/俯仰/缩放PTZ值,所述拍摄指令用于指示所述目标细节摄像机执行:按照所述拍摄 指令包括的PTZ值调节拍摄位置使得所述目标对象集合位于所述目标细节摄像机的视野中,并拍摄;The sending unit is configured to send a shooting instruction to the target detail camera, the shooting instruction carries a single pan/tilt/zoom PTZ value, and the shooting instruction is used to instruct the target detail camera to execute: Adjust the shooting position with the PTZ value of, so that the target object set is located in the field of view of the target detail camera, and shoot;
    接收单元,用于接收所述目标细节摄像机发送的完成所述拍摄指令的响应;A receiving unit, configured to receive a response to the completion of the shooting instruction sent by the target detail camera;
    标记单元,用于把所述目标对象集合中的对象标记为拍摄完成。The marking unit is used to mark the objects in the target object set as being photographed.
  12. 根据权利要求11所述的装置,其特征在于,The device according to claim 11, wherein:
    所述标记单元还用于:在发送所述拍摄指令之前,对所述目标对象集合中的所有对象的状态标记为待拍摄的状态;The marking unit is further configured to mark the state of all objects in the target object set as a state to be photographed before sending the shooting instruction;
    所述标记单元具体用于:把所述目标对象集合中的所有对象的状态更新为拍摄完成的状态。The marking unit is specifically configured to: update the state of all objects in the target object set to a state where the shooting is completed.
  13. 根据权利要求11或12所述的装置,其特征在于,The device according to claim 11 or 12, wherein:
    所述接收单元还用于,接收所述目标细节摄像机发送的M个对象的对象信息,所述M大于或等于1;The receiving unit is further configured to receive object information of M objects sent by the target detail camera, where M is greater than or equal to 1;
    所述装置还包括:The device also includes:
    第一获取单元,用于根据所述M个对象的对象信息,获取所述M个对象的特征;The first obtaining unit is configured to obtain the characteristics of the M objects according to the object information of the M objects;
    对比单元,用于将所述M个对象的特征,与所述全景摄像机的特征库对比;所述全景摄像机的特征库存储了所述多个细节摄像机拍摄过的对象的特征;A comparison unit, configured to compare the features of the M objects with the feature library of the panoramic camera; the feature library of the panoramic camera stores the features of the objects photographed by the multiple detail cameras;
    发送单元,用于将所述M个对象的对象信息中,与所述全景摄像机的特征库中有匹配特征的对象的对象信息删除后余下的对象信息发送给主机。The sending unit is configured to send the remaining object information after deleting the object information of the object that has matching features in the feature library of the panoramic camera among the object information of the M objects to the host.
  14. 根据权利要求11-13任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 11-13, wherein the device further comprises:
    第二获取单元,用于获取所述目标细节摄像机的拍摄对象,所述目标细节摄像机的拍摄对象还包括目标对象集合之外的对象;The second acquiring unit is configured to acquire the shooting objects of the target detail camera, and the shooting objects of the target detail camera also include objects outside the target object set;
    所述标记单元还用于:在所述接收单元收到所述完成所述拍摄指令的响应之后,把所述目标细节摄像机拍摄的目标对象集合之外的对象标记为拍摄完成。The marking unit is further configured to: after the receiving unit receives the response to the completion of the shooting instruction, mark the objects outside the set of target objects shot by the target detail camera as the shooting completed.
  15. 根据权利要求11-14任一项所述的装置,其特征在于,所述全景图像中包括多个对象集合,所述目标对象集合为所述全景图像中优先级最高的对象集合;The device according to any one of claims 11-14, wherein the panoramic image includes a plurality of object sets, and the target object set is the object set with the highest priority in the panoramic image;
    所述拍摄单元还用于:在所述接收单元接收所述目标细节摄像机发送的完成所述拍摄指令的响应之后,重新拍摄得到新全景图像,所述新全景图像中包括拥有多个对象的新目标对象集合;所述新目标对象集合为所述新全景图像中的优先级最高的对象集合;The shooting unit is further configured to: after the receiving unit receives the response to the completion of the shooting instruction sent by the target detail camera, re-shoot to obtain a new panoramic image, and the new panoramic image includes a new panoramic image with multiple objects. Target object set; the new target object set is the highest priority object set in the new panoramic image;
    所述选择单元还用于:从所述多个细节摄像机中选择新目标细节摄像机;The selection unit is further configured to: select a new target detail camera from the multiple detail cameras;
    所述发送单元还用于:向所述新目标细节摄像机发送携带单个平移/俯仰/缩放PTZ值的新拍摄指令,所述新拍摄指令用于指示所述新目标细节摄像机执行:按照所述新拍摄指令包括的PTZ值调节拍摄位置使得所述新目标对象集合位于所述目标细节摄像机的视野中,并拍摄。The sending unit is further configured to send a new shooting instruction carrying a single pan/tilt/zoom PTZ value to the new target detail camera, and the new shooting instruction is used to instruct the new target detail camera to execute: The PTZ value included in the shooting instruction adjusts the shooting position so that the new target object set is located in the field of view of the target detail camera, and the shooting is performed.
  16. 一种拍摄装置,其特征在于,所述拍摄装置包括处理器和存储器,所述存储器和所述处理器耦合,所述存储器与所述处理器连接,所述存储器用于存储计算机程序,当所述处理器执行所述计算机程序时,所述拍摄装置执行如权利要求1-10中任一项全景摄像机的动作。A photographing device, characterized in that the photographing device comprises a processor and a memory, the memory is coupled to the processor, the memory is connected to the processor, and the memory is used to store a computer program. When the processor executes the computer program, the photographing device executes the action of a panoramic camera according to any one of claims 1-10.
  17. 一种拍摄系统,其特征在于,所述拍摄系统包括全景摄像机和多个细节摄像机,所述全景摄像机与所述多个细节摄像机通信,所述全景摄像机的可视范围跨越了所述多个细节摄像机的可视范围;A photographing system, characterized in that the photographing system includes a panoramic camera and a plurality of detail cameras, the panoramic camera communicates with the plurality of detail cameras, and the visible range of the panoramic camera spans the multiple detail cameras The visual range of the camera;
    所述全景摄像机用于,拍摄得到全景图像,所述全景图像中包括拥有多个对象的目标对象集合;从所述多个细节摄像机中选择目标细节摄像机,其中,所述目标对象集合位于所述目标细节摄像机的可视范围之内;向所述目标细节摄像机发送拍摄指令,所述拍摄指令中携带单个平移/俯仰/缩放PTZ值,所述拍摄指令用于指示所述目标细节摄像机执行:按照所述拍摄指令包括的PTZ值调节拍摄位置使得所述目标对象集合位于所述目标细节摄像机的视野中,并拍摄;The panoramic camera is used to capture a panoramic image, the panoramic image includes a target object set with multiple objects; select a target detail camera from the multiple detail cameras, wherein the target object set is located in the Within the visible range of the target detail camera; send a shooting instruction to the target detail camera, the shooting instruction carries a single pan/tilt/zoom PTZ value, and the shooting instruction is used to instruct the target detail camera to execute: The PTZ value included in the shooting instruction adjusts the shooting position so that the target object set is located in the field of view of the target detail camera, and the shooting is performed;
    作为所述目标细节摄像机的细节摄像机用于,接收所述全景摄像机发送的所述拍摄指令;根据所述拍摄指令包括的PTZ值调节拍摄位置;对其视野中的N个对象分别拍摄1次,得到N个对象的对象信息;所述N个对象包括所述目标对象集合中的所有对象;向所述全景摄像机发送完成所述拍摄指令的响应;将所述N个对象中M个对象的对象信息上报,上报对象是所述全景摄像机或者主机,所述M大于或等于1且小于或等于N;The detail camera, which is the target detail camera, is used to receive the shooting instruction sent by the panoramic camera; adjust the shooting position according to the PTZ value included in the shooting instruction; and shoot each of the N objects in its field of view once, Obtain the object information of N objects; the N objects include all objects in the target object set; send a response to the panoramic camera to complete the shooting instruction; compare the objects of M objects among the N objects Information report, the report object is the panoramic camera or the host, and the M is greater than or equal to 1 and less than or equal to N;
    所述全景摄像机还用于,接收所述目标细节摄像机发送的完成所述拍摄指令的响应;把所述目标对象集合中的对象标记为拍摄完成。The panoramic camera is further configured to receive a response to the completion of the shooting instruction sent by the target detail camera; and mark the objects in the target object set as shooting completed.
  18. 一种计算机可读存储介质,其特征在于,包括计算机程序,当其在计算机上运行时,使得计算机执行权利要求1-10任一项所述的拍摄方法。A computer-readable storage medium, characterized by comprising a computer program, which when running on a computer, causes the computer to execute the shooting method according to any one of claims 1-10.
  19. 一种计算机程序产品,其特征在于,包含计算机程序,当其在计算机上运行时,使得计算机执行权利要求1-10任一项所述的拍摄方法。A computer program product, which is characterized by comprising a computer program, which when running on a computer, causes the computer to execute the shooting method according to any one of claims 1-10.
PCT/CN2021/086726 2020-04-10 2021-04-12 Photographing method, device and system WO2021204298A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010281090.1A CN113518174A (en) 2020-04-10 2020-04-10 Shooting method, device and system
CN202010281090.1 2020-04-10

Publications (1)

Publication Number Publication Date
WO2021204298A1 true WO2021204298A1 (en) 2021-10-14

Family

ID=78023820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086726 WO2021204298A1 (en) 2020-04-10 2021-04-12 Photographing method, device and system

Country Status (2)

Country Link
CN (1) CN113518174A (en)
WO (1) WO2021204298A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278014A (en) * 2022-07-22 2022-11-01 重庆紫光华山智安科技有限公司 Target tracking method, system, computer equipment and readable medium
CN117255247A (en) * 2023-11-14 2023-12-19 智广海联(天津)大数据技术有限公司 Method and device for linkage of panoramic camera and detail dome camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189981A1 (en) * 2008-01-24 2009-07-30 Jon Siann Video Delivery Systems Using Wireless Cameras
CN103079059A (en) * 2013-01-27 2013-05-01 中国科学技术大学 Single-gun-camera-multi-dome-camera linkage method based on grid combination interpolation
CN103716595A (en) * 2014-01-08 2014-04-09 深圳英飞拓科技股份有限公司 Linkage control method and device for panoramic mosaic camera and dome camera
CN103761514A (en) * 2014-01-26 2014-04-30 公安部第三研究所 System and method for achieving face recognition based on wide-angle gun camera and multiple dome cameras
CN108184102A (en) * 2018-02-09 2018-06-19 成都新舟锐视科技有限公司 A kind of thermal imaging and visible light gun ball linked system and control method
CN110519510A (en) * 2019-08-08 2019-11-29 浙江大华技术股份有限公司 A kind of grasp shoot method, device, ball machine and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707671A (en) * 2009-11-30 2010-05-12 杭州普维光电技术有限公司 Panoramic camera and PTZ camera combined control method and panoramic camera and PTZ camera combined control device
CN104639916A (en) * 2015-03-04 2015-05-20 合肥巨清信息科技有限公司 Large-scene multi-target tracking shooting video monitoring system and monitoring method thereof
CN105744227B (en) * 2016-02-22 2018-07-06 北京深博达智能系统有限公司 A kind of open 1+N rifles ball linked system
CN107343165A (en) * 2016-04-29 2017-11-10 杭州海康威视数字技术股份有限公司 A kind of monitoring method, equipment and system
CN108111818B (en) * 2017-12-25 2019-05-03 北京航空航天大学 Moving target actively perceive method and apparatus based on multiple-camera collaboration
CN108419014B (en) * 2018-03-20 2020-02-21 北京天睿空间科技股份有限公司 Method for capturing human face by linkage of panoramic camera and multiple capturing cameras

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189981A1 (en) * 2008-01-24 2009-07-30 Jon Siann Video Delivery Systems Using Wireless Cameras
CN103079059A (en) * 2013-01-27 2013-05-01 中国科学技术大学 Single-gun-camera-multi-dome-camera linkage method based on grid combination interpolation
CN103716595A (en) * 2014-01-08 2014-04-09 深圳英飞拓科技股份有限公司 Linkage control method and device for panoramic mosaic camera and dome camera
CN103761514A (en) * 2014-01-26 2014-04-30 公安部第三研究所 System and method for achieving face recognition based on wide-angle gun camera and multiple dome cameras
CN108184102A (en) * 2018-02-09 2018-06-19 成都新舟锐视科技有限公司 A kind of thermal imaging and visible light gun ball linked system and control method
CN110519510A (en) * 2019-08-08 2019-11-29 浙江大华技术股份有限公司 A kind of grasp shoot method, device, ball machine and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278014A (en) * 2022-07-22 2022-11-01 重庆紫光华山智安科技有限公司 Target tracking method, system, computer equipment and readable medium
CN115278014B (en) * 2022-07-22 2023-09-15 重庆紫光华山智安科技有限公司 Target tracking method, system, computer equipment and readable medium
CN117255247A (en) * 2023-11-14 2023-12-19 智广海联(天津)大数据技术有限公司 Method and device for linkage of panoramic camera and detail dome camera
CN117255247B (en) * 2023-11-14 2024-01-09 智广海联(天津)大数据技术有限公司 Method and device for linkage of panoramic camera and detail dome camera

Also Published As

Publication number Publication date
CN113518174A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
US20220262039A1 (en) Positioning method, electronic device, and storage medium
US9679394B2 (en) Composition determination device, composition determination method, and program
JP6316023B2 (en) Camera system and camera control device
WO2021204298A1 (en) Photographing method, device and system
JP5936697B2 (en) Method, apparatus, and computer-readable recording medium for managing a reference face database to improve face recognition performance in a memory limited environment
CN107438173B (en) Video processing apparatus, video processing method, and storage medium
KR101657039B1 (en) Image processing apparatus, image processing method, and imaging system
JP5637633B2 (en) Image distribution device
US8810673B2 (en) Composition determination device, composition determination method, and program
JP6077655B2 (en) Shooting system
US20200267309A1 (en) Focusing method and device, and readable storage medium
KR20150032630A (en) Control method in image capture system, control apparatus and a computer-readable storage medium
US20090043422A1 (en) Photographing apparatus and method in a robot
CN107770486B (en) Event search apparatus and system
WO2021168804A1 (en) Image processing method, image processing apparatus and image processing system
JPWO2016088368A1 (en) Direction control device, direction control method, and direction control program
CN113391644A (en) Unmanned aerial vehicle shooting distance semi-automatic optimization method based on image information entropy
CN113301256B (en) Low-power-consumption multi-target continuous automatic monitoring camera module and camera method thereof
WO2021238317A1 (en) Panoramic image capture method and device
CN114500873A (en) Tracking shooting system
CN105467741A (en) Panoramic shooting method and terminal
CN109547689A (en) Automatically snap control method, device and computer readable storage medium
CN115514887A (en) Control method and device for video acquisition, computer equipment and storage medium
WO2021026782A1 (en) Control method and control apparatus for handheld cradle head, handheld cradle head and storage medium
WO2022000211A1 (en) Photography system control method, device, movable platform, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21785086

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21785086

Country of ref document: EP

Kind code of ref document: A1