Monitoring image data processing method, terminal device and storage medium
By performing human body detection on surveillance image data and outputting prompt information, the problem of low efficiency of traditional surveillance systems is solved, real-time supervision and safety monitoring are achieved, and construction management efficiency and safety during house maintenance are improved.
Patent Information
- Application Number
- CN202011229121.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-11-05
AI Technical Summary
Traditional monitoring systems require users to continuously observe monitoring image data for a long time, resulting in low monitoring efficiency. Especially in house maintenance scenarios, it is difficult for owners to supervise construction workers in real time, resulting in delayed construction progress and difficulty in detecting safety risks in time.
By acquiring monitoring image data, including image data in maintenance areas and other areas, human body detection is performed, and prompt information is output based on the detection results, such as construction progress delays or risk warnings, reducing the user's monitoring time.
The monitoring efficiency is improved, so that users do not need to pay attention to the monitoring image data for a long time, and can keep abreast of the construction progress and safety conditions, ensuring that construction personnel work in the maintenance area and reducing safety risks.
Smart Images

Figure CN112364752B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building quality detection, and in particular to a monitoring image data processing method, a terminal device and a computer-readable storage medium. Background Art
[0002] In traditional monitoring systems, only the monitoring image data in the monitoring area can be sent to the target terminal. Users still need to continuously observe and monitor to discover risks in the monitoring area. This leads to certain limitations in traditional monitoring solutions. For example, when applied to house maintenance scenarios, if the maintenance time is too long and the owner does not supervise the construction workers to perform maintenance at any time, the construction workers can only be supervised through monitoring. However, long-term observation and monitoring still takes time. This leads to certain limitations in existing monitoring solutions, resulting in the disadvantage of reduced monitoring efficiency.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a monitoring image data processing method, a terminal device and a computer-readable storage medium, aiming to achieve the effect of improving monitoring efficiency.
[0005] To achieve the above object, the present invention provides a monitoring image data processing method, the monitoring image data processing method comprising the following steps:
[0006] Acquiring monitoring image data, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area;
[0007] Based on the first monitoring image data and the second monitoring image data, performing human body detection on the maintenance area and the other areas;
[0008] Output prompt information according to the human body detection results.
[0009] Optionally, the human body detection result includes a first detection result corresponding to the maintenance area and a second detection result corresponding to the other areas; the first detection result includes the presence or absence of a human body in the maintenance area, and the second detection result includes the presence or absence of a human body in the other areas.
[0010] Optionally, the step of outputting prompt information according to the human body detection result includes:
[0011] Outputting first prompt information according to the first detection result; and / or
[0012] Output second prompt information according to the second detection result.
[0013] Optionally, the step of outputting first prompt information according to the first detection result includes:
[0014] When there is no human body in the maintenance area, obtaining the current time;
[0015] When the current time is in the construction period, a prompt message indicating that the construction progress is delayed is output.
[0016] Optionally, the step of outputting second prompt information according to the second detection result includes:
[0017] When a human body exists in the other area, a risk warning prompt is output.
[0018] Optionally, the step of outputting second prompt information according to the second detection result includes:
[0019] When a human body exists in the other area, acquiring biological features corresponding to the human body in the other area based on the second monitoring image data;
[0020] Determining whether the human body is an illegal user according to the biometric feature;
[0021] When the human body is an illegal user, a risk warning prompt is output.
[0022] Optionally, after the step of determining whether the human body is an illegal user according to the biometric feature, the method further includes:
[0023] When the human body is a legitimate user, obtaining the current number of human bodies in the other areas;
[0024] When the current human body data is detected to be increased, acquiring the biological features corresponding to the newly added human body in the other area based on the second monitoring image data;
[0025] After the biometric feature corresponding to the newly added human body is acquired, the step of determining whether the human body is an illegal user according to the biometric feature is performed.
[0026] Optionally, the human body features include facial features, body shape features and / or gait features.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes a memory, a processor, and a monitoring image data processing program stored in the memory and executable on the processor, and the monitoring image data processing program, when executed by the processor, implements the steps of the monitoring image data processing method as described above.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a monitoring image data processing program is stored, and when the monitoring image data processing program is executed by a processor, the steps of the monitoring image data processing method as described above are implemented.
[0029] The embodiment of the present invention proposes a monitoring image data processing method, terminal device and computer-readable storage medium, which first obtains monitoring image data, wherein the monitoring image data includes first monitoring image data corresponding to a maintenance area and second monitoring image data corresponding to other areas outside the maintenance area, and then performs human body detection on the maintenance area and other areas based on the first monitoring image data and the second monitoring image data, and then outputs prompt information according to the human body detection result, so that the user can determine the time to watch the monitoring image data according to the prompt information, without having to pay attention to the monitoring image data for a long time. Thereby achieving the purpose of improving monitoring efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0031] Figure 2 The figure is a flow chart of an embodiment of a monitoring image data processing method of the present invention.
[0032] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0033] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0034] Since the traditional monitoring system can only send the monitoring image data in the monitoring area to the target terminal, users still need to continuously observe and monitor to find risks in the monitoring area. This leads to certain limitations in traditional monitoring solutions. For example, when applied to house maintenance scenarios, if the maintenance time is too long and the owner does not supervise the construction workers to perform maintenance at any time, the construction workers can only be supervised through monitoring. However, long-term observation and monitoring still takes time. This leads to certain limitations in existing monitoring solutions, resulting in the disadvantage of reduced monitoring efficiency.
[0035] In order to solve the above-mentioned defects of the related art, an embodiment of the present invention proposes a monitoring image data processing method, and its main solution includes the following steps:
[0036] Acquiring monitoring image data, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area;
[0037] Based on the first monitoring image data and the second monitoring image data, performing human body detection on the maintenance area and the other areas;
[0038] Output prompt information according to the human body detection results.
[0039] In this way, the user can determine the timing of viewing the monitoring image data according to the prompt information, without having to continuously pay attention to the monitoring image data for a long time, thereby achieving the purpose of improving monitoring efficiency.
[0040] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0041] The terminal in the embodiment of the present invention may be a terminal device such as a smart phone, a PC or a server.
[0042] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), a mouse, etc., and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0043] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0044] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a monitoring image data processing program.
[0045] exist Figure 1In the terminal shown, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the processor 1001 can be used to call the monitoring image data processing program stored in the memory 1005 and perform the following operations:
[0046] Acquiring monitoring image data, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area;
[0047] Based on the first monitoring image data and the second monitoring image data, performing human body detection on the maintenance area and the other areas;
[0048] Output prompt information according to the human body detection results.
[0049] Further, the processor 1001 may call the monitoring image data processing program stored in the memory 1005, and further perform the following operations:
[0050] Outputting first prompt information according to the first detection result; and / or
[0051] Output second prompt information according to the second detection result.
[0052] Further, the processor 1001 may call the monitoring image data processing program stored in the memory 1005, and further perform the following operations:
[0053] When there is no human body in the maintenance area, obtaining the current time;
[0054] When the current time is in the construction period, a prompt message indicating that the construction progress is delayed is output.
[0055] Further, the processor 1001 may call the monitoring image data processing program stored in the memory 1005, and further perform the following operations:
[0056] When a human body exists in the other area, a risk warning prompt is output.
[0057] Further, the processor 1001 may call the monitoring image data processing program stored in the memory 1005, and further perform the following operations:
[0058] When a human body exists in the other area, acquiring biological features corresponding to the human body in the other area based on the second monitoring image data;
[0059] Determining whether the human body is an illegal user according to the biometric feature;
[0060] When the human body is an illegal user, a risk warning prompt is output.
[0061] Further, the processor 1001 may call the monitoring image data processing program stored in the memory 1005, and further perform the following operations:
[0062] When the human body is a legitimate user, obtaining the current number of human bodies in the other areas;
[0063] When the current human body data is detected to be increased, acquiring the biological features corresponding to the newly added human body in the other area based on the second monitoring image data;
[0064] After the biometric feature corresponding to the newly added human body is acquired, the step of determining whether the human body is an illegal user according to the biometric feature is performed.
[0065] Reference Figure 2 In one embodiment of the monitoring image data processing method of the present invention, the monitoring image data processing method comprises the following steps:
[0066] Step S10, acquiring monitoring image data, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area;
[0067] In this embodiment, a camera device is installed in a user's residence or other buildings, wherein the camera device may be a monitoring camera, etc., so that monitoring image data corresponding to the building can be obtained based on the camera device.
[0068] It is understandable that the camera device is also provided with a network interface, so that the monitoring image data captured by the camera device can be transmitted to the data processing terminal through the network interface. The data processing terminal can be a server, a mobile phone and / or a PC, etc. When the data processing terminal is a server, the server can also be connected to a user terminal, so that the user can view the monitoring image data through the interactive interface of the user terminal. When the data processing terminal is a mobile phone and / or a PC, it can directly use itself as the user terminal.
[0069] When a user needs to repair or partially renovate a building, a maintenance area can be set through the user terminal. When setting the maintenance area, the user can directly select a frame in the monitoring image data based on the monitoring image data displayed by the user terminal, through a preset fixed graphic, or a user-defined graphic. The selected area is used as the maintenance area. Alternatively, when the monitoring image data is displayed based on the layout of the house. For example, one picture of the living room, one picture of the kitchen, and one picture of the bedroom. The user can also directly set the area as the maintenance area through different areas.
[0070] Therefore, after the user selects a maintenance area, when a monitoring image data is received, the monitoring image data can be divided into first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area according to the user setting.
[0071] To better explain the present application, an application scenario is given here: when the user only needs to repair the kitchen, but the user does not have time to supervise the repair progress of the construction personnel at home, the user can monitor through the monitoring image data. For the safety of their own property, the user expects the maintenance construction personnel to stay only in the maintenance area, such as the kitchen that needs repair. Therefore, it is necessary to determine whether the maintenance personnel leave the kitchen and enter other areas of the room based on the monitoring data. When the WeChat personnel enter other areas, the user needs to promptly advise them to return to the maintenance area and leave other areas. However, this requires the user to pay attention to the monitoring image data at all times, which results in the need to consume a lot of user time. In this application scenario, the method recorded in this application can be applied.
[0072] Step S20: performing human body detection on the maintenance area and the other areas based on the first monitoring image data and the second monitoring image data;
[0073] In this embodiment, human body detection is performed on the maintenance area and the other areas based on the first monitoring image data and the second monitoring image data.
[0074] Specifically, the first monitoring image data and the second monitoring image data can be analyzed based on the image analysis function of the local image analysis module, or based on the cloud data processing function by calling an API. The analysis content includes detecting whether there is a human body in the first monitoring image data and the second monitoring image data, so as to determine whether there is a human body in the maintenance area and whether there is a human body in other areas.
[0075] Step S30: output prompt information according to the human body detection result.
[0076] In this embodiment, prompt information can be output based on the human body detection result, wherein the human body detection result includes a first detection result corresponding to the maintenance area and a second detection result corresponding to the other area; the first detection result includes the presence or absence of a human body in the maintenance area, and the second detection result includes the presence or absence of a human body in the other area.
[0077] Furthermore, first prompt information may be output according to the first detection result; and / or second prompt information may be output according to the second detection result.
[0078] As a first implementation manner, when there is no human body in the maintenance area, the current time is acquired, and when the current time is in the construction period, a prompt message that the construction progress is delayed is output.
[0079] Specifically, when there is no human body in the maintenance area, the current time can be obtained, wherein the current time can be obtained according to a local clock or a network clock.
[0080] It is understandable that after the user turns on the construction supervision function, the construction period can be customized. Alternatively, after the user starts the construction supervision mode, the system automatically obtains the preset time as the construction period. For example, the two periods of 9:00-12:00 and 14:00-18:00 can be set as the construction period. If there is no human body in the construction area when the current time is in the construction period, it means that the construction personnel did not enter the construction site during the construction period, which may cause the construction progress to be delayed. At this time, a prompt message that the construction progress is delayed can be output through the user end. When the user receives this information, he can first determine whether the construction personnel are working by checking the monitoring image data. Or directly notify the construction personnel by phone or other means to quickly enter the construction state.
[0081] As a second implementation manner, when a human body exists in the other area, a risk warning prompt is output.
[0082] When only part of the user's home needs to be repaired, it is expected that the construction personnel will only be in the maintenance area and not enter other areas. For example, when repairing the kitchen sewer, it is expected that the construction personnel will only be active in the kitchen and not enter private areas such as bedrooms. Therefore, when a human body is detected in areas other than the maintenance area specified by the user, it is determined that there is a risk. That is, the maintenance personnel may have mistakenly entered a private area that the user does not want them to enter. Then the camera device can be directly controlled to issue a warning to warn the maintenance personnel to leave the area. Or a prompt can be issued to the user to remind the user that someone has entered other areas.
[0083] As a third implementation method, when there is a human body in the other area, the biological features corresponding to the human body in the other area are obtained based on the second monitoring image data, and it is determined whether the human body is an illegal user according to the biological features. If the human body is an illegal user, a risk warning prompt is output.
[0084] It should be noted that the human features include facial features, body features and / or gait features. Users can register as family members or other trusted users. This allows the biometric features corresponding to registered persons to be pre-saved. When a biometric feature is acquired, the degree of match between the biometric feature and the pre-stored biometric feature can be compared first. When the degree of match between the currently acquired biometric feature and at least one pre-stored biometric feature is greater than a preset threshold, the user corresponding to the biometric feature is determined to be a legitimate user. Otherwise, it is determined to be an illegal user.
[0085] As a fourth implementation scheme, when the human body is a legitimate user, the current number of human bodies in the other areas is obtained, and when an increase in the current human body data is monitored, the biometric features corresponding to the newly added human bodies in the other areas are obtained based on the second monitoring image data, and after the biometric features corresponding to the newly added human bodies are obtained, the step of determining whether the human body is an illegal user based on the biometric features is performed.
[0086] Optionally, when the first human body enters other areas, the third implementation scheme is executed. Further, after determining that the currently entered human body is a legitimate user, the number of human bodies in other areas can also be monitored at all times. And save it as the current number of human bodies n. Further, after detecting that a human body leaves the other area, the current number of human bodies is updated to n-1. When the number of human bodies is detected to increase, the biometric characteristics corresponding to the currently added person can be obtained, and it can be determined whether the human body is an illegal user based on the biometric characteristics. If it is an illegal user, a risk warning prompt is output. Otherwise, the current number of human bodies is updated to n+1. And continue to monitor whether it increases.
[0087] In the technical solution disclosed in this embodiment, monitoring image data is first obtained, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area, and then human body detection is performed on the maintenance area and other areas based on the first monitoring image data and the second monitoring image data, and prompt information is output according to the human body detection result, so that the user can determine the timing of watching the monitoring image data according to the prompt information, without having to pay attention to the monitoring image data for a long time. Thus, the purpose of improving monitoring efficiency is achieved.
[0088] In addition, an embodiment of the present invention also proposes a terminal device, which includes a memory, a processor, and a monitoring image data processing program stored in the memory and executable on the processor, and when the monitoring image data processing program is executed by the processor, the steps of the monitoring image data processing method described in the above embodiments are implemented.
[0089] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a monitoring image data processing program is stored. When the monitoring image data processing program is executed by a processor, the steps of the monitoring image data processing method described in the above embodiments are implemented.
[0090] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0091] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for enabling a terminal device (which can be a smart phone, a PC or a server, etc.) to execute the methods described in each embodiment of the present invention.
[0093] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A monitoring image data processing method, It is characterized in that The monitoring image data processing method comprises the following steps: Acquire monitoring image data, determine an area selected by a user in the monitoring image data, and use the area as a maintenance area, wherein the monitoring image data includes first monitoring image data corresponding to the maintenance area and second monitoring image data corresponding to other areas outside the maintenance area; Based on the first monitoring image data and the second monitoring image data, performing human body detection on the maintenance area and the other areas, wherein the human body detection result includes a first detection result corresponding to the maintenance area and a second detection result corresponding to the other areas; When the first detection result is that there is no human body in the maintenance area, the current time is obtained, and when the current time is in the construction period, the first prompt information is output, where the first prompt information is a prompt information that the construction progress is delayed; When it is detected that the number of current human bodies in the other area increases, acquiring biological features corresponding to the newly added human bodies in the other area based on the second monitoring image data; Determine whether the human body is an illegal user based on the biometric feature, update the current human body quantity when the human body is a legal user, and output a second prompt message when the human body is an illegal user, wherein the second prompt message is a risk warning prompt.
2. The monitoring image data processing method according to claim 1, It is characterized in that The first detection result includes whether a human body exists in the maintenance area or not, and the second detection result includes whether a human body exists in the other area or not.
3. The monitoring image data processing method according to claim 1, It is characterized in that After the step of performing human body detection on the maintenance area and the other areas, the method further includes: When a human body exists in the other area, a risk warning prompt is output.
4. The monitoring image data processing method according to claim 1, It is characterized in that Before the step of acquiring the biological features corresponding to the newly added human bodies in the other areas based on the second monitoring image data when the number of current human bodies in the other areas is detected to increase, the method further includes: When a human body exists in the other area, acquiring biological features corresponding to the human body in the other area based on the second monitoring image data; Determining whether the human body is an illegal user according to the biometric feature; When the human body is an illegal user, a risk warning prompt is output.
5. The monitoring image data processing method according to claim 1, It is characterized in that The biometric features include facial features, body features and / or gait features.
6. A terminal device, It is characterized in that The terminal device includes: a memory, a processor, and a monitoring image data processing program stored in the memory and executable on the processor. When the monitoring image data processing program is executed by the processor, the steps of the monitoring image data processing method according to any one of claims 1 to 5 are implemented.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a monitoring image data processing program, and when the monitoring image data processing program is executed by a processor, the steps of the monitoring image data processing method according to any one of claims 1 to 5 are implemented.
