CN114022664B - Cleanliness monitoring method, device and system suitable for electronic indicator - Google Patents

Cleanliness monitoring method, device and system suitable for electronic indicator Download PDF

Info

Publication number
CN114022664B
CN114022664B CN202210008448.2A CN202210008448A CN114022664B CN 114022664 B CN114022664 B CN 114022664B CN 202210008448 A CN202210008448 A CN 202210008448A CN 114022664 B CN114022664 B CN 114022664B
Authority
CN
China
Prior art keywords
cleaning
preset
image
value
interval
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.)
Expired - Fee Related
Application number
CN202210008448.2A
Other languages
Chinese (zh)
Other versions
CN114022664A (en
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.)
Nanjing Lujiantong Engineering Technology Co ltd
China Design Group Co Ltd
Original Assignee
Nanjing Lujiantong Engineering Technology Co ltd
China Design Group Co 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 Nanjing Lujiantong Engineering Technology Co ltd, China Design Group Co Ltd filed Critical Nanjing Lujiantong Engineering Technology Co ltd
Priority to CN202210008448.2A priority Critical patent/CN114022664B/en
Publication of CN114022664A publication Critical patent/CN114022664A/en
Application granted granted Critical
Publication of CN114022664B publication Critical patent/CN114022664B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements

Abstract

The invention provides a cleanliness monitoring method, a cleanliness monitoring device and a cleanliness monitoring system suitable for an electronic signboard, wherein the cleanliness monitoring method, the cleanliness monitoring device and the cleanliness monitoring system comprise: collecting current images of electronic signs in a plurality of different sections in a target area, and classifying the current images of the electronic signs in the same section into the same section set; comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set; obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set; and if the second cleanliness monitoring coefficient is judged to be larger than or equal to a first overall preset value, outputting a first cleaning prompt for cleaning all electronic signs in the target area. The invention can monitor the cleanliness of the electronic indicator in the target area and output a corresponding cleaning scheme.

Description

Cleanliness monitoring method, device and system suitable for electronic indicator
Technical Field
The invention relates to the technical field of electronic signs, in particular to a cleanliness monitoring method, a cleanliness monitoring device and a cleanliness monitoring system suitable for electronic signs.
Background
China has a plurality of cities with good landscapes, such as the Lasa city and the like. The Lhasa city has unique natural environment, geographical position and monopolized tourism resources, the number of people for reception of tourism and the total income of the tourism are kept to be increased rapidly in recent years, and the development of the tourism industry has a great driving effect on the economic development of the Lhasa city. The sign board such as the tourist sign is used as a carrier for serving the development of the tourist industry, and the service level and the image of the tourist industry are shown, so that the uniform, standard, integrated and clear tourist sign is very urgent for better serving the development of the tourist industry.
When tourists travel, most of the tourists rely on navigation software to navigate roads, but the navigation software cannot inform scenic spots nearby of the tourists with tendentiousness, and the electronic signboards are arranged at the roads and can feed back scenic spot information nearby to vehicles and pedestrians on the roads. Because the lasa is too much strong wind in the drought in each october to next april, the rainwater is less, it is more extremely easy to cause the attached filth in electron sign place, cause the sign can't carry out effectual demonstration, so need regularly monitor the cleanliness of electron sign, only rely on artificial judgement when the cleanliness of carrying out the electron sign is judged at present, decision maker thinks to have cleaned the electron sign and carry out cleaning treatment promptly, because the electron sign is wider in an area distribution's interval, decision maker can't consider the cleanliness of the electron sign in the interval of the large part of comprehensive consideration, can cause to be more complete with the trend, and lead to the condition before the clean delay of electron sign or clean, can't confirm the accurate clean time to the electron sign promptly.
Disclosure of Invention
The embodiment of the invention provides a cleanliness monitoring method, a cleanliness monitoring device and a cleanliness monitoring system suitable for electronic signs, which can be used for sampling and monitoring the electronic signs in different regions in a target area, and making a cleaning strategy by comprehensively considering the cleaning degrees of the electronic signs in different regions in the target area, so that the cleanliness monitoring method, the cleanliness monitoring device and the cleanliness monitoring system can better meet the cleaning requirements of the electronic signs in the target area when the electronic signs are cleaned.
In a first aspect of the embodiments of the present invention, a cleanliness monitoring method suitable for an electronic signboard is provided, including:
collecting current images of electronic signs in a plurality of different sections in a target area, and classifying the current images of the electronic signs in the same section into the same section set;
comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image;
obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set;
if the second cleanliness monitoring coefficient is judged to be larger than or equal to a first overall preset value, outputting a first cleaning prompt for cleaning all electronic indication boards in the target area;
and judging that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with a first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all electronic signs in the corresponding interval based on the selected interval set.
Optionally, in a possible implementation manner of the first aspect, the acquiring current images of electronic signs in a plurality of different regions in a target area, and classifying the current images of electronic signs in the same region into the same region set includes:
acquiring a current image of the electronic indicator through image acquisition devices which are arranged at the electronic indicator in advance, wherein each image acquisition device has address information;
marking the current image acquired by the image acquisition device based on the address information of the image acquisition device;
and classifying the current images corresponding to all the address information in the same regional fence into the same interval set.
Optionally, in a possible implementation manner of the first aspect, comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, where each current image has a corresponding preset image and includes:
obtaining each pixel point in current image
Figure 820370DEST_PATH_IMAGE001
Component values,
Figure 675193DEST_PATH_IMAGE002
Component values and
Figure 658193DEST_PATH_IMAGE003
a component value;
obtaining each pixel point in preset image
Figure 522244DEST_PATH_IMAGE001
Component values,
Figure 38413DEST_PATH_IMAGE004
Component values and
Figure 329718DEST_PATH_IMAGE005
a component value;
comparing the pixel points in the current image and the preset image by the following formula to obtain the difference value between the current image and the preset image,
Figure 65592DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure 733334DEST_PATH_IMAGE007
is as follows
Figure 605475DEST_PATH_IMAGE008
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 802101DEST_PATH_IMAGE009
is the first in the current image
Figure 523807DEST_PATH_IMAGE010
Of a pixel
Figure 729661DEST_PATH_IMAGE011
The values of the components are such that,
Figure 456308DEST_PATH_IMAGE012
is the first in the preset image
Figure 89415DEST_PATH_IMAGE013
Of a pixel
Figure 799882DEST_PATH_IMAGE014
The values of the components are such that,
Figure 543847DEST_PATH_IMAGE015
is the first in the current image
Figure 656160DEST_PATH_IMAGE010
Of a pixel
Figure 958703DEST_PATH_IMAGE016
The values of the components are such that,
Figure 156466DEST_PATH_IMAGE017
is the first in the preset image
Figure 704122DEST_PATH_IMAGE010
Of a pixel
Figure 405362DEST_PATH_IMAGE016
The values of the components are such that,
Figure 645850DEST_PATH_IMAGE018
is the first in the current image
Figure 65330DEST_PATH_IMAGE010
Of a pixel
Figure 416677DEST_PATH_IMAGE019
The values of the components are such that,
Figure 238002DEST_PATH_IMAGE020
is the first in the preset image
Figure 899926DEST_PATH_IMAGE010
Of a pixel
Figure 806702DEST_PATH_IMAGE021
The values of the components are such that,
Figure 430582DEST_PATH_IMAGE022
is a preset first conversion value;
obtaining difference values corresponding to all current images in each interval set respectively, obtaining a first cleanliness monitoring coefficient through the following formula,
Figure 371993DEST_PATH_IMAGE023
wherein the content of the first and second substances,
Figure 954284DEST_PATH_IMAGE024
is as follows
Figure 82777DEST_PATH_IMAGE025
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 274462DEST_PATH_IMAGE026
is as follows
Figure 804800DEST_PATH_IMAGE025
The first in the set of intervals
Figure 557993DEST_PATH_IMAGE027
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 173782DEST_PATH_IMAGE028
is as follows
Figure 405043DEST_PATH_IMAGE025
The total number of all current images in the interval set,
Figure 55467DEST_PATH_IMAGE029
is an image weight value.
Optionally, in a possible implementation manner of the first aspect, obtaining first cleaning weights corresponding to different intervals according to position information of the different intervals, and generating a second cleaning degree monitoring coefficient based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weight corresponding to each interval set includes:
acquiring position information of each interval, and comparing the position information with a preset weight corresponding table to obtain a first cleaning weight corresponding to each interval, wherein the weight corresponding table is preset with a corresponding relation between each position information and the weight;
the second cleanliness monitoring coefficient is obtained by the following formula,
Figure 713982DEST_PATH_IMAGE030
wherein the content of the first and second substances,
Figure 315602DEST_PATH_IMAGE031
for the purpose of the second cleanliness monitoring coefficient,
Figure 350554DEST_PATH_IMAGE032
is as follows
Figure 121064DEST_PATH_IMAGE033
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 950480DEST_PATH_IMAGE034
is as follows
Figure 806440DEST_PATH_IMAGE035
The first cleaning weight corresponding to each interval,
Figure 379504DEST_PATH_IMAGE036
for the total number of the set of intervals,
Figure 738941DEST_PATH_IMAGE037
in order to be a normalized value of the value,
Figure 503373DEST_PATH_IMAGE038
is the first adjustment weight value.
Optionally, in a possible implementation manner of the first aspect, if it is determined that the second cleanliness monitoring coefficient is greater than or equal to a first overall preset value, outputting a first cleaning reminder for cleaning all electronic signs in the target area includes:
monitoring the second cleanliness
Figure 581050DEST_PATH_IMAGE039
With a preset first global preset value
Figure 957805DEST_PATH_IMAGE040
Comparing, if the second cleanliness monitoring coefficient
Figure 437328DEST_PATH_IMAGE039
Greater than or equal to a first overall preset value
Figure 874125DEST_PATH_IMAGE040
Outputting a first cleaning prompt for cleaning all electronic indicating boards in the target area;
acquiring a first moment of outputting a first cleaning prompt, and acquiring a first preset time period based on the first moment;
receiving cleaning data for input, and if the user is judged not to execute a first cleaning action within a first preset time period, adjusting a weight value for a first time
Figure 173519DEST_PATH_IMAGE041
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 353965DEST_PATH_IMAGE042
Optionally, in a possible implementation manner of the first aspect, cleaning data for input is received, and if it is determined that the user does not perform the first cleaning action within the first preset time period, the weight value is adjusted for the first adjustment
Figure 192389DEST_PATH_IMAGE041
The downward adjustment includes:
acquiring a cleaning action of the received cleaning data, and if the cleaning action is not judged within a first preset time period, not executing the first cleaning action by the user;
the first adjustment weight value is obtained by the following formula
Figure 800088DEST_PATH_IMAGE043
The adjustment is carried out downwards,
Figure 852357DEST_PATH_IMAGE044
wherein the content of the first and second substances,
Figure 305336DEST_PATH_IMAGE045
for the first adjusted weight value after the downward adjustment,
Figure 759451DEST_PATH_IMAGE046
is the first of the down-regulation weights,
Figure 272472DEST_PATH_IMAGE047
is a quantized value of a first preset time period,
Figure 546458DEST_PATH_IMAGE048
is the first time conversion value.
Optionally, in a possible implementation manner of the first aspect, the determining that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with the first interval preset value, selecting an interval set in which the first cleanliness monitoring coefficient is greater than the first interval preset value, and outputting a second cleaning reminder for cleaning all electronic signs in the corresponding interval based on the selected interval set includes:
if the second cleanliness monitoring coefficient is judged to be smaller than the first overall preset value, a first cleanliness monitoring coefficient corresponding to each interval set is obtained;
monitoring each first cleanliness factor
Figure 567241DEST_PATH_IMAGE049
And a first interval preset value
Figure 875863DEST_PATH_IMAGE050
Comparing, and selecting an interval set of which the first cleanliness monitoring coefficient is larger than a first interval preset value;
generating corresponding cleaning sub-information for each selected interval set, and counting all the cleaning sub-information to obtain a second cleaning prompt;
acquiring a second moment of outputting a second cleaning reminder, and acquiring a second preset time period based on the second moment;
receiving cleaning data for input, and if the user is judged not to implement the cleaning behavior corresponding to any cleaning sub-information in the second cleaning prompt within the second preset time period, acquiring the image weight value of the interval set corresponding to the cleaning sub-information which is not implemented
Figure 825364DEST_PATH_IMAGE051
For image weight value
Figure 321068DEST_PATH_IMAGE052
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 647007DEST_PATH_IMAGE053
Optionally, in a possible implementation manner of the first aspect, cleaning data used for input is received, and if it is determined that the user does not implement the cleaning behavior corresponding to any cleaning sub-information in the second cleaning reminder within the second preset time period, an image weight value of an interval set corresponding to the cleaning sub-information that is not implemented is obtained
Figure 810135DEST_PATH_IMAGE052
For image weight value
Figure 930538DEST_PATH_IMAGE052
Downwards adjusting to obtain adjusted image weight value
Figure 677652DEST_PATH_IMAGE054
The method comprises the following steps:
weighting an image by the following formula
Figure 541703DEST_PATH_IMAGE052
The adjustment is carried out downwards,
Figure 559337DEST_PATH_IMAGE055
wherein the content of the first and second substances,
Figure 850641DEST_PATH_IMAGE054
for the image weight values adjusted downward,
Figure 586516DEST_PATH_IMAGE056
for the second down-regulation of the weights,
Figure 254258DEST_PATH_IMAGE057
is the quantized value of the second preset time period,
Figure 860820DEST_PATH_IMAGE054
is the second time conversion value.
In a second aspect of the embodiments of the present invention, there is provided a cleanliness monitoring device suitable for an electronic signboard, including:
the acquisition module is used for acquiring current images of the electronic signs in a plurality of different sections in a target area and classifying the current images of the electronic signs in the same section into the same section set;
the comparison module is used for comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image;
the generating module is used for obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set;
the first output module is used for judging whether the second cleanliness monitoring coefficient is larger than or equal to a first overall preset value, and outputting a first cleaning prompt for cleaning all electronic signs in the target area;
and the second output module is used for judging that the second cleanliness monitoring coefficient is smaller than the first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with the first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all the electronic signs in the corresponding interval based on the selected interval set.
In a third aspect of the embodiments of the present invention, a cleanliness monitoring system suitable for an electronic signboard includes:
the image acquisition device is used for acquiring the current image of the electronic indicator;
and the server is connected with the image acquisition device and is used for receiving the current image and then realizing the method of the first aspect and various possible designs of the first aspect of the invention.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention when the computer program is executed by a processor.
According to the cleanliness monitoring method, the cleanliness monitoring device and the cleanliness monitoring system for the electronic signs, the current images of the electronic signs in different areas in a target area can be acquired, the cleanliness degrees of the electronic signs in the areas can be reflected through a plurality of different current images in the different areas, a corresponding first cleanliness monitoring coefficient can be obtained at the moment, and the first cleanliness monitoring coefficient can reflect the overall cleanliness degree of the electronic signs in the areas. According to the invention, the first cleanliness monitoring coefficients of all the intervals are comprehensively considered to obtain the second cleanliness monitoring coefficient, and the second cleanliness monitoring coefficient can reflect the integral cleaning degree of the electronic signboard in the target area. By the mode, whether the advertising board in the target area needs to be cleaned or not is judged, so that the number of the reference areas and the number of the reference advertising boards are large, the obtained second cleanliness monitoring coefficient is more accurate, and a decision maker is effectively reminded and assisted to clean the advertising board.
According to the technical scheme provided by the invention, the RGB values of the current image and the preset image are compared, and the current image and the preset image are compared
Figure 87139DEST_PATH_IMAGE058
Component values,
Figure 310310DEST_PATH_IMAGE059
Component values and
Figure 516164DEST_PATH_IMAGE060
the difference between the component values and the difference value obtain a difference value between each current image and the preset image, the difference between the current image and the preset image can be reflected through the difference value, if the difference value between the current image and the preset image is larger, the current image is more distorted relative to the preset image, the electronic indicator corresponding to the current image is not clear at the moment, and the difference degree and distortion condition between the current image and the preset image can be reflected through the difference value.
According to the technical scheme provided by the invention, after the first cleaning reminder and/or the second cleaning reminder are/is output, the first adjustment weight value and/or the image weight value can be adjusted according to the behavior of the user, so that the first cleanliness monitoring coefficient and/or the second cleanliness monitoring coefficient can be more accurately obtained next time. According to the method, the first adjustment weight value and/or the image weight value are/is adjusted, the first adjustment weight value and/or the image weight value are determined according to the length of the first preset time period, when the length of the first preset time period is larger, the error of the output first cleanliness monitoring coefficient and/or the second cleanliness monitoring coefficient is considered to be larger, so that the range of down-regulation of the first adjustment weight value and/or the image weight value is larger, and the method enables the technical scheme provided by the invention to adopt different adjustment modes for the first adjustment weight value and/or the image weight value according to different use scenes, so that the accuracy of the first cleanliness monitoring coefficient and/or the second cleanliness monitoring coefficient is guaranteed.
Drawings
FIG. 1 is a block diagram of a first embodiment of a cleanliness monitoring system suitable for use with electronic signs;
FIG. 2 is a schematic view of an electronic sign;
FIG. 3 is a flow chart of a first embodiment of a cleanliness monitoring method for electronic signs;
FIG. 4 is a flow chart of a second embodiment of a cleanliness monitoring method for electronic signs;
fig. 5 is a structural view of a first embodiment of a cleanliness monitoring device applied to an electronic signboard.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
As shown in fig. 1, an embodiment of the present invention provides a cleanliness monitoring system suitable for an electronic signboard, which includes a server and an image capturing device connected in a communication manner. The image acquisition device can be arranged near the electronic sign and used for acquiring the current image of the electronic sign. For example, the target area is the rasa city, and the rasa city is divided into a plurality of intervals, such as a first interval, a second interval, and the like, where the first interval and the second interval respectively include different geographic locations. The electronic sign board comprises a first area, a second area and a plurality of image acquisition devices, wherein the first area and the second area are respectively provided with a plurality of image acquisition devices and electronic sign boards. The electronic signs may be as shown in fig. 2.
The image acquisition device can be a camera in a traffic system, and the invention can establish an interface with the traffic system, receive desensitization data acquired by the traffic camera, and acquire images of electronic signboards in the desensitization data to generate corresponding current images.
The invention provides a cleanliness monitoring method suitable for an electronic signboard, which comprises the following steps of:
step S110, collecting current images of the electronic signs in a plurality of different sections in the target area, and classifying the current images of the electronic signs in the same section into the same section set. According to the technical scheme provided by the invention, the target area can be divided into a plurality of different areas according to the setting of a user and an administrator, and the different areas are provided with different electronic indicating boards. The method can collect the current images of the electronic signs in different intervals, classify the electronic signs in the same interval to obtain an interval set, each interval has an interval set, and the statistical mode can prepare for subsequent calculation.
In the technical solution provided by the present invention, as shown in fig. 4, step S110 specifically includes:
step S1101, acquiring a current image of the electronic sign through image acquisition devices preset at the electronic sign, wherein each image acquisition device has address information. The invention can acquire the current image of the electronic signboard in real time through the image acquisition devices, and each image acquisition device has preset address information, such as XX road XX street XX intersection.
Step S1102, marking the current image acquired by the image acquisition device based on the address information of the image acquisition device. The invention can add different marks to the current images acquired by different image acquisition devices, and the marks are the address information of the acquisition devices.
Step S1103, classifying the current images corresponding to all the address information in the same area fence into the same interval set. The invention can generate the area fence corresponding to the interval according to the interval, the area fence can say that all streets and roads included in a certain town and county, and when the address information is in one street and one road of a certain area, the address information is considered to be in the corresponding area fence.
Through the technical scheme, all the current images can be classified according to the address information and the marks of the current images, so that the subsequent image comparison is facilitated, and the accuracy of the subsequent calculation of the first cleanliness monitoring coefficient of each interval is guaranteed.
And step S120, comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image. According to the technical scheme provided by the invention, all current images in each interval set are respectively compared with the preset images, and the cleanliness of the advertising board in the interval set is reflected through a plurality of images. The preset image can be actively input by a user and an administrator, and can also be an image of the electronic signboard collected by the image collecting device under the condition that the billboard is clean.
In the technical solution provided by the present invention, step S120 specifically includes:
obtaining each pixel point in current image
Figure 508390DEST_PATH_IMAGE061
Component values,
Figure 407076DEST_PATH_IMAGE062
Component values and
Figure 586385DEST_PATH_IMAGE021
a component value;
obtaining each pixel point in preset image
Figure 330350DEST_PATH_IMAGE063
Component values,
Figure 935338DEST_PATH_IMAGE016
Component values and
Figure 208188DEST_PATH_IMAGE064
a component value;
each image has a plurality of pixel points, the color of the pixel points can be represented by RGB values, so each pixel point has a corresponding pixel point
Figure 874792DEST_PATH_IMAGE063
Component values,
Figure 422448DEST_PATH_IMAGE016
Component values and
Figure 123688DEST_PATH_IMAGE064
the component value, after the electronic sign is stained with earth and unclean, the color of the electronic sign can change, and the difference of the current image compared with the RGB value of the preset image is more, so the difference between the current image and the preset image can be reflected through the difference of the RGB value between the current image and the preset image.
Comparing the pixel points in the current image and the preset image by the following formula to obtain the difference value between the current image and the preset image,
Figure 597133DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure 282192DEST_PATH_IMAGE007
is as follows
Figure 633539DEST_PATH_IMAGE008
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 189285DEST_PATH_IMAGE009
is the first in the current image
Figure 600675DEST_PATH_IMAGE010
Of a pixel
Figure 241872DEST_PATH_IMAGE011
The values of the components are such that,
Figure 131330DEST_PATH_IMAGE012
is the first in the preset image
Figure 571277DEST_PATH_IMAGE013
Of a pixel
Figure 622409DEST_PATH_IMAGE014
The values of the components are such that,
Figure 16481DEST_PATH_IMAGE015
is the first in the current image
Figure 444052DEST_PATH_IMAGE010
Of a pixel
Figure 239969DEST_PATH_IMAGE016
The values of the components are such that,
Figure 993162DEST_PATH_IMAGE017
is the first in the preset image
Figure 608951DEST_PATH_IMAGE010
Of a pixel
Figure 338747DEST_PATH_IMAGE016
The values of the components are such that,
Figure 723592DEST_PATH_IMAGE018
is the first in the current image
Figure 647686DEST_PATH_IMAGE010
Of a pixel
Figure 750771DEST_PATH_IMAGE019
The values of the components are such that,
Figure 785723DEST_PATH_IMAGE020
is the first in the preset image
Figure 290654DEST_PATH_IMAGE010
Of a pixel
Figure 385649DEST_PATH_IMAGE021
The values of the components are such that,
Figure 480425DEST_PATH_IMAGE022
is a preset first conversion value;
by passing
Figure 53488DEST_PATH_IMAGE065
Can obtain all pixel points in the current image and the preset image
Figure 678505DEST_PATH_IMAGE066
The magnitude of the difference between the component values by
Figure 678822DEST_PATH_IMAGE067
Can obtain all pixel points in the current image and the preset image
Figure 756499DEST_PATH_IMAGE016
The magnitude of the difference between the component values by
Figure 133254DEST_PATH_IMAGE068
Can obtain all pixel points in the current image and the preset image
Figure 111312DEST_PATH_IMAGE064
The magnitude of the difference between the component values,
Figure 282530DEST_PATH_IMAGE069
i.e. the difference between the RGB values of the current image and the corresponding predetermined image, can be compared by the first conversion value
Figure 847504DEST_PATH_IMAGE070
The conversion treatment is performed so that it can be a numerical value of a corresponding digit. If the difference value
Figure 762370DEST_PATH_IMAGE069
The larger the difference between the current image and the corresponding preset image at that time is proved to be larger.
Obtaining difference values corresponding to all current images in each interval set respectively, obtaining a first cleanliness monitoring coefficient through the following formula,
Figure 361979DEST_PATH_IMAGE071
wherein the content of the first and second substances,
Figure 704099DEST_PATH_IMAGE072
is as follows
Figure 756368DEST_PATH_IMAGE073
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 707881DEST_PATH_IMAGE074
is as follows
Figure 161997DEST_PATH_IMAGE073
The first in the set of intervals
Figure 675017DEST_PATH_IMAGE075
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 214583DEST_PATH_IMAGE076
is as follows
Figure 736831DEST_PATH_IMAGE073
The total number of all current images in the interval set,
Figure 779874DEST_PATH_IMAGE077
is an image weight value.
When the first cleanliness monitoring coefficient is calculated, difference values corresponding to all current images in each interval set are counted, different interval sets can correspond to the same image weight value and can also correspond to different image weight values, the image weight values can be set by users and managers according to different attributes in the intervals, for example, the number of scenic spots and the traffic of people in one interval are large, the image weight values can be adjusted to be high, the number of scenic spots and the traffic of people in one interval are small, and the image weight values can be adjusted to be low.
Through the mode, the first cleanliness monitoring coefficient determined by the method can reflect the cleaning degree of all the electronic signs in the interval set, and when the first cleanliness monitoring coefficient is higher, the requirement that the corresponding electronic signs need to be cleaned is proved to be higher.
Step S130, first cleaning weights corresponding to different intervals are obtained according to the position information of the different intervals, and second cleaning degree monitoring coefficients are generated based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to all the interval sets. According to the technical scheme provided by the invention, the geographical condition of the interval can be reflected through the position information of the interval, and the geographical condition can be, for example, that the interval is in a urban area, a suburban area and the like. When the section position information corresponds to a downtown area, the first cleaning weight may be larger, and when the section is a suburban area, the first cleaning weight may be smaller.
In the technical solution provided by the present invention, step S130 specifically includes:
the method comprises the steps of obtaining position information of each interval, comparing the position information with a preset weight corresponding table to obtain a first cleaning weight corresponding to each interval, wherein the corresponding relation between each position information and each weight is preset in the weight corresponding table. The invention can preset a weight corresponding table, and the weight corresponding table is internally provided with a first cleaning weight preset and corresponding to each position information.
Before calculating the second cleanliness monitoring coefficient, the invention compares the position information of each interval with the preset weight corresponding table to obtain the first cleaning weight corresponding to each interval.
The second cleanliness monitoring coefficient is obtained by the following formula,
Figure 729375DEST_PATH_IMAGE078
wherein the content of the first and second substances,
Figure 989193DEST_PATH_IMAGE079
for the purpose of the second cleanliness monitoring coefficient,
Figure 49553DEST_PATH_IMAGE080
is as follows
Figure 212681DEST_PATH_IMAGE033
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 67505DEST_PATH_IMAGE081
is as follows
Figure 581662DEST_PATH_IMAGE082
The first cleaning weight corresponding to each interval,
Figure 445713DEST_PATH_IMAGE036
for the total number of the set of intervals,
Figure 713882DEST_PATH_IMAGE037
in order to be a normalized value of the value,
Figure 5186DEST_PATH_IMAGE038
is the first adjustment weight value.
The invention calculates the second cleanliness monitoring coefficient by
Figure 741061DEST_PATH_IMAGE083
Obtaining the average value of all interval sets after fusing corresponding first cleaning weights, and obtaining the average value through the normalization value
Figure 877644DEST_PATH_IMAGE083
Normalization processing is carried out, so that the second cleanliness monitoring coefficient can enable the numerical value of the corresponding digit, and the first adjustment weight value pair
Figure 15364DEST_PATH_IMAGE084
And adjusting to obtain a final second cleanliness monitoring coefficient. Wherein the normalized value
Figure 477570DEST_PATH_IMAGE037
And a first adjusted weight value
Figure 668117DEST_PATH_IMAGE038
May be preset.
And S140, if the second cleanliness monitoring coefficient is judged to be larger than or equal to a first overall preset value, outputting a first cleaning prompt for cleaning all electronic signs in the target area. According to the invention, after the second cleanliness monitoring coefficient is obtained, the second cleanliness monitoring coefficient is compared with the first overall preset value, and when the second cleanliness monitoring coefficient is larger than or equal to the first overall preset value, the electronic sign in the target area needs to be cleaned at the moment, so that a corresponding first cleaning prompt is output at the moment, and a user and a manager are reminded of processing the electronic sign in the target area through the first cleaning prompt. The first overall preset value may be preset.
In the technical solution provided by the present invention, step S140 specifically includes:
monitoring the second cleanliness
Figure 139550DEST_PATH_IMAGE085
With a preset first global preset value
Figure 131777DEST_PATH_IMAGE086
Comparing, if the second cleanliness monitoring coefficient
Figure 233725DEST_PATH_IMAGE085
Greater than or equal to a first overall preset value
Figure 678613DEST_PATH_IMAGE086
And outputting a first cleaning prompt for cleaning all electronic indicating boards in the target area.
The method comprises the steps of obtaining a first moment of outputting a first cleaning prompt, and obtaining a first preset time period based on the first moment. For example, if the first time is 1/2020, the present invention may preset the duration, for example, the duration is 10 days, and the first preset time period is 1/2020 to 11/1/2020.
Receiving cleaning data for input, and if the user is judged not to execute a first cleaning action within a first preset time period, adjusting a weight value for a first time
Figure 422578DEST_PATH_IMAGE038
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 767846DEST_PATH_IMAGE087
. After the first cleaning prompt is output, the cleaning data input by the administrator and the user can be continuously received, and when the cleaning data input by the administrator and the user are not used for cleaning, the user is judged not to implement the first cleaning action within the first preset time period. When administrator, userWhen the cleaning data is not input, the user is also judged not to execute the first cleaning action within the first preset time period.
After the first cleaning prompt is output, the invention aims to remind a user and a manager to clean the electronic indicator, and when the user and the manager do not clean the electronic indicator within a first preset time period, the invention proves that the electronic indicator does not need to be cleaned, so that the invention can adjust the weight value of the first cleaning prompt
Figure 571854DEST_PATH_IMAGE038
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 504038DEST_PATH_IMAGE088
Therefore, the first cleaning reminder can not be output again under the same condition next time, and the reminding accuracy is guaranteed. The first cleaning action may be to clean all electronic signs in the target area.
According to the technical scheme provided by the invention, cleaning data for input are received, and if the fact that a user does not implement a first cleaning action within a first preset time period is judged, a first weight value is adjusted
Figure 51694DEST_PATH_IMAGE038
The downward adjustment includes:
acquiring a cleaning action of the received cleaning data, and if the cleaning action is not judged within a first preset time period, not executing the first cleaning action by the user;
the first adjustment weight value is obtained by the following formula
Figure 18513DEST_PATH_IMAGE038
The adjustment is carried out downwards,
Figure 727843DEST_PATH_IMAGE089
wherein the content of the first and second substances,
Figure 645858DEST_PATH_IMAGE090
for the first adjusted weight value after the downward adjustment,
Figure 731626DEST_PATH_IMAGE091
is the first of the down-regulation weights,
Figure 552952DEST_PATH_IMAGE092
is a quantized value of a first preset time period,
Figure 433183DEST_PATH_IMAGE093
is the first time conversion value.
By the technical scheme, when the user does not implement the first cleaning action within the first preset time period, the weight value of the first cleaning action is adjusted
Figure 339959DEST_PATH_IMAGE038
If the first preset time period is longer, but the user and the administrator do not perform cleaning operation in the time period, the cleaning requirement of the electronic indicator is proved to be lower, so that the first adjustment weight value is adjusted at the moment
Figure 494997DEST_PATH_IMAGE038
The greater the range of downward adjustment. Through the above manner, the accuracy of the first weight value adjustment can be improved.
And S150, judging that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with the first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all electronic signs in the corresponding interval based on the selected interval set.
When the second cleanliness monitoring coefficient is smaller than the first overall preset value, it is proved that the electronic signs in all the intervals in the whole target area are not required to be cleaned, so the first cleanliness monitoring coefficient corresponding to each interval set is compared with the first interval preset value, the first interval preset value can be preset, and each interval can have the same first interval preset value. When the first cleanliness monitoring coefficient of a certain interval set is larger than the preset value of the first interval, the interval corresponding to the interval set needs to be cleaned, and at the moment, a second cleaning prompt is output and is used for cleaning the corresponding interval.
Through the mode, when the electronic signboard cleaning method does not clean all the sections in the target area, the sections needing to be processed are selected for processing, so that different processing periods exist when the electronic signboard cleaning method is used for processing the electronic signboards in different sections, and the cleanliness of the electronic signboards in the corresponding sections is guaranteed.
In a possible embodiment, the determining that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with a first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning reminder for cleaning all electronic signs in the corresponding interval based on the selected interval set includes:
and if the second cleanliness monitoring coefficient is judged to be smaller than the first overall preset value, the first cleanliness monitoring coefficient corresponding to each interval set is obtained. When the second cleanliness monitoring coefficient is smaller than the first overall preset value, the method and the device can traverse all the interval sets to obtain the first cleanliness monitoring coefficient corresponding to each interval set.
Monitoring each first cleanliness factor
Figure 170829DEST_PATH_IMAGE094
And a first interval preset value
Figure 991935DEST_PATH_IMAGE095
And comparing, and selecting an interval set with the first cleanliness monitoring coefficient larger than the first interval preset value. Preset value of first interval
Figure 995794DEST_PATH_IMAGE095
May be preset, the invention will monitor the first cleanliness factor
Figure 423365DEST_PATH_IMAGE094
And a first interval preset value
Figure 452238DEST_PATH_IMAGE095
And comparing, selecting an interval set with the first cleanliness monitoring coefficient larger than a first interval preset value, wherein the interval set with the cleaning requirement can be determined by the mode, and the electronic signs in the interval set have higher cleaning requirements at the moment.
And generating corresponding cleaning sub-information for each selected interval set, and counting all the cleaning sub-information to obtain a second cleaning prompt. The cleaning sub-information may be indication information for cleaning a certain interval, for example, the selected interval set corresponds to a first interval and a second interval, and the cleaning sub-information at this time includes 2 pieces of cleaning sub-information, which are a reminder for cleaning the first interval and a reminder for cleaning the second interval respectively.
And acquiring a second moment for outputting a second cleaning prompt, and acquiring a second preset time period based on the second moment. For example, if the second time is 1/2020, the duration is preset in the present invention, for example, the duration is 10 days, and then the second preset time period is 1/2020/1/11.
Receiving cleaning data for input, if the user is judged not to implement the cleaning action corresponding to any cleaning sub-information in the second cleaning prompt within the second preset time period, acquiring an image weight value of an interval set corresponding to the cleaning sub-information which is not implemented, and carrying out image weight value processing on the image weight value
Figure 205431DEST_PATH_IMAGE096
Downwards adjusting to obtain adjusted image weight value
Figure 555641DEST_PATH_IMAGE097
. After the second cleaning prompt is output, the cleaning data input by an administrator and a user can be continuously received, and when the cleaning data are managedAnd when the cleaning data input by the staff and the user is that the section corresponding to the cleaning sub-information is not cleaned, judging that the cleaning behavior corresponding to the corresponding cleaning sub-information in the second cleaning prompt is not executed by the user within a second preset time period. When the administrator and the user do not input cleaning data, judging that the user does not implement cleaning behaviors corresponding to all cleaning sub-information within a second preset time period, and then weighting values of images corresponding to all cleaning sub-information at the moment
Figure 52481DEST_PATH_IMAGE098
Downwards adjusting to obtain adjusted image weight value
Figure 702905DEST_PATH_IMAGE099
After the second cleaning prompt is output, the electronic direction board cleaning method aims to remind a user and an administrator to clean the electronic direction boards in the corresponding sections, and if the user and the administrator do not clean the electronic direction boards in the corresponding sections within the second preset time period, the fact that the electronic direction boards in the corresponding sections do not need to be cleaned at this time is proved, so that the image weight value in the corresponding sections can be subjected to the cleaning treatment, and the method and the system can be used for cleaning the electronic direction boards in the corresponding sections
Figure 626999DEST_PATH_IMAGE098
Downwards adjusting to obtain adjusted image weight value
Figure 995663DEST_PATH_IMAGE099
Therefore, under the same condition, the corresponding cleaning sub-information can not be output again, and the reminding accuracy is guaranteed. The cleaning sub-information may be cleaning of all the electronic signs in the corresponding section, and the second cleaning action may be cleaning of the electronic signs in at least one section in the target area.
According to the technical scheme provided by the invention, cleaning data for input are received, and if the cleaning action corresponding to any cleaning sub-information in the second cleaning prompt is judged not to be carried out by the user within the second preset time period, the area corresponding to the cleaning sub-information which is not carried out is obtainedInter-aggregated image weight, to image weight
Figure 263571DEST_PATH_IMAGE098
Downwards adjusting to obtain adjusted image weight value
Figure 768502DEST_PATH_IMAGE100
The method comprises the following steps:
weighting an image by the following formula
Figure 863497DEST_PATH_IMAGE101
The adjustment is carried out downwards,
Figure 453878DEST_PATH_IMAGE102
wherein the content of the first and second substances,
Figure 26942DEST_PATH_IMAGE100
for the image weight values adjusted downward,
Figure 651958DEST_PATH_IMAGE103
for the second down-regulation of the weights,
Figure 917855DEST_PATH_IMAGE104
is the quantized value of the second preset time period,
Figure 494067DEST_PATH_IMAGE105
is the second time conversion value.
By the technical scheme, when the user does not implement the behavior corresponding to the cleaning sub-information within the second preset time period, the image weight value is weighted
Figure 870822DEST_PATH_IMAGE098
Adjusting, wherein the adjusting range refers to a preset quantized value of a second preset time period, if the second preset time period is longer, but a user and an administrator do not perform cleaning operation on a corresponding interval in the time period, the cleaning requirement of the electronic indicator is proved to be lower, so that the electronic indicator is cleaned at the momentImage weight value
Figure 84766DEST_PATH_IMAGE101
The greater the range of downward adjustment. By the above method, the accuracy of the image weight value can be improved.
The technical scheme provided by the invention also provides a cleanliness monitoring device suitable for the electronic signboard, as shown in fig. 5, comprising:
the acquisition module is used for acquiring current images of the electronic signs in a plurality of different sections in a target area and classifying the current images of the electronic signs in the same section into the same section set;
the comparison module is used for comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image;
the generating module is used for obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set;
the first output module is used for judging whether the second cleanliness monitoring coefficient is larger than or equal to a first overall preset value, and outputting a first cleaning prompt for cleaning all electronic signs in the target area;
and the second output module is used for judging that the second cleanliness monitoring coefficient is smaller than the first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with the first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all the electronic signs in the corresponding interval based on the selected interval set.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A cleanliness monitoring method suitable for electronic signs is characterized by comprising the following steps:
collecting current images of electronic signs in a plurality of different sections in a target area, and classifying the current images of the electronic signs in the same section into the same section set;
comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image;
obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set;
if the second cleanliness monitoring coefficient is judged to be larger than or equal to a first overall preset value, outputting a first cleaning prompt for cleaning all electronic indication boards in the target area;
judging whether the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with a first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all electronic signs in the corresponding interval based on the selected interval set;
comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image and comprises:
obtaining each pixel point in current image
Figure DEST_PATH_IMAGE001
Component values,
Figure 859149DEST_PATH_IMAGE002
Component values and
Figure 867556DEST_PATH_IMAGE003
a component value;
obtaining each pixel point in preset image
Figure 186542DEST_PATH_IMAGE001
Component values,
Figure 229585DEST_PATH_IMAGE004
Component values and
Figure 975824DEST_PATH_IMAGE005
a component value;
comparing the pixel points in the current image and the preset image by the following formula to obtain the difference value between the current image and the preset image,
Figure 737106DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure 594204DEST_PATH_IMAGE007
is as follows
Figure 757332DEST_PATH_IMAGE008
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 674472DEST_PATH_IMAGE009
is the first in the current image
Figure DEST_PATH_IMAGE011
Of a pixel
Figure 923051DEST_PATH_IMAGE012
The values of the components are such that,
Figure DEST_PATH_IMAGE013
is the first in the preset image
Figure 787102DEST_PATH_IMAGE014
Of a pixel
Figure DEST_PATH_IMAGE015
The values of the components are such that,
Figure 70316DEST_PATH_IMAGE016
is the first in the current image
Figure 96041DEST_PATH_IMAGE017
Of a pixel
Figure 628653DEST_PATH_IMAGE004
The values of the components are such that,
Figure 30816DEST_PATH_IMAGE018
is the first in the preset image
Figure 965274DEST_PATH_IMAGE011
Of a pixel
Figure 161900DEST_PATH_IMAGE004
The values of the components are such that,
Figure 181808DEST_PATH_IMAGE019
is the first in the current image
Figure 387662DEST_PATH_IMAGE011
Of a pixel
Figure 176626DEST_PATH_IMAGE005
The values of the components are such that,
Figure 340891DEST_PATH_IMAGE020
is the first in the preset image
Figure 785779DEST_PATH_IMAGE011
Of a pixel
Figure 592061DEST_PATH_IMAGE003
The values of the components are such that,
Figure DEST_PATH_IMAGE021
is a preset first conversion value;
obtaining difference values corresponding to all current images in each interval set respectively, obtaining a first cleanliness monitoring coefficient through the following formula,
Figure 438794DEST_PATH_IMAGE022
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE023
is as follows
Figure 508381DEST_PATH_IMAGE024
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 169127DEST_PATH_IMAGE025
is as follows
Figure 779100DEST_PATH_IMAGE024
The first in the set of intervals
Figure 214760DEST_PATH_IMAGE026
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 251986DEST_PATH_IMAGE027
is as follows
Figure 405887DEST_PATH_IMAGE024
The total number of all current images in the interval set,
Figure 553972DEST_PATH_IMAGE028
is an image weight value.
2. A cleanliness monitoring method for electronic signs according to claim 1,
gather the current image of the electronic sign of a plurality of different intervals in the target area, the current image of the electronic sign that will be in same interval is categorised to include in the same interval set:
acquiring a current image of the electronic indicator through image acquisition devices which are arranged at the electronic indicator in advance, wherein each image acquisition device has address information;
marking the current image acquired by the image acquisition device based on the address information of the image acquisition device;
and classifying the current images corresponding to all the address information in the same regional fence into the same interval set.
3. A cleanliness monitoring method for electronic signs according to claim 1,
obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating a second cleaning degree monitoring coefficient based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weight corresponding to each interval set comprises the following steps:
acquiring position information of each interval, and comparing the position information with a preset weight corresponding table to obtain a first cleaning weight corresponding to each interval, wherein the weight corresponding table is preset with a corresponding relation between each position information and the weight;
the second cleanliness monitoring coefficient is obtained by the following formula,
Figure DEST_PATH_IMAGE029
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE031
for the purpose of the second cleanliness monitoring coefficient,
Figure 375297DEST_PATH_IMAGE033
is as follows
Figure 521108DEST_PATH_IMAGE034
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 224622DEST_PATH_IMAGE036
is as follows
Figure 114080DEST_PATH_IMAGE037
The first cleaning weight corresponding to each interval,
Figure 586650DEST_PATH_IMAGE038
for the total number of the set of intervals,
Figure 903362DEST_PATH_IMAGE039
in order to be a normalized value of the value,
Figure 94172DEST_PATH_IMAGE040
is the first adjustment weight value.
4. A cleanliness monitoring method for electronic signs according to claim 3,
judging that the second cleanliness monitoring coefficient is more than or equal to a first overall preset value, and outputting a first cleaning prompt for cleaning all electronic signs in a target area comprises the following steps:
monitoring the second cleanliness
Figure 521742DEST_PATH_IMAGE042
With a preset first global preset value
Figure 114397DEST_PATH_IMAGE044
Comparing, if the second cleanliness monitoring coefficient
Figure 336431DEST_PATH_IMAGE045
Greater than or equal to a first overall preset value
Figure 14537DEST_PATH_IMAGE044
Outputting a first cleaning prompt for cleaning all electronic indicating boards in the target area;
acquiring a first moment of outputting a first cleaning prompt, and acquiring a first preset time period based on the first moment;
receiving cleaning data for input, and if the user is judged not to execute a first cleaning action within a first preset time period, adjusting a weight value for a first time
Figure 245798DEST_PATH_IMAGE047
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 692960DEST_PATH_IMAGE049
5. A cleanliness monitoring method for electronic signs according to claim 4,
receiving cleaning data for input, and if the user is judged not to execute a first cleaning action within a first preset time period, adjusting a weight value for a first time
Figure 351475DEST_PATH_IMAGE050
The downward adjustment includes:
acquiring a cleaning action of the received cleaning data, and if the cleaning action is not judged within a first preset time period, not executing the first cleaning action by the user;
by passing throughThe first adjusted weight value is given by the following formula
Figure 251298DEST_PATH_IMAGE051
The adjustment is carried out downwards,
Figure 286250DEST_PATH_IMAGE052
wherein the content of the first and second substances,
Figure 791180DEST_PATH_IMAGE053
for the first adjusted weight value after the downward adjustment,
Figure 682913DEST_PATH_IMAGE054
is the first of the down-regulation weights,
Figure 7715DEST_PATH_IMAGE055
is a quantized value of a first preset time period,
Figure 643096DEST_PATH_IMAGE056
is the first time conversion value.
6. The cleanliness monitoring method for electronic signs according to claim 3, wherein the determining that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with a first interval preset value, selecting the interval set in which the first cleanliness monitoring coefficient is greater than the first interval preset value, and outputting a second cleaning reminder for cleaning all electronic signs in the corresponding interval based on the selected interval set comprises:
if the second cleanliness monitoring coefficient is judged to be smaller than the first overall preset value, a first cleanliness monitoring coefficient corresponding to each interval set is obtained;
monitoring each first cleanliness factor
Figure 2533DEST_PATH_IMAGE057
And a first interval preset value
Figure 65167DEST_PATH_IMAGE058
Comparing, and selecting an interval set of which the first cleanliness monitoring coefficient is larger than a first interval preset value;
generating corresponding cleaning sub-information for each selected interval set, and counting all the cleaning sub-information to obtain a second cleaning prompt;
acquiring a second moment of outputting a second cleaning reminder, and acquiring a second preset time period based on the second moment;
receiving cleaning data for input, and if the user is judged not to implement the cleaning behavior corresponding to any cleaning sub-information in the second cleaning prompt within the second preset time period, acquiring the image weight value of the interval set corresponding to the cleaning sub-information which is not implemented
Figure 674003DEST_PATH_IMAGE059
For image weight value
Figure 785178DEST_PATH_IMAGE059
Downwards adjusting to obtain an adjusted first adjustment weight value
Figure 61439DEST_PATH_IMAGE060
7. A cleanliness monitoring method for electronic signs according to claim 6,
receiving cleaning data for input, and if the user is judged not to implement the cleaning behavior corresponding to any cleaning sub-information in the second cleaning prompt within the second preset time period, acquiring the image weight value of the interval set corresponding to the cleaning sub-information which is not implemented
Figure 232657DEST_PATH_IMAGE059
For image weight value
Figure 594368DEST_PATH_IMAGE059
Downwards adjusting to obtain adjusted image weight value
Figure 509235DEST_PATH_IMAGE060
The method comprises the following steps:
weighting an image by the following formula
Figure 640002DEST_PATH_IMAGE061
The adjustment is carried out downwards,
Figure 982121DEST_PATH_IMAGE062
wherein the content of the first and second substances,
Figure 831129DEST_PATH_IMAGE060
for the image weight values adjusted downward,
Figure 549686DEST_PATH_IMAGE063
for the second down-regulation of the weights,
Figure 534959DEST_PATH_IMAGE064
is the quantized value of the second preset time period,
Figure 47980DEST_PATH_IMAGE065
is the second time conversion value.
8. A cleanliness monitoring device suitable for electronic signs, comprising:
the acquisition module is used for acquiring current images of the electronic signs in a plurality of different sections in a target area and classifying the current images of the electronic signs in the same section into the same section set;
the comparison module is used for comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image;
the generating module is used for obtaining first cleaning weights corresponding to different intervals according to the position information of the different intervals, and generating second cleaning degree monitoring coefficients based on the first cleaning degree monitoring coefficients of all the interval sets and the first cleaning weights corresponding to each interval set;
the first output module is used for judging whether the second cleanliness monitoring coefficient is larger than or equal to a first overall preset value, and outputting a first cleaning prompt for cleaning all electronic signs in the target area;
the second output module is used for judging that the second cleanliness monitoring coefficient is smaller than a first overall preset value, comparing the first cleanliness monitoring coefficient corresponding to each interval set with the first interval preset value, selecting the interval set with the first cleanliness monitoring coefficient larger than the first interval preset value, and outputting a second cleaning prompt for cleaning all electronic signs in the corresponding interval based on the selected interval set;
comparing all current images in each interval set with preset images respectively to obtain a first cleanliness monitoring coefficient of the interval set, wherein each current image has a corresponding preset image and comprises:
obtaining each pixel point in current image
Figure 384284DEST_PATH_IMAGE001
Component values,
Figure 640953DEST_PATH_IMAGE002
Component values and
Figure 746312DEST_PATH_IMAGE003
a component value;
obtaining each pixel point in preset image
Figure 430234DEST_PATH_IMAGE066
Component values,
Figure 253834DEST_PATH_IMAGE004
Component values and
Figure 48615DEST_PATH_IMAGE067
a component value;
comparing the pixel points in the current image and the preset image by the following formula to obtain the difference value between the current image and the preset image,
Figure 8480DEST_PATH_IMAGE068
wherein the content of the first and second substances,
Figure 128883DEST_PATH_IMAGE007
is as follows
Figure 174199DEST_PATH_IMAGE008
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 772671DEST_PATH_IMAGE009
is the first in the current image
Figure 852622DEST_PATH_IMAGE011
Of a pixel
Figure 878347DEST_PATH_IMAGE012
The values of the components are such that,
Figure 410960DEST_PATH_IMAGE013
is the first in the preset image
Figure 813122DEST_PATH_IMAGE014
Of a pixel
Figure 747580DEST_PATH_IMAGE015
The values of the components are such that,
Figure 944206DEST_PATH_IMAGE016
is the first in the current image
Figure 964115DEST_PATH_IMAGE017
Of a pixel
Figure 904389DEST_PATH_IMAGE004
The values of the components are such that,
Figure 693354DEST_PATH_IMAGE018
is the first in the preset image
Figure 326460DEST_PATH_IMAGE011
Of a pixel
Figure 568086DEST_PATH_IMAGE004
The values of the components are such that,
Figure 108788DEST_PATH_IMAGE019
is the first in the current image
Figure 955522DEST_PATH_IMAGE011
Of a pixel
Figure 556267DEST_PATH_IMAGE005
The values of the components are such that,
Figure 506029DEST_PATH_IMAGE020
is the first in the preset image
Figure 850423DEST_PATH_IMAGE011
Of a pixel
Figure 551663DEST_PATH_IMAGE003
The values of the components are such that,
Figure 588889DEST_PATH_IMAGE021
is a preset first conversion value;
obtaining difference values corresponding to all current images in each interval set respectively, obtaining a first cleanliness monitoring coefficient through the following formula,
Figure 742790DEST_PATH_IMAGE069
wherein the content of the first and second substances,
Figure 890874DEST_PATH_IMAGE070
is as follows
Figure 446621DEST_PATH_IMAGE024
The intervals aggregate the first cleanliness monitoring coefficients,
Figure 654748DEST_PATH_IMAGE071
is as follows
Figure 295945DEST_PATH_IMAGE024
The first in the set of intervals
Figure 982141DEST_PATH_IMAGE026
Comparing the current image with the corresponding preset image to obtain a difference value,
Figure 657973DEST_PATH_IMAGE027
is as follows
Figure 37002DEST_PATH_IMAGE024
The total number of all current images in the interval set,
Figure 165495DEST_PATH_IMAGE028
is an image weight value.
9. A cleanliness monitoring system suitable for electronic signs, comprising:
the image acquisition device is used for acquiring the current image of the electronic indicator;
a server connected with the image acquisition device and used for executing the method of any one of claims 1 to 7 after receiving the current image.
CN202210008448.2A 2022-01-06 2022-01-06 Cleanliness monitoring method, device and system suitable for electronic indicator Expired - Fee Related CN114022664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210008448.2A CN114022664B (en) 2022-01-06 2022-01-06 Cleanliness monitoring method, device and system suitable for electronic indicator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210008448.2A CN114022664B (en) 2022-01-06 2022-01-06 Cleanliness monitoring method, device and system suitable for electronic indicator

Publications (2)

Publication Number Publication Date
CN114022664A CN114022664A (en) 2022-02-08
CN114022664B true CN114022664B (en) 2022-03-22

Family

ID=80069917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210008448.2A Expired - Fee Related CN114022664B (en) 2022-01-06 2022-01-06 Cleanliness monitoring method, device and system suitable for electronic indicator

Country Status (1)

Country Link
CN (1) CN114022664B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107137022A (en) * 2017-06-16 2017-09-08 杭州匠龙机器人科技有限公司 Intelligent cleaning robot system
CN109394073A (en) * 2018-09-21 2019-03-01 珠海格力电器股份有限公司 Clean reminding method, system, cleaning device and readable storage medium storing program for executing
CN113255502A (en) * 2021-05-18 2021-08-13 阳光新能源开发有限公司 Cleaning method and related device for photovoltaic module
CN113505681A (en) * 2021-07-02 2021-10-15 中标慧安信息技术股份有限公司 Method for monitoring the hygiene of the ground inside a market

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107137022A (en) * 2017-06-16 2017-09-08 杭州匠龙机器人科技有限公司 Intelligent cleaning robot system
CN109394073A (en) * 2018-09-21 2019-03-01 珠海格力电器股份有限公司 Clean reminding method, system, cleaning device and readable storage medium storing program for executing
CN113255502A (en) * 2021-05-18 2021-08-13 阳光新能源开发有限公司 Cleaning method and related device for photovoltaic module
CN113505681A (en) * 2021-07-02 2021-10-15 中标慧安信息技术股份有限公司 Method for monitoring the hygiene of the ground inside a market

Also Published As

Publication number Publication date
CN114022664A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN108986465B (en) Method, system and terminal equipment for detecting traffic flow
CN106681996B (en) The method and apparatus for determining interest region in geographic range, point of interest
CN112200172B (en) Driving region detection method and device
CN108875746B (en) License plate recognition method, device and system and storage medium
CN112668375B (en) Tourist distribution analysis system and method in scenic spot
CN110197582A (en) Data analysing method, device and traffic prewarning method, apparatus
CN111414878B (en) Social attribute analysis and image processing method and device for land parcels
CN113269240A (en) Rainfall station site selection information output method and device, electronic equipment and medium
CN113552656B (en) Rainfall intensity monitoring method and system based on outdoor image multi-space-time fusion
CN110895543B (en) Population migration tracking display method and device and storage medium
CN114022664B (en) Cleanliness monitoring method, device and system suitable for electronic indicator
CN112836590B (en) Flood disaster monitoring method and device, electronic equipment and storage medium
CN113256978A (en) Method and system for diagnosing urban congestion area and storage medium
CN113378768A (en) Garbage can state identification method, device, equipment and storage medium
CN117152513A (en) Vehicle boundary positioning method for night scene
CN112288701A (en) Intelligent traffic image detection method
CN114067534B (en) Geological disaster early warning method and system based on machine vision
CN116071651A (en) Voltage equalizing field identification method and device, storage medium and terminal
CN112380986B (en) Vehicle type detection method, system and storage medium for resisting complex street background interference
CN115204273A (en) Method and device for classifying customers based on business district big data and electronic equipment
CN111121803B (en) Method and device for acquiring common stop points of road
CN111914766A (en) City management business trip and business behavior detection method, equipment and readable storage medium
CN111352964A (en) Method, device and equipment for acquiring interest point information and storage medium
Muhammad Detection parking Spaces by using the ResNet50 Algorithm
Fei et al. Adapting Public Annotated Data Sets and Low-Quality Dash Cameras for Spatiotemporal Estimation of Traffic-Related Air Pollution: A Transfer-Learning Approach

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220322