WO2022036693A1 - 呼叫终端的方法、装置、电子设备及存储介质 - Google Patents

呼叫终端的方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022036693A1
WO2022036693A1 PCT/CN2020/110525 CN2020110525W WO2022036693A1 WO 2022036693 A1 WO2022036693 A1 WO 2022036693A1 CN 2020110525 W CN2020110525 W CN 2020110525W WO 2022036693 A1 WO2022036693 A1 WO 2022036693A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
target image
marker point
terminal
capture device
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2020/110525
Other languages
English (en)
French (fr)
Inventor
蒋叶林
胡庆
付春明
程亚文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp Ltd
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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to PCT/CN2020/110525 priority Critical patent/WO2022036693A1/zh
Publication of WO2022036693A1 publication Critical patent/WO2022036693A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method, apparatus, electronic device and storage medium for calling a terminal.
  • video surveillance is widely used in many occasions due to its advantages of being intuitive, convenient and rich in information content. For example, public security, urban management, security departments, etc., use video surveillance to understand the situation on site, and conduct command and dispatch of on-site personnel.
  • the main methods of commanding and dispatching on-site personnel through video surveillance are as follows: One method is to find the contact information of the on-duty personnel appearing in the video surveillance on the computer address book, and initiate a call to them, but in many cases, dispatching Personnel do not know the name of the person on duty, so they cannot contact the person on duty by looking up the address book; another method is to determine the area where the location is located and the personnel on duty in the area on the computer map through the location that appears in the video surveillance. , and then contact the duty personnel in the area. However, this method may not be able to determine which duty personnel displayed on the map corresponds to the duty personnel appearing in the monitoring. Therefore, it is inconvenient for the on-duty personnel who appear in the video surveillance to conduct command and dispatch.
  • the purpose of the present application is to provide a method, device, electronic device and storage medium for calling a terminal, which can quickly initiate a call to a target call object appearing in video surveillance, thereby facilitating personnel scheduling.
  • the present application provides a method for calling a terminal, including:
  • the target mark point is the mark point corresponding to the target call object in the target image
  • the target image capture device is an image capture device that generates the target image
  • the determining the target marker point from the target image includes:
  • the marker point of the frame closest to the click position among the obtained frames is determined as the target marker point.
  • the device parameters of the target image acquisition device, and the installation parameters of the target image acquisition device, the target marker and the target are determined.
  • the relative positional relationship of the image acquisition device including:
  • the position of the target marker point in the polar coordinate system with the target image acquisition device as the origin is determined according to the horizontal distance and the horizontal declination angle.
  • the device parameters of the target image capture device, and the installation parameters of the target image capture device determine the target marker point relative to the target image.
  • the horizontal distance of the collection device including:
  • the vertical field angle of the target image capture device and the height of the target image determine the target marker point relative to the target image capture device vertical declination angle
  • the vertical deflection angle of the target marker point relative to the target image capture device determines the target marker point relative to the target image capture device. Describe the horizontal distance of the target image acquisition device.
  • the device parameters of the target image capture device, and the installation parameters of the target image capture device determine the target marker point relative to the target image.
  • the horizontal declination of the acquisition device including:
  • the horizontal field of view of the target image capture device and the width of the target image determine the target marker point relative to the target image capture device the horizontal declination angle.
  • the determining the target terminal according to the geographic location of the target marker includes:
  • the terminal closest to the geographic location of the target marker is searched, and the terminal closest to the geographic location of the target marker is determined as the target terminal.
  • the obtaining the target image includes:
  • the present application provides a method for calling a terminal, including:
  • the target mark point is a mark point corresponding to the target call object in the target image
  • the horizontal declination angle of the target marker point relative to the target image acquisition device is determined, wherein the target image acquisition device
  • the device is an image acquisition device that generates the target image
  • the present application provides a device for calling a terminal, comprising:
  • a target image acquisition unit for obtaining a target image
  • a target marker determination unit for determining a target marker from the target image, and the target marker is the marker corresponding to the target call object in the target image;
  • a relative position determination unit configured to determine the relationship between the target marker point and the The relative positional relationship of the target image capture device, wherein the target image capture device is an image capture device that generates the target image;
  • a geographic location determination unit configured to determine the geographic location of the target marker point based on the geographic location of the target image acquisition device and the relative location relationship;
  • a target terminal determination unit configured to determine a target terminal according to the geographic location of the target marker
  • a calling unit configured to initiate a call to the target terminal.
  • the present application provides a device for calling a terminal, comprising:
  • a target image acquisition unit for obtaining a target image
  • a target marker point determination unit configured to determine a target marker point from the target image, where the target marker point is a marker point corresponding to the target call object in the target image;
  • a horizontal declination determination unit configured to determine the horizontal declination angle of the target marker point relative to the target image capture device according to the position of the target marker point in the target image and the device parameters of the target image capture device , wherein the target image acquisition device is an image acquisition device that generates the target image;
  • a target area determination unit configured to determine a target area based on the horizontal deflection angle of the target marker point relative to the target image capture device, the main axis direction of the target image capture device and a preset deflection angle
  • a target terminal determination unit configured to determine a target terminal from terminals located in the target area and in an online state
  • a calling unit configured to initiate a call to the target terminal.
  • the present application provides an electronic device including a processor and a memory
  • the memory is used to store programs
  • the processor is configured to call and execute the program stored in the memory, so as to execute any one of the above methods for calling a terminal.
  • the present application provides a storage medium executable by an electronic device, where a program is stored in the storage medium, and when the program is loaded and executed by a processor of the electronic device, the electronic device implements the present application Any of the above methods for calling a terminal.
  • a target image is obtained, a target mark point in the target image is determined, and the target mark point and the target mark point are determined according to the position of the target mark point in the target image, the equipment parameters and installation parameters of the target image acquisition device.
  • the relative positional relationship of the image acquisition device is combined with the geographical location of the target image acquisition device to determine the geographic location of the target marker point, and then the target terminal is determined according to the geographic location of the target marker point, and a call is initiated to the target terminal.
  • a target marker point corresponding to the target call object is determined in a target image, and then the relative positional relationship between the target marker point and the target image acquisition device is determined, and then combined with the geographic location of the target image acquisition device
  • the location determines the geographic location of the target marker point, and determines the target terminal according to the geographic location of the target marker point, so as to quickly initiate a call to the target call object, thereby facilitating personnel scheduling.
  • Fig. 1 is a scene example diagram of a method for calling a terminal in the prior art
  • Fig. 2 is a scene example diagram of another method for calling a terminal in the prior art
  • FIG. 3 is a flowchart of a method for calling a terminal disclosed in an embodiment of the present application.
  • Figure 4 is the neural network structure diagram of SSD and YOLO target detection algorithms
  • Figure 5 is a schematic diagram of the target image detection based on the SSD target detection algorithm
  • FIG. 6 is a schematic diagram of a detection result obtained by performing target detection on a target image based on an SSD target detection algorithm
  • FIG. 7 is a schematic diagram for determining a vertical declination angle disclosed by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of determining a horizontal distance disclosed in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of determining a horizontal declination angle disclosed in an embodiment of the present application.
  • FIG. 10 is a flowchart of another method for calling a terminal disclosed by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an apparatus for calling a terminal disclosed in an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of another apparatus for calling a terminal disclosed in an embodiment of the present application.
  • FIG. 13 is a hardware structure diagram of an electronic device disclosed in an embodiment of the application.
  • FIG. 14 is a schematic diagram of a target area disclosed in an embodiment of the present application.
  • the corresponding area and the duty personnel in the area can be determined from the map, and it is impossible to quickly determine which duty personnel in the corresponding area of the corresponding map is the duty personnel in the video surveillance.
  • the present application provides a method for calling a terminal, which can quickly initiate a call to a target call object appearing in video surveillance, thereby making personnel scheduling more convenient.
  • FIG. 3 is a flowchart of a method for calling a terminal disclosed by an embodiment of the present application.
  • the method of calling the terminal includes:
  • the image at the pause moment is obtained as the target image.
  • the electronic device controls the electronic device to pause playing the surveillance video, and the electronic device uses the image at the pause time as the target image. Subsequently, the dispatcher can click on the image of the duty officer who wants to call in the image.
  • an image transmitted by other electronic devices is acquired, and the image is used as the target image. It can be understood that other electronic devices capture images from the video surveillance images and send them to the electronic device implementing the solution.
  • S302 Determine the target marker point from the target image.
  • the target mark point is a mark point corresponding to the target call object in the target image.
  • S303 Determine the relative positional relationship between the target marker point and the target image capture device according to the position of the target marker point in the target image, the equipment parameters and installation parameters of the target image capture device.
  • the target image capture device is an image capture device that generates the target image
  • the device parameters of the target image capture device include but are not limited to the pixels of the generated image (that is, the size of the image, that is, the height and width of the image), whether it has GPS Positioning function, etc.
  • the installation parameters of the target image acquisition device include but are not limited to the vertical field of view, horizontal field of view, vertical deflection angle and installation height of the target image acquisition device.
  • S304 Determine the geographic location of the target marker point based on the geographic location of the target image acquisition device and the relative location relationship.
  • the geographic location of the target image acquisition device is known, and after determining the relative positional relationship between the target marker point and the target image acquisition device, the geographic location of the target marker point can be determined.
  • the target image capture device is fixed, such as an image capture device installed at a street lamp or a traffic light, its geographic location is fixed. If the position of the target image capture device is variable, such as an image capture device installed on a vehicle, its geographic location can be determined by a positioning device arranged on the carrier of the target image capture device. For example, the target image acquisition device is installed on a vehicle, and the geographic location of the target image acquisition device can be determined through the GPS module of the vehicle.
  • S305 Determine the target terminal according to the geographic location of the target marker.
  • the target terminal may be a mobile phone, a walkie-talkie, or other portable communication devices.
  • the terminal closest to the geographic location of the target marker is searched, and the terminal closest to the geographic location of the target marker is determined as the target terminal.
  • the terminals in the online state search for the terminal closest to the geographic location of the target marker, and after finding the closest terminal, further determine the distance between the terminal and the target marker Whether it is within the preset distance range, if it is within the preset distance range, the terminal is determined as the target terminal, and if it exceeds the preset distance range, a prompt is issued.
  • the dispatcher can know the distribution of the terminals according to the prompt, and adjust the preset distance range according to the prompt and the actual situation, so as to expand the range of searching for the terminal and determine the target terminal.
  • S306 Initiate a call to the target terminal.
  • a target image is obtained, a target mark point in the target image is determined, and the target mark point and the target mark point are determined according to the position of the target mark point in the target image, the equipment parameters and installation parameters of the target image acquisition device.
  • the relative positional relationship of the image acquisition device is combined with the geographical location of the target image acquisition device to determine the geographic location of the target marker point, and then the target terminal is determined according to the geographic location of the target marker point, and a call is initiated to the target terminal.
  • a target marker point corresponding to the target call object is determined in a target image, and then the relative positional relationship between the target marker point and the target image acquisition device is determined, and then combined with the geographic location of the target image acquisition device
  • the location determines the geographic location of the target marker point, and determines the target terminal according to the geographic location of the target marker point, so as to quickly initiate a call to the target call object, thereby facilitating personnel scheduling.
  • the terminal that is closest to the geographical position of the target marker point is searched from the terminals in the online state, which can ensure the realization of the call with the target call object; and the dispatcher can adjust the preset distance range, so that the The range of the search terminal changes, and when the target call object cannot be connected (for example, the person carrying the target terminal does not pay attention to answer the call or the signal of the target terminal is poor, etc.), other terminals within the preset distance range are called. Therefore, this application provides The method of calling the terminal also has good flexibility.
  • Step S302 will be described in more detail below.
  • determining the target marker point from the target image includes: performing target detection on the target image to obtain the frame of the area where the object with the category of people in the target image is located, and clicking the obtained frame at the middle distance The marker point of the nearest border is determined as the target marker point.
  • determining the target marker point from the target image includes: in the case that the obtained frame is one, determining the marker point of the frame as the target marker point; when the obtained frame is multiple In the case of , the marker point of the frame closest to the click position among the multiple frames is determined as the target marker point.
  • the marking point of the frame is the midpoint of the bottom edge of the frame. Since the real world is three-dimensional and the image is two-dimensional, when projecting from three-dimensional to two-dimensional, there is no height information, only longitude and latitude. Therefore, the position of the person is preferably the center point of the person's projection on the ground, so the category of the area where the object of the person is located can be set. The midpoint of the bottom edge of the border is selected as the border's marker point.
  • target detection algorithms such as SSD and YOLO can be used to perform target detection on the target image.
  • object recognition algorithms can also be used to perform target detection on the target image.
  • Figure 4 is the neural network structure diagram of SSD and YOLO algorithms.
  • Fig. 5 is a schematic diagram of the object detection of a target image based on the SSD target detection algorithm
  • Fig. 6 is a schematic diagram of the detection result obtained by the object detection of the target image based on the SSD target detection algorithm.
  • the detection results shown in Fig. 6 include: Objects of two categories are people.
  • Determining the relative positional relationship between the target marker point and the target image acquisition device includes: determining the horizontal distance of the target marker point relative to the target image acquisition device according to the position of the target marker point in the target image, the equipment parameters and installation parameters of the target image acquisition device and the horizontal declination angle; according to the horizontal distance and the horizontal declination angle, the position of the target marker point in the polar coordinate system with the target image acquisition device as the origin is determined.
  • the position of the target marker point in the target image may be the abscissa position and the ordinate position of the target marker point in the target image.
  • Determining the horizontal distance of the target marker point relative to the target image acquisition device includes:
  • the vertical field angle of the target image capture device and the height of the target image determine the vertical declination angle of the target marker point relative to the target image capture device
  • the vertical deflection angle of the target marker point relative to the target image capture device the vertical deflection angle of the target image capture device and the installation height, the horizontal distance of the target marker point relative to the target image capture device is determined.
  • the field of view angle of the target image acquisition device refers to the angle formed by the two edges of the maximum range where the object image of the measured target can pass through the lens with the lens of the target image acquisition device as the vertex.
  • the included angle in the vertical direction is the vertical field angle
  • the included angle in the horizontal direction is the horizontal field angle.
  • the target marker point As shown in Figure 7, for the convenience of description, we denote the target marker point as point P, the ordinate position of the target marker point P in the target image as y, and the vertical field of view of the target image acquisition device as a,
  • the height of the target image is denoted as h
  • the distance from the target image to the target image acquisition device is denoted as L
  • the vertical declination angle of the target marker point P relative to the target image acquisition device is denoted as b
  • e is the vertical angle between the projection of the target marker point P on the ground and the line connecting the lens of the target image acquisition device
  • D is the angle of the target marker point P relative to the target image acquisition device in the three-dimensional space. Horizontal distance.
  • the target marker point P is on a circle with the lens of the target image capturing device as the center and the horizontal distance D as the radius.
  • Determining the horizontal declination angle of the target marker point relative to the target image acquisition device includes: according to the abscissa position of the target marker point in the target image, the horizontal field angle of the target image acquisition device and the width of the target image, determining the target marker point relative to the target image.
  • the horizontal declination of the target image capture device includes: according to the abscissa position of the target marker point in the target image, the horizontal field angle of the target image acquisition device and the width of the target image, determining the target marker point relative to the target image. The horizontal declination of the target image capture device.
  • the horizontal field of view of the target image acquisition device has been introduced above, and will not be repeated here.
  • the target marker point is consistent with the previous one, that is, it is denoted as point P, the abscissa position of the target marker point P in the target image is denoted as x, and the horizontal field of view of the target image acquisition device is It is denoted as g, the width of the target image is denoted as w, the distance from the projection of the target marker point P on the ground to the target image acquisition device is denoted as N, and the horizontal declination of the target marker point P relative to the target image acquisition device is denoted as f , then according to the trigonometric relationship, there are:
  • the position of the target marker point P in the polar coordinate system established with the target image acquisition device as the origin is (D, f).
  • the target marker point P point (D, f)
  • the geographic location of the target image acquisition device such as the GPS position mentioned above
  • the installation height of the target image capture device may not be known.
  • an embodiment of the present application discloses yet another method for calling a terminal, see FIG. 10 .
  • the method of calling the terminal includes:
  • the image at the pause moment is obtained as the target image.
  • an image transmitted by other electronic devices is acquired, and the image is used as the target image. It can be understood that other electronic devices capture images from the video surveillance images and send them to the electronic device implementing the solution.
  • S1002 Determine the target marker point from the target image.
  • the target mark point is a mark point corresponding to the target call object in the target image.
  • S1003 Determine the horizontal declination angle of the target marker point relative to the target image capture device according to the position of the target marker point in the target image and the device parameters of the target image capture device.
  • the target image acquisition device is an image acquisition device that generates the target image
  • the device parameters of the target image acquisition device include, but are not limited to, the pixels of the generated image, whether it has a GPS positioning function, and the like.
  • the position of the target marker point in the target image is determined, and the horizontal declination angle of the target marker point relative to the target image capture device is determined according to the position of the target marker point in the target image and the equipment parameters of the target image capture device, The solution described above can be adopted, and details are not repeated here.
  • S1004 Determine the target area based on the horizontal deflection angle of the target marker point relative to the target image capture device, the main axis direction of the target image capture device, and a preset deflection angle.
  • the horizontal deflection angle of the target marker point relative to the target image acquisition device (that is, the horizontal deflection angle of the target marker point relative to the main axis of the target image acquisition device) is f, and the preset deflection angle is ⁇ , then the target area is relatively
  • the horizontal declination angle of the main axis of the target image acquisition device is (f- ⁇ , f+ ⁇ ), as shown in FIG. 14 .
  • S1005 Determine a target terminal from terminals located in the target area and in an online state.
  • the target terminal may be a mobile phone, a walkie-talkie, or other portable communication devices.
  • the geographic location of the target image acquisition device needs to be determined, and the terminal located in the target area, in an online state, and the distance from the geographic location of the target image acquisition device is within a preset distance range is determined as the target terminal.
  • the preset distance range can be adjusted by the dispatcher according to the specific situation, for example, it is set to 300 meters.
  • the dynamic reorganization function can be used to form a group of terminals located in the target area and in the online state.
  • a conversation group that is, calling any terminal in the group conversation group, and all terminals in the group conversation group share the call.
  • S1006 Initiate a call to the target terminal.
  • a target image is obtained, a target marker point in the target image is determined, and according to the position of the target marker point in the target image and the equipment parameters of the target image acquisition device, the target marker point is determined relative to the target image acquisition.
  • the horizontal declination angle of the device is combined with the main axis direction of the target image acquisition device and the preset deflection angle to determine the target area, and the target terminal is determined from the terminals located in the target area and in the online state, so as to quickly initiate a call to the target call object. call, so that personnel scheduling is more convenient.
  • FIG. 11 is a schematic structural diagram of an apparatus for calling a terminal disclosed in an embodiment of the present application.
  • the apparatus includes: a target image acquisition unit 1101 , a target marker point determination unit 1102 , a relative position determination unit 1103 , a geographic location determination unit 1104 , a target terminal determination unit 1105 and a call unit 1106 .
  • the target image obtaining unit 1101 is used to obtain a target image.
  • the target marker point determining unit 1102 is configured to determine the target marker point from the target image, where the target marker point is the marker point corresponding to the target call object in the target image.
  • the relative position determination unit 1103 is used to determine the relative positional relationship between the target marker point and the target image capture device according to the position of the target marker point in the target image, the equipment parameters of the target image capture device, and the installation parameters of the target image capture device,
  • the target image acquisition device is an image acquisition device that generates a target image.
  • the geographic location determining unit 1104 is configured to determine the geographic location of the target marker point based on the geographic location and relative location relationship of the target image capturing device.
  • the target terminal determination unit 1105 is configured to determine the target terminal according to the geographic location of the target marker.
  • the calling unit 1106 is configured to initiate a call to the target terminal.
  • the target image acquiring unit 1101 is specifically configured to: in the process of playing a video, when an input operation instructing to pause the playback is received, acquire the image at the moment of pause as the target image.
  • the target image acquisition unit 1101 is specifically configured to: acquire an image transmitted by other electronic devices, and use the image as the target image. It can be understood that other electronic devices capture images from the video surveillance images and send them to the electronic device implementing the solution.
  • the target marker point determination unit 1102 is specifically configured to: perform target detection on the target image to obtain the frame of the area where the object whose category is a person is located in the target image, and mark the frame closest to the click position in the obtained frame. The point is determined as the target marker point.
  • the target marker point determination unit 1102 is specifically configured to: perform target detection on the target image to obtain a frame of the area where the object whose category is a person is located in the target image; if the obtained frame is one, the frame The marked point of , is determined as the target marked point; when there are multiple frames obtained, the marked point of the frame closest to the click position among the multiple frames is determined as the target marked point.
  • the relative position determining unit 1103 is specifically configured to: according to the position of the target marker point in the target image, the device parameters of the target image capture device, and the installation parameters of the target image capture device, determine the target marker point relative to the target image capture device.
  • the horizontal distance and the horizontal declination of the device; the position of the target marker point in the polar coordinate system with the target image acquisition device as the origin is determined according to the horizontal distance and the horizontal declination.
  • the relative position determination unit 1103 determines the horizontal distance of the target marker point relative to the target image acquisition device, specifically:
  • the vertical field of view of the target image acquisition device and the height of the target image determine the vertical declination angle of the target marker point relative to the target image acquisition device;
  • the vertical deflection angle of the image capture device, the vertical deflection angle of the target image capture device, and the installation height of the target image capture device determine the horizontal distance of the target marker point relative to the target image capture device.
  • the relative position determination unit 1103 determines the horizontal declination angle of the target marker point relative to the target image acquisition device, specifically:
  • the horizontal field angle of the target image capture device and the width of the target image the horizontal declination angle of the target marker point relative to the target image capture device is determined.
  • the target terminal determination unit 1105 is specifically configured to: from the terminals in the online state, search for the terminal closest to the geographic location of the target marker point, and determine the terminal closest to the geographic location of the target marker point as the target terminal. .
  • the target terminal determination unit 1105 is specifically configured to: from the terminals in the online state, find the terminal closest to the geographical position of the target marker point, and after finding the closest terminal, further determine the terminal and the target. Whether the distance of the marked point is within the preset distance range, if it is within the preset distance range, the terminal is determined as the target terminal, and if it exceeds the preset distance range, a prompt is issued.
  • FIG. 12 is a schematic structural diagram of another apparatus for calling a terminal disclosed in an embodiment of the present application.
  • the apparatus includes: a target image acquisition unit 1201 , a target marker point determination unit 1202 , a horizontal declination angle determination unit 1203 , a target area determination unit 1204 , a target terminal determination unit 1205 and a call unit 1206 .
  • the target image obtaining unit 1201 is used to obtain a target image.
  • the target marker point determining unit 1202 is configured to determine the target marker point from the target image, where the target marker point is the marker point corresponding to the target call object in the target image.
  • the horizontal declination determination unit 1203 is used for determining the horizontal declination angle of the target marker point relative to the target image capture device according to the position of the target marker point in the target image and the device parameters of the target image capture device, wherein the target image capture device An image acquisition device for generating target images.
  • the target area determination unit 1204 is configured to determine the target area based on the horizontal deflection angle of the target marker point relative to the target image capture device, the main axis direction of the target image capture device and a preset deflection angle.
  • the target terminal determination unit 1205 is configured to determine a target terminal from terminals located in the target area and in an online state.
  • the calling unit 1206 is used to initiate a call to the target terminal.
  • the target terminal determination unit 1205 is specifically configured to: determine the terminal located in the target area, in an online state, and the distance from the geographic location of the target image acquisition device is within a preset distance range as the target terminal.
  • the preset distance range can be adjusted by the dispatcher according to the specific situation.
  • the specific implementation of the target image acquisition unit 1201 , the target marker point determination unit 1202 , and the horizontal declination angle determination unit 1203 can be found in the foregoing description, which will not be repeated here.
  • the present application also discloses an electronic device.
  • FIG. 13 is a hardware structure diagram of an electronic device disclosed in this application.
  • the electronic device includes a processor 1301 and a memory 1302 .
  • the terminal may further include: a communication interface 1303 , an input unit 1304 , a display 1305 and a communication bus 1306 .
  • the processor 1301 , the memory 1302 , the communication interface 1303 , the input unit 1304 , and the display 1305 all communicate with each other through the communication bus 1306 .
  • the processor 1301 is used for calling and executing the program stored in the memory 1302 .
  • the memory 1302 is used to store one or more programs, the programs may include program codes, and the program codes include computer operation instructions.
  • the program codes include computer operation instructions.
  • at least a program for realizing the following functions is stored in the memory:
  • the target image determines the target marker point from the target image, and the target marker point is the marker point corresponding to the target call object in the target image; according to the position of the target marker point in the target image, the equipment parameters of the target image acquisition device, and The installation parameters of the target image capture device determine the relative positional relationship between the target marker point and the target image capture device, wherein the target image capture device is the image capture device that generates the target image; based on the geographic location and relative position relationship of the target image capture device, Determine the geographic location of the target marker; determine the target terminal according to the geographic location of the target marker; initiate a call to the target terminal.
  • the target image determines the target marker point from the target image, and the target marker point is the marker point corresponding to the target call object in the target image; according to the position of the target marker point in the target image and the equipment parameters of the target image acquisition device, Determine the horizontal declination angle of the target marker point relative to the target image capture device, wherein the target image capture device is an image capture device that generates the target image; based on the horizontal declination angle of the target marker point relative to the target image capture device, the target image capture device The main axis direction and the preset deflection angle determine the target area; the target terminal is determined from the terminals located in the target area and in an online state; and a call is initiated to the target terminal.
  • the present application also discloses a storage medium executable by an electronic device, the storage medium stores a program, and when the program is loaded and executed by a processor of the electronic device, the electronic device enables the electronic device to implement any of the calling terminals disclosed in the present application. method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请公开了一种呼叫终端的方法、装置、电子设备及存储介质。该方法包括:获得目标图像;从目标图像中确定出目标标记点,目标标记点为目标图像中的目标通话对象对应的标记点;根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数、以及目标图像采集装置的安装参数,确定目标标记点与目标图像采集装置的相对位置关系;基于目标图像采集装置的地理位置和该相对位置关系,确定目标标记点的地理位置;根据目标标记点的地理位置确定目标终端,向目标终端发起呼叫。基于本申请公开的技术方案,能够快速地向目标通话对象发起呼叫。

Description

呼叫终端的方法、装置、电子设备及存储介质 技术领域
本申请涉及通信技术领域,尤其涉及一种呼叫终端的方法、装置、电子设备及存储介质。
背景技术
随着监控行业的发展,视频监控因具备直观、方便、信息内容丰富的优势而广泛应用于许多场合。比如公安、城管、安保部门等,通过视频监控来了解现场情况,对现场执勤人员进行指挥调度。
目前,通过视频监控对现场执勤人员进行指挥调度主要有以下方法:一种方法,在计算机通讯录上查找视频监控中出现的执勤人员的联系方式,向其发起呼叫通话,但很多情况下,调度人员不知道该执勤人员的姓名,从而不能通过查找通讯录联系该执勤人员;另一种方法,通过视频监控中出现的地点,在计算机地图上确定该地点所在的区域及该区域内的执勤人员,再联系该区域内的执勤人员,然而,这种方法可能无法确定监控中出现的执勤人员究竟是对应地图上显示的哪一个执勤人员。因此,这对视频监控中出现的执勤人员进行指挥调度造成了不便。
发明内容
有鉴于此,本申请的目的在于提供一种呼叫终端的方法、装置、电子设备及存储介质,能够快速地向视频监控中出现的目标通话对象发起呼叫,从而更加方便地进行人员调度。
为实现上述目的,本申请提供如下技术方案:
一方面,本申请提供一种呼叫终端的方法,包括:
获得目标图像;
从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中 的目标通话对象对应的标记点;
根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
基于所述目标图像采集装置的地理位置和所述相对位置关系,确定所述目标标记点的地理位置;
根据所述目标标记点的地理位置确定目标终端;
向所述目标终端发起呼叫。
可选的,所述从所述目标图像中确定出目标标记点,包括:
对所述目标图像进行目标检测,以获得所述目标图像中类别为人的对象所在区域的边框;
将获得的边框中距离点击位置最近的边框的标记点确定为目标标记点。
可选的,所述根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,包括:
根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平距离和水平偏角;
根据所述水平距离和所述水平偏角确定所述目标标记点在以所述目标图像采集装置为原点的极坐标系中的位置。
可选的,根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平距离,包括:
根据所述目标标记点在所述目标图像中的纵坐标位置、所述目标图像采集装置的垂直视场角和所述目标图像的高度,确定所述目标标记点相对于所述目标图像采集装置的垂直偏角;
根据所述目标标记点相对于所述目标图像采集装置的垂直偏角、所述目标 图像采集装置的垂直偏转角、以及所述目标图像采集装置的安装高度,确定所述目标标记点相对于所述目标图像采集装置的水平距离。
可选的,根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,包括:
根据所述目标标记点在所述目标图像中的横坐标位置、所述目标图像采集装置的水平视场角和所述目标图像的宽度,确定所述目标标记点相对于所述目标图像采集装置的水平偏角。
可选的,所述根据所述目标标记点的地理位置确定目标终端,包括:
从处于在线状态的终端中,查找距离所述目标标记点的地理位置最近的终端,将距离所述目标标记点的地理位置最近的终端确定为目标终端。
可选的,所述获得目标图像,包括:
在播放视频过程中,当接收到指示暂停播放的输入操作时,获得暂停时刻的图像作为目标图像。
另一方面,本申请提供一种呼叫终端的方法,包括:
获得目标图像;
从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
根据所述目标标记点在所述目标图像中的位置、以及目标图像采集装置的设备参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
基于所述目标标记点相对于所述目标图像采集装置的水平偏角、所述目标图像采集装置的主轴方向和预设的偏转角度确定目标区域;
从位于所述目标区域内,且处于在线状态的终端中确定目标终端;
向所述目标终端发起呼叫。
另一方面,本申请提供一种呼叫终端的装置,包括:
目标图像获取单元,用于获得目标图像;
目标标记点确定单元,用于从所述目标图像中确定出目标标记点,所述目 标标记点为所述目标图像中的目标通话对象对应的标记点;
相对位置确定单元,用于根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
地理位置确定单元,用于基于所述目标图像采集装置的地理位置和所述相对位置关系,确定所述目标标记点的地理位置;
目标终端确定单元,用于根据所述目标标记点的地理位置确定目标终端;
呼叫单元,用于向所述目标终端发起呼叫。
另一方面,本申请提供一种呼叫终端的装置,包括:
目标图像获取单元,用于获得目标图像;
目标标记点确定单元,用于从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
水平偏角确定单元,用于根据所述目标标记点在所述目标图像中的位置、以及目标图像采集装置的设备参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
目标区域确定单元,用于基于所述目标标记点相对于所述目标图像采集装置的水平偏角、所述目标图像采集装置的主轴方向和预设的偏转角度确定目标区域;
目标终端确定单元,用于从位于所述目标区域内,且处于在线状态的终端中确定目标终端;
呼叫单元,用于向所述目标终端发起呼叫。
另一方面,本申请提供一种电子设备,包括处理器和存储器;
所述存储器用于存储程序;
所述处理器用于调用并执行所述存储器中存储的程序,以执行上述任意一种呼叫终端的方法。
另一方面,本申请提供一种电子设备可执行的存储介质,所述存储介质中 存储有程序,所述程序由所述电子设备的处理器加载并执行时,使得所述电子设备实现本申请上述任意一种呼叫终端的方法。
本申请提供的呼叫终端的方法,获得目标图像,确定目标图像中的目标标记点,根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数及安装参数,确定目标标记点与目标图像采集装置的相对位置关系,结合目标图像采集装置的地理位置确定目标标记点的地理位置,再根据目标标记点的地理位置确定目标终端,向目标终端发起呼叫。本申请提供的呼叫终端的方法,在目标图像中确定与目标通话对象对应的目标标记点,之后确定该目标标记点与目标图像采集装置之间的相对位置关系,之后结合目标图像采集装置的地理位置确定该目标标记点的地理位置,并根据目标标记点的地理位置确定目标终端,从而快速地向目标通话对象发起呼叫,从而更加方便地进行人员调度。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中一种呼叫终端的方法的场景示例图;
图2为现有技术中又一种呼叫终端的方法的场景示例图;
图3为本申请实施例公开的一种呼叫终端的方法的流程图;
图4为SSD、YOLO目标检测算法的神经网络结构图;
图5为基于SSD目标检测算法对目标图像进行目标检测的原理图;
图6为基于SSD目标检测算法对目标图像进行目标检测得到的检测结果的示意图;
图7为本申请实施例公开的确定垂直偏角的原理图;
图8为本申请实施例公开的确定水平距离的原理图;
图9为本申请实施例公开的确定水平偏角的原理图;
图10为本申请实施例公开的又一种呼叫终端的方法的流程图;
图11为本申请实施例公开的一种呼叫终端的装置的结构示意图;
图12为本申请实施例公开的又一种呼叫终端的装置的结构示意图;
图13为本申请实施例公开的一种电子设备的硬件结构图;
图14为本申请实施例公开的一种目标区域的示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在背景技术中我们知道,在许多场合,公安、城管等部门,借助视频监控来了解现场情况,并指挥调度现场执勤人员。如图1中所示,调度人员从视频监控中观看到需要联系的执勤人员后,从计算机通讯录中查找该执勤人员的联系方式,基于该联系方式与该执勤人员联系。如图2中所示,调度人员根据视频监控中观看到的地点情况,在计算机地图上确定该地点所在的区域及该区域内的执勤人员,再向该区域内的执勤人员发起呼叫通话。
但很多情况下,如果不知道该执勤人员的名字,就无法查找通讯录与其联系。根据视频监控中的地点情况,从地图上确定相应区域及区域内的执勤人员,不能快速确定视频监控中的执勤人员到底是对应地图相应区域中的哪个执勤人员。
为此,本申请提供一种呼叫终端的方法,能够快速地向视频监控中出现的目标通话对象发起呼叫,从而更加方便地进行人员调度。
请参见图3,图3为本申请实施例公开的一种呼叫终端的方法的流程图。该呼叫终端的方法包括:
S301:获得目标图像。
在一种可能的实现方式中,在播放视频过程中,当接收到指示暂停播放的输入操作时,获得暂停时刻的图像作为目标图像。
也就是说,在电子设备播放监控视频的过程中,如果调度人员想要与监控视频中的执勤人员进行通话时,控制电子设备暂停播放监控视频,电子设备将暂停时刻的图像作为目标图像。后续,调度人员可以在该图像中点击想要通话的执勤人员的图像。
在另一种可能的实现方式中,获取其他电子设备传输的图像,将该图像作为目标图像。可以理解的是,其他电子设备在视频监控图像中截取图像,并向实施本方案的电子设备发送。
S302:从目标图像中确定出目标标记点。
该目标标记点为该目标图像中的目标通话对象对应的标记点。
S303:根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数以及安装参数,确定目标标记点与目标图像采集装置的相对位置关系。
该目标图像采集装置为生成该目标图像的图像采集装置,该目标图像采集装置的设备参数包括但不仅限于所生成图像的像素(也就是图像的尺寸,即图像的高度和宽度)、是否具备GPS定位功能等,该目标图像采集装置的安装参数包括但不仅限于该目标图像采集装置的垂直视场角、水平视场角、垂直偏转角及其安装高度等。
S304:基于目标图像采集装置的地理位置和该相对位置关系,确定目标标记点的地理位置。
目标图像采集装置的地理位置是已知的,在确定目标标记点与该目标图像采集装置的相对位置关系后,就可以确定该目标标记点的地理位置。
需要说明的是,如果目标图像采集装置是固定式的,例如安装于路灯或者交通指示灯处的图像采集装置,那么其地理位置是固定不变的。如果该目标图像采集装置的位置可变,例如安装于车辆上的图像采集装置,那么可以通过该目标图像采集装置的载体上布置的定位装置确定其地理位置。例如,目标图像采集装置安装在车辆上,通过该车辆的GPS模块就可以确定该目标图像采集装置的地理位置。
S305:根据目标标记点的地理位置确定目标终端。
该目标终端可以是手机、对讲机,还可以是其他便携式通讯设备等。
一种可能的实现方式中,从处于在线状态的终端中,查找距离该目标标记点的地理位置最近的终端,将距离该目标标记点的地理位置最近的终端确定为目标终端。
也就是说,从处于在线状态的终端中,根据这些终端的地理位置信息,查找距离目标标记点的地理位置最近的终端,并将其确定为目标终端。
另一种可能的实现方式中,从处于在线状态的终端中,查找距离该目标标记点的地理位置最近的终端,在查找到距离最近的终端后,进一步判断该终端与该目标标记点的距离是否在预设距离范围内,如果在预设距离范围内,则将该终端确定为目标终端,如果超出预设距离范围,则发出提示。调度人员可以根据该提示了解终端的分布情况,并根据该提示和实际情况等对预设距离范围进行调整,以便扩大查找终端的范围,确定目标终端。
S306:向目标终端发起呼叫。
本申请提供的呼叫终端的方法,获得目标图像,确定目标图像中的目标标记点,根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数及安装参数,确定目标标记点与目标图像采集装置的相对位置关系,结合目标图像采集装置的地理位置确定目标标记点的地理位置,再根据目标标记点的地理位置确定目标终端,向目标终端发起呼叫。本申请提供的呼叫终端的方法,在目标图像中确定与目标通话对象对应的目标标记点,之后确定该目标标记点与目标图像采集装置之间的相对位置关系,之后结合目标图像采集装置的地理位置确定该目标标记点的地理位置,并根据目标标记点的地理位置确定目标终端,从而快速地向目标通话对象发起呼叫,从而更加方便地进行人员调度。
另外,在确定目标终端时,从处于在线状态的终端中查找距离目标标记点的地理位置最近的终端,能够保证与目标通话对象呼叫的实现;并且,调度人员可以通过调整预设距离范围,使得查找终端的范围改变,在无法接通目标通话对象时(例如携带目标终端的人未注意接听或目标终端信号不佳等情况),呼叫预设距离范围内的其他终端,故而,本申请提供的呼叫终端的方法还具备良好的灵活性。
下面对步骤S302做更详细的介绍。
在一种可能的实现方式中,从目标图像中确定出目标标记点包括:对该目标图像进行目标检测,以获得该目标图像中类别为人的对象所在区域的边框,将获得的边框中距离点击位置最近的边框的标记点确定为目标标记点。
在另一种可能的实现方式中,从目标图像中确定出目标标记点包括:在获得的边框为一个的情况下,将该边框的标记点确定为目标标记点;在获得的边框为多个的情况下,将多个边框中距离点击位置最近的边框的标记点确定为目标标记点。
优选的,边框的标记点为边框的底边的中点。由于真实世界是三维的,图像是二维的,从三维向二维投影时,无高度信息只有经纬度,因此人的位置优选为人在地面投影的中心点,故可以将类别为人的对象所在区域的边框的底边的中点选作边框的标记点。
实施中,可以采用SSD、YOLO等目标检测算法对目标图像进行目标检测,当然,也可以采用其他物体识别算法对目标图像进行目标检测。
图4为SSD、YOLO算法的神经网络结构图。图5为基于SSD目标检测算法对目标图像进行目标检测的原理图,图6为基于SSD目标检测算法对目标图像进行目标检测得到的检测结果的示意图,在图6所示的检测结果中,包括两个类别为人的对象。
上述提到的确定目标标记点与目标图像采集装置的相对位置关系,这里进行具体说明。
确定目标标记点与目标图像采集装置的相对位置关系包括:根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数以及安装参数,确定目标标记点相对于目标图像采集装置的水平距离和水平偏角;根据该水平距离和水平偏角确定目标标记点在以目标图像采集装置为原点的极坐标系中的位置。
目标标记点在目标图像中的位置,可以为目标标记点在目标图像中的横坐标位置和纵坐标位置。在确定目标标记点相对于目标图像采集装置的水平距离 和水平偏角之后,在以目标图像采集装置为原点建立的极坐标系中,目标标记点的极径为该水平距离、极角为该水平偏角。
这里对确定目标标记点相对于目标图像采集装置的水平距离的过程进行详细介绍。
确定目标标记点相对于目标图像采集装置的水平距离包括:
根据目标标记点在目标图像中的纵坐标位置、目标图像采集装置的垂直视场角和目标图像的高度,确定目标标记点相对于目标图像采集装置的垂直偏角;
根据目标标记点相对于目标图像采集装置的垂直偏角、目标图像采集装置的垂直偏转角以及安装高度,确定目标标记点相对于目标图像采集装置的水平距离。
需要说明的是,目标标记点在目标图像中的位置在前文中已做介绍,这里不再对目标标记点在目标图像中的纵坐标位置的求取进行介绍。
还需要说明的是,目标图像采集装置的视场角指的是:以目标图像采集装置的镜头为顶点,以被测目标的物像可通过镜头的最大范围的两条边缘构成的夹角。在垂直方向的夹角为垂直视场角,在水平方向的夹角为水平视场角。
如图7所示,为了便于描述,我们将目标标记点记为P点,目标标记点P点在目标图像中的纵坐标位置记为y,目标图像采集装置的垂直视场角记为a,目标图像的高度记为h,目标图像到目标图像采集装置的距离记为L,目标标记点P点相对于目标图像采集装置的垂直偏角记为b,那么根据三角函数关系,有:
L=(h/2)*cot(a/2)
b=arctan{[y-(h/2)]/L}
计算得到目标标记点P点相对于目标图像采集装置的垂直偏角b后,如图8所示,为了便于描述,我们将目标图像采集装置的垂直偏转角记为c,目标图像采集装置的安装高度记为H,目标标记点P点相对于目标图像采集装置的水平距离记为D,那么根据三角函数关系,有:
e=90-c+b
D=H*tan(e)
也就是:
D=H*tan(90-c+b)
需要说明的是,e为目标标记点P点在地面的投影与目标图像采集装置的镜头之间的连线的垂直夹角,D为三维空间中目标标记点P点相对于目标图像采集装置的水平距离。
因此,可以确定目标标记点P点在以目标图像采集装置的镜头为圆心、水平距离D为半径的圆上。
这里对确定目标标记点相对于目标图像采集装置的水平偏角的过程进行详细介绍。
确定目标标记点相对于目标图像采集装置的水平偏角包括:根据目标标记点在目标图像中的横坐标位置、目标图像采集装置的水平视场角和目标图像的宽度,确定目标标记点相对于目标图像采集装置的水平偏角。
需要说明的是,目标标记点在目标图像中的位置在前文中已做介绍,这里不再对目标标记点在目标图像中的横坐标位置的求取进行介绍。
目标图像采集装置的水平视场角前文有所介绍,这里不赘述。
如图9所示,为了方便描述,目标标记点与前文一致,即记为P点,将目标标记点P点在目标图像中的横坐标位置记为x,目标图像采集装置的水平视场角记为g,目标图像的宽度记为w,目标标记点P点在地面的投影到目标图像采集装置的距离记为N,目标标记点P点相对于目标图像采集装置的水平偏角记为f,那么根据三角函数关系,有:
N=(w/2)*cot(g/2)
f=arctan{[(x-w/2)/N]}
综上,在确定水平距离和水平偏角之后,目标标记点P点在以目标图像采集装置为原点建立的极坐标系中的位置为(D,f)。
确定目标标记点与目标图像采集装置的相对位置,即目标标记点P点(D,f)之后,再根据目标图像采集装置的地理位置,如前文提及的GPS位置,确 定目标标记点P点的GPS位置,从而根据该GPS位置查找与其匹配的终端,向该终端发起呼叫。
在某些情况下,目标图像采集装置的安装高度可能是未知的。有鉴于此,本申请实施例公开又一种呼叫终端的方法,参见图10。该呼叫终端的方法包括:
S1001:获得目标图像。
在一种可能的实现方式中,在播放视频过程中,当接收到指示暂停播放的输入操作时,获得暂停时刻的图像作为目标图像。
在另一种可能的实现方式中,获取其他电子设备传输的图像,将该图像作为目标图像。可以理解的是,其他电子设备在视频监控图像中截取图像,并向实施本方案的电子设备发送。
S1002:从目标图像中确定出目标标记点。
该目标标记点为该目标图像中的目标通话对象对应的标记点。
需要说明的是,从目标图像中确定目标标记点,可以采用前文记载的方案,这里不再进行赘述。
S1003:根据目标标记点在目标图像中的位置以及目标图像采集装置的设备参数,确定目标标记点相对于目标图像采集装置的水平偏角。
该目标图像采集装置为生成该目标图像的图像采集装置,该目标图像采集装置的设备参数包括但不仅限于所生成图像的像素、是否具备GPS定位功能等。
需要说明的是,确定目标标记点在目标图像中的位置,根据目标标记点在目标图像中的位置以及目标图像采集装置的设备参数,确定目标标记点相对于目标图像采集装置的水平偏角,可以采用前文记载的方案,这里不再进行赘述。
S1004:基于目标标记点相对于目标图像采集装置的水平偏角、目标图像采集装置的主轴方向和预设的偏转角度确定目标区域。
例如,目标标记点相对于目标图像采集装置的水平偏角(即目标标记点相对于目标图像采集装置的主轴的水平偏角)为f,该预设的偏转角度为δ,那么 该目标区域相对于目标图像采集装置的主轴的水平偏角为(f-δ,f+δ),如图14所示。
S1005:从位于目标区域内,且处于在线状态的终端中确定目标终端。
该目标终端可以是手机、对讲机,还可以是其他便携式通讯设备等。
一种可能的实现方式中,需要确定目标图像采集装置的地理位置,将位于目标区域内、处于在线状态,且与目标图像采集装置的地理位置的距离在预设距离范围内终端确定为目标终端。预设距离范围可以由调度人员根据具体情况进行调整,例如设置为300米。
实施中,对于PDT(警用数字集群)、Tetra(Trans European Trunked Radio System,陆上集群无线电系统)等集群系统,可以利用动态重组功能将位于目标区域内,且处于在线状态的终端组成一个组会话群,即,呼叫组会话群中的任一终端,组会话群中的所有终端共享通话。
S1006:向目标终端发起呼叫。
本申请提供的呼叫终端的方法,获得目标图像,确定目标图像中的目标标记点,根据目标标记点在目标图像中的位置以及目标图像采集装置的设备参数,确定目标标记点相对于目标图像采集装置的水平偏角,再结合目标图像采集装置的主轴方向和预设的偏转角度确定目标区域,从位于目标区域内,且处于在线状态的终端中确定目标终端,从而快速地向目标通话对象发起呼叫,从而更加方便地进行人员调度。
本申请上述公开了呼叫终端的方法,相应的,本申请还公开呼叫终端的装置,说明书中关于两者的描述可以相互参考。
参见图11,图11为本申请实施例公开的一种呼叫终端的装置的结构示意图。该装置包括:目标图像获取单元1101、目标标记点确定单元1102、相对位置确定单元1103、地理位置确定单元1104、目标终端确定单元1105和呼叫单元1106。
目标图像获取单元1101,用于获得目标图像。
目标标记点确定单元1102,用于从目标图像中确定出目标标记点,目标标记点为目标图像中的目标通话对象对应的标记点。
相对位置确定单元1103,用于根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数、以及目标图像采集装置的安装参数,确定目标标记点与目标图像采集装置的相对位置关系,其中,目标图像采集装置为生成目标图像的图像采集装置。
地理位置确定单元1104,用于基于目标图像采集装置的地理位置和相对位置关系,确定目标标记点的地理位置。
目标终端确定单元1105,用于根据目标标记点的地理位置确定目标终端。
呼叫单元1106,用于向目标终端发起呼叫。
可选的,目标图像获取单元1101具体用于:在播放视频过程中,当接收到指示暂停播放的输入操作时,获得暂停时刻的图像作为目标图像。
可选的,目标图像获取单元1101具体用于:获取其他电子设备传输的图像,将该图像作为目标图像。可以理解的是,其他电子设备在视频监控图像中截取图像,并向实施本方案的电子设备发送。
可选的,目标标记点确定单元1102具体用于:对该目标图像进行目标检测,以获得该目标图像中类别为人的对象所在区域的边框,将获得的边框中距离点击位置最近的边框的标记点确定为目标标记点。
可选的,目标标记点确定单元1102具体用于:对该目标图像进行目标检测,以获得该目标图像中类别为人的对象所在区域的边框;在获得的边框为一个的情况下,将该边框的标记点确定为目标标记点;在获得的边框为多个的情况下,将多个边框中距离点击位置最近的边框的标记点确定为目标标记点。
可选的,相对位置确定单元1103具体用于:根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数、以及目标图像采集装置的安装参数,确定目标标记点相对于目标图像采集装置的水平距离和水平偏角;根据水平距离和水平偏角确定目标标记点在以目标图像采集装置为原点的极坐标系中的位置。
其中,相对位置确定单元1103确定目标标记点相对于目标图像采集装置的水平距离,具体为:
根据目标标记点在目标图像中的纵坐标位置、目标图像采集装置的垂直视场角和目标图像的高度,确定目标标记点相对于目标图像采集装置的垂直偏角;根据目标标记点相对于目标图像采集装置的垂直偏角、目标图像采集装置的垂直偏转角、以及目标图像采集装置的安装高度,确定目标标记点相对于目标图像采集装置的水平距离。
相对位置确定单元1103确定目标标记点相对于目标图像采集装置的水平偏角,具体为:
根据目标标记点在目标图像中的横坐标位置、目标图像采集装置的水平视场角和目标图像的宽度,确定目标标记点相对于目标图像采集装置的水平偏角。
可选的,目标终端确定单元1105具体用于:从处于在线状态的终端中,查找距离该目标标记点的地理位置最近的终端,将距离该目标标记点的地理位置最近的终端确定为目标终端。
可选的,目标终端确定单元1105具体用于:从处于在线状态的终端中,查找距离该目标标记点的地理位置最近的终端,在查找到距离最近的终端后,进一步判断该终端与该目标标记点的距离是否在预设距离范围内,如果在预设距离范围内,则将该终端确定为目标终端,如果超出预设距离范围,则发出提示。
参见图12,图12为本申请实施例公开的又一种呼叫终端的装置的结构示意图。该装置包括:目标图像获取单元1201、目标标记点确定单元1202、水平偏角确定单元1203、目标区域确定单元1204、目标终端确定单元1205和呼叫单元1206。
目标图像获取单元1201,用于获得目标图像。
目标标记点确定单元1202,用于从目标图像中确定出目标标记点,目标标记点为目标图像中的目标通话对象对应的标记点。
水平偏角确定单元1203,用于根据目标标记点在目标图像中的位置、以及目标图像采集装置的设备参数,确定目标标记点相对于目标图像采集装置的水平偏角,其中,目标图像采集装置为生成目标图像的图像采集装置。
目标区域确定单元1204,用于基于目标标记点相对于目标图像采集装置的水平偏角、目标图像采集装置的主轴方向和预设的偏转角度确定目标区域。
目标终端确定单元1205,用于从位于目标区域内,且处于在线状态的终端中确定目标终端。
呼叫单元1206,用于向目标终端发起呼叫。
可选的,目标终端确定单元1205具体用于:将位于目标区域内、处于在线状态,且与目标图像采集装置的地理位置的距离在预设距离范围内终端确定为目标终端。预设距离范围可以由调度人员根据具体情况进行调整。
需要说明的是,目标图像获取单元1201、目标标记点确定单元1202、水平偏角确定单元1203的具体实现,可以参见前文中的记载,这里不再进行赘述。
本申请还公开一种电子设备。
参见图13,图13为本申请公开的一种电子设备的硬件结构图。该电子设备包括处理器1301和存储器1302。
可选的,该终端还可以包括:通信接口1303、输入单元1304、显示器1305和通信总线1306。其中,处理器1301、存储器1302、通信接口1303、输入单元1304、显示器1305均通过通信总线1306完成相互间的通信。
处理器1301,用于调用并执行存储器1302中存储的程序。
存储器1302,用于存放一个或者一个以上程序,程序可以包括程序代码,所述程序代码包括计算机操作指令。在本申请实施例中,该存储器中至少存储有用于实现以下功能的程序:
获得目标图像;从目标图像中确定出目标标记点,目标标记点为目标图像中的目标通话对象对应的标记点;根据目标标记点在目标图像中的位置、目标图像采集装置的设备参数、以及目标图像采集装置的安装参数,确定目标标记点与目标图像采集装置的相对位置关系,其中,目标图像采集装置为生成目标 图像的图像采集装置;基于目标图像采集装置的地理位置和相对位置关系,确定目标标记点的地理位置;根据目标标记点的地理位置确定目标终端;向目标终端发起呼叫。
或者,
获得目标图像;从目标图像中确定出目标标记点,目标标记点为目标图像中的目标通话对象对应的标记点;根据目标标记点在目标图像中的位置、以及目标图像采集装置的设备参数,确定目标标记点相对于目标图像采集装置的水平偏角,其中,目标图像采集装置为生成目标图像的图像采集装置;基于目标标记点相对于目标图像采集装置的水平偏角、目标图像采集装置的主轴方向和预设的偏转角度确定目标区域;从位于目标区域内,且处于在线状态的终端中确定目标终端;向目标终端发起呼叫。
本申请还公开一种电子设备可执行的存储介质,该存储介质中存储有程序,该程序由电子设备的处理器加载并执行时,使得电子设备实现本申请上述公开的任意一种呼叫终端的方法。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置、电子设备而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (12)

  1. 一种呼叫终端的方法,其特征在于,包括:
    获得目标图像;
    从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
    根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
    基于所述目标图像采集装置的地理位置和所述相对位置关系,确定所述目标标记点的地理位置;
    根据所述目标标记点的地理位置确定目标终端;
    向所述目标终端发起呼叫。
  2. 根据权利要求1所述的方法,其特征在于,所述从所述目标图像中确定出目标标记点,包括:
    对所述目标图像进行目标检测,以获得所述目标图像中类别为人的对象所在区域的边框;
    将获得的边框中距离点击位置最近的边框的标记点确定为目标标记点。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,包括:
    根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平距离和水平偏角;
    根据所述水平距离和所述水平偏角确定所述目标标记点在以所述目标图像采集装置为原点的极坐标系中的位置。
  4. 根据权利要求3所述的方法,其特征在于,根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平距离,包括:
    根据所述目标标记点在所述目标图像中的纵坐标位置、所述目标图像采集装置的垂直视场角和所述目标图像的高度,确定所述目标标记点相对于所述目标图像采集装置的垂直偏角;
    根据所述目标标记点相对于所述目标图像采集装置的垂直偏角、所述目标图像采集装置的垂直偏转角、以及所述目标图像采集装置的安装高度,确定所述目标标记点相对于所述目标图像采集装置的水平距离。
  5. 根据权利要求3所述的方法,其特征在于,根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,包括:
    根据所述目标标记点在所述目标图像中的横坐标位置、所述目标图像采集装置的水平视场角和所述目标图像的宽度,确定所述目标标记点相对于所述目标图像采集装置的水平偏角。
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述目标标记点的地理位置确定目标终端,包括:
    从处于在线状态的终端中,查找距离所述目标标记点的地理位置最近的终端,将距离所述目标标记点的地理位置最近的终端确定为目标终端。
  7. 根据权利要求1所述的方法,其特征在于,所述获得目标图像,包括:
    在播放视频过程中,当接收到指示暂停播放的输入操作时,获得暂停时刻的图像作为目标图像。
  8. 一种呼叫终端的方法,其特征在于,包括:
    获得目标图像;
    从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
    根据所述目标标记点在所述目标图像中的位置、以及目标图像采集装置的设备参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
    基于所述目标标记点相对于所述目标图像采集装置的水平偏角、所述目标图像采集装置的主轴方向和预设的偏转角度确定目标区域;
    从位于所述目标区域内,且处于在线状态的终端中确定目标终端;
    向所述目标终端发起呼叫。
  9. 一种呼叫终端的装置,其特征在于,包括:
    目标图像获取单元,用于获得目标图像;
    目标标记点确定单元,用于从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
    相对位置确定单元,用于根据所述目标标记点在所述目标图像中的位置、目标图像采集装置的设备参数、以及所述目标图像采集装置的安装参数,确定所述目标标记点与所述目标图像采集装置的相对位置关系,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
    地理位置确定单元,用于基于所述目标图像采集装置的地理位置和所述相对位置关系,确定所述目标标记点的地理位置;
    目标终端确定单元,用于根据所述目标标记点的地理位置确定目标终端;
    呼叫单元,用于向所述目标终端发起呼叫。
  10. 一种呼叫终端的装置,其特征在于,包括:
    目标图像获取单元,用于获得目标图像;
    目标标记点确定单元,用于从所述目标图像中确定出目标标记点,所述目标标记点为所述目标图像中的目标通话对象对应的标记点;
    水平偏角确定单元,用于根据所述目标标记点在所述目标图像中的位置、以及目标图像采集装置的设备参数,确定所述目标标记点相对于所述目标图像采集装置的水平偏角,其中,所述目标图像采集装置为生成所述目标图像的图像采集装置;
    目标区域确定单元,用于基于所述目标标记点相对于所述目标图像采集装 置的水平偏角、所述目标图像采集装置的主轴方向和预设的偏转角度确定目标区域;
    目标终端确定单元,用于从位于所述目标区域内,且处于在线状态的终端中确定目标终端;
    呼叫单元,用于向所述目标终端发起呼叫。
  11. 一种电子设备,其特征在于,包括处理器和存储器;
    所述存储器用于存储程序;
    所述处理器用于调用并执行所述存储器中存储的程序,以执行如上述权利要求1至8中任一项所述的方法。
  12. 一种存储介质,其特征在于,所述存储介质中存储有程序,所述程序由电子设备中的处理器加载并执行时,实现如上述权利要求1至8中任一项所述的方法。
PCT/CN2020/110525 2020-08-21 2020-08-21 呼叫终端的方法、装置、电子设备及存储介质 Ceased WO2022036693A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/110525 WO2022036693A1 (zh) 2020-08-21 2020-08-21 呼叫终端的方法、装置、电子设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/110525 WO2022036693A1 (zh) 2020-08-21 2020-08-21 呼叫终端的方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022036693A1 true WO2022036693A1 (zh) 2022-02-24

Family

ID=80322507

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110525 Ceased WO2022036693A1 (zh) 2020-08-21 2020-08-21 呼叫终端的方法、装置、电子设备及存储介质

Country Status (1)

Country Link
WO (1) WO2022036693A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115393778A (zh) * 2022-10-28 2022-11-25 泰和智能(山东)有限公司 基于视频监控实现生产人员定位的方法及其视频监控系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013032041A1 (ko) * 2011-08-26 2013-03-07 Ryoo Min-Kyu 이동통신 단말기를 이용한 거리, 높이, 길이 측정 방법
CN105588543A (zh) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 一种基于摄像头实现定位的方法、装置及定位系统
CN107222712A (zh) * 2017-01-01 2017-09-29 何顺兰 警用指挥调度系统及调度方法
CN207354486U (zh) * 2017-01-01 2018-05-11 浙江元亨通信技术股份有限公司 警用指挥调度系统
CN109743548A (zh) * 2018-12-28 2019-05-10 广州敦和信息技术有限公司 公安用指挥作战平台
CN110132274A (zh) * 2019-04-26 2019-08-16 中国铁道科学研究院集团有限公司电子计算技术研究所 一种室内定位方法、装置、计算机设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013032041A1 (ko) * 2011-08-26 2013-03-07 Ryoo Min-Kyu 이동통신 단말기를 이용한 거리, 높이, 길이 측정 방법
CN105588543A (zh) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 一种基于摄像头实现定位的方法、装置及定位系统
CN107222712A (zh) * 2017-01-01 2017-09-29 何顺兰 警用指挥调度系统及调度方法
CN207354486U (zh) * 2017-01-01 2018-05-11 浙江元亨通信技术股份有限公司 警用指挥调度系统
CN109743548A (zh) * 2018-12-28 2019-05-10 广州敦和信息技术有限公司 公安用指挥作战平台
CN110132274A (zh) * 2019-04-26 2019-08-16 中国铁道科学研究院集团有限公司电子计算技术研究所 一种室内定位方法、装置、计算机设备及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115393778A (zh) * 2022-10-28 2022-11-25 泰和智能(山东)有限公司 基于视频监控实现生产人员定位的方法及其视频监控系统
CN115393778B (zh) * 2022-10-28 2023-03-14 泰和智能(山东)有限公司 基于视频监控实现生产人员定位的方法及其视频监控系统

Similar Documents

Publication Publication Date Title
US10210728B2 (en) Method, server, system, and image capturing device for surveillance
KR101786583B1 (ko) 교통 영상을 제공하는 장치
CN113115000B (zh) 地图生成方法及装置、电子设备和存储介质
US20080147730A1 (en) Method and system for providing location-specific image information
JP5577318B2 (ja) 位置情報提供方法及び位置情報提供システム
US9843611B2 (en) Incident data collection for public protection agencies
CN103051705A (zh) 目标人的确定方法、装置及移动终端
WO2014082407A1 (zh) 一种视频监控图像的显示方法及系统
CN101883266B (zh) 一种监控终端、视频监控中的场景切换方法及系统
CN104835016A (zh) 一种人群密度计算方法及装置
CN104661300B (zh) 定位方法、装置、系统及移动终端
WO2017133147A1 (zh) 一种实景地图的生成方法、推送方法及其装置
CN110457571B (zh) 获取兴趣点信息的方法、装置、设备及存储介质
CN104298965A (zh) 一种面向移动终端的旅游景点及景物智能识别系统及方法
CN112149659A (zh) 定位方法及装置、电子设备和存储介质
CN109388722B (zh) 一种用于添加或查找社交联系人的方法与设备
RU2616592C2 (ru) Способ и устройство для определения местоположения
CN107193820B (zh) 位置信息获取方法、装置及设备
WO2022036693A1 (zh) 呼叫终端的方法、装置、电子设备及存储介质
CN117115244B (zh) 云端重定位方法、装置及存储介质
CN114079696B (zh) 呼叫终端的方法、装置及电子设备
US9730009B1 (en) Sparse Wi-Fi access point database for mobile devices
CN112804481B (zh) 监控点位置的确定方法、装置及计算机存储介质
CN103188608A (zh) 基于用户位置的彩像图片生成方法、装置及系统
CN111369751A (zh) 一种目标布控方法、装置、服务器及布控系统

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: 20949901

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: 20949901

Country of ref document: EP

Kind code of ref document: A1