CN115578130B - Method for generating advertisement position information display component by full image scanning - Google Patents

Method for generating advertisement position information display component by full image scanning Download PDF

Info

Publication number
CN115578130B
CN115578130B CN202211454140.7A CN202211454140A CN115578130B CN 115578130 B CN115578130 B CN 115578130B CN 202211454140 A CN202211454140 A CN 202211454140A CN 115578130 B CN115578130 B CN 115578130B
Authority
CN
China
Prior art keywords
information
advertisement space
interface
button control
advertisement
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.)
Active
Application number
CN202211454140.7A
Other languages
Chinese (zh)
Other versions
CN115578130A (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.)
Chengdu Zhiyuanhui Information Technology Co Ltd
Original Assignee
Chengdu Zhiyuanhui Information Technology 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 Chengdu Zhiyuanhui Information Technology Co Ltd filed Critical Chengdu Zhiyuanhui Information Technology Co Ltd
Priority to CN202211454140.7A priority Critical patent/CN115578130B/en
Publication of CN115578130A publication Critical patent/CN115578130A/en
Application granted granted Critical
Publication of CN115578130B publication Critical patent/CN115578130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F13/00Illuminated signs; Luminous advertising
    • G09F13/04Signs, boards or panels, illuminated from behind the insignia
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method for generating an advertisement space information display component by scanning a whole image and an advertisement space display component, which comprise the following steps: marking a target area in a training plane graph Q ', and leading the training plane graph Q' into a target recognition model for target recognition training to obtain a target recognition model; 1 target area comprises 1 advertisement space area and 1 advertisement space coding area at the same time; importing a plan view Q to be manufactured; dividing a plan to be made to obtain a divided picture set M; traversing the pictures in the picture set M, acquiring a target area in each picture by using a target identification model, scanning the target area to acquire position information and advertisement space coding characters required by a public button control for displaying advertisement space information, and assembling the public button control and a plan picture Q to be manufactured to generate an advertisement space display assembly. A plurality of button controls covering the advertising space in the plan can be created in a one-time, quick and automatic manner.

Description

Method for generating advertisement position information display component by full image scanning
Technical Field
The invention relates to the field of advertisement information interactive display, in particular to a method for generating advertisement space information display components through whole image scanning.
Background
In an ad spot sale campaign, it is generally desirable to provide the advertiser with ad spot information in order for the advertiser to select an ad spot. The traditional advertisement space display mode is a mode of providing advertisement space numbers, advertisement space types and advertisement space geographic positions to advertisers in a list mode. This approach is not intuitive enough and lacks interactive friendliness.
To enhance the interactive friendliness, applications that present advertisement space information in a map manner are increasingly being proposed. Currently, this method generally self-defines an advertisement space graphic element, and self-defines the coordinate value of the advertisement space graphic element in the map. This approach is generally applicable to outdoor ad spots, when there are fewer ad spots in an area. Therefore, the user-defined map can be created in a user-defined mode with less workload, the position information in the user-defined map is converted according to the actual geographic information of the advertisement space, and then the advertisement space graphic element is configured. Meanwhile, the advertisement space graphic elements created by the method can only display advertisement pattern images configured in advance. Current information of the advertisement space in the full period such as whether the advertisement space is sold, a current new sample picture, monitoring and broadcasting information of the advertisement space and the like cannot be introduced. Meanwhile, when a new free advertisement space appears, an advertisement space graphic element needs to be customized again. The operation amount is large, and in an indoor advertisement scene, for example, a subway advertisement scene, an advertisement space built in one subway station sometimes reaches hundreds. Therefore, the mode of displaying the user-defined map and the advertisement space graphic elements cannot realize dynamic and rapid display updating, and meanwhile, very many repeated configuration operations are required during creation, for example, coordinates are manually converted and configured, sample pictures of different advertisement spaces are manually configured, and a display picture can be constructed only in a very long period. Meanwhile, when a new sample film or the sales state of the advertisement space changes, the new sample film or the sales state of the advertisement space cannot be dynamically and synchronously updated, and manual re-drawing is needed.
Disclosure of Invention
The invention aims to provide a method for generating an advertisement space information display component by scanning a whole image and an advertisement space display component.
On one hand, the method for generating the advertisement space display component by full-image scanning comprises the following steps:
s1, marking a target area in a training plane graph Q ', and leading the training plane graph Q' into a target recognition model for target recognition training to obtain a target recognition model; 1 target area simultaneously comprises 1 advertising space area with specified color and 1 advertising space coding area;
s2, importing a plan Q to be manufactured;
s3, dividing the plan to be manufactured to obtain a divided picture set M;
s4, traversing the pictures in the picture set M, acquiring a target area in each picture by using a target identification model, scanning the target area to acquire position information and advertisement space coding characters required by a public button control for displaying advertisement space information, and assembling the public button control and a plan picture Q to be manufactured to generate an advertisement space display assembly.
Further, S4 is specifically as follows:
s41, taking a current picture P from the picture set M;
s42, if the current picture P is a blank picture, turning to S41, otherwise, turning to S43;
s43, if the current picture P does not contain the designated color, turning to S41, otherwise, turning to S44;
s44, after the target recognition of the current picture P is carried out through the target recognition model, a recognition result R is output, wherein R is a set with a plurality of target area data as elements, and each target area data comprises: the RGB value of each pixel point in the target area and the coordinate of each pixel point in the target area under the coordinate system of the current picture P;
s45, converting the coordinates of each pixel point in the target area data under the coordinate system of the current picture P into the coordinates under the coordinate system of the plan picture Q to be manufactured, and recording the converted coordinates as Z;
s46, generating a target picture F corresponding to each target area according to the RGB value of each pixel point in the target area data and the converted coordinate Z;
s47, identifying the advertisement space coded characters and the rectangular outline frame of the specified color area in each target picture F, calculating the length and width information of the rectangular outline frame according to the coordinate information of the rectangular outline frame, and binding the identified advertisement space coded characters, the coordinate information of the rectangular outline frame and the length and width information of the rectangular outline frame into a correlation pair;
s48, calling the public button control and the associated pairs, configuring a corresponding public button control according to the 1 associated pair, configuring the length and the width of a first interface of the public button control according to the length and the width information of the rectangular outline frame, configuring the position information of the first interface of the public button control according to the coordinate information of the outline frame, configuring the advertisement space number of the button control to be consistent with the advertisement space coded characters, and generating graphic elements according to the advertisement space coded characters to be used as a second interface of the public button control;
and S49, superposing the first interface and the second interface of each common button control to the plan Q to be manufactured, and turning to S41.
Further, in the above-mentioned case,
the coordinate information of the rectangular outline frame comprises 2 diagonal points which are in diagonal relationship with each other, wherein a diagonal point D1 (x 1, y 1) and a diagonal point D2 (x 2, y 2) are recorded, and the diagonal point D1 (x 1, y 1) and the diagonal point D2 (x 2, y 2) are the coordinate information of the rectangular outline frame; wherein x1 and x2 are the column number of the pixel points, and y1 and y2 are the row number of the pixel points;
calculating the length and width according to the coordinate values of the 2 diagonal points, and marking as a = | x 2-x 1|, b = | y2-y1|, wherein a and b are length and width information of the rectangular outline frame; a is the length of the rectangular outline frame, and b is the width of the rectangular outline frame;
the length and width of the first interface for configuring the public button control according to the length and width information of the rectangular outline frame specifically include:
configuring the length and width of a first interface of the common button control with the size of the length and width information of the rectangular outline frame, namely configuring the length of the first interface as a '= a and configuring the width of the first interface as b' = b;
the position information of the first interface for configuring the public button control according to the coordinate information of the outline box specifically comprises the following steps:
the position information of the first interface configuring the common button control, which has the same coordinate information of the rectangular outline frame, is assigned to the coordinate values of 2 diagonal points of the first interface, the coordinate values of the 2 diagonal points of the first interface are the same as the coordinate values of the 2 diagonal points of the rectangular outline frame, and the 2 diagonal points of the first interface are a diagonal point D1 '(x 1' = x1, y1'= y 1) and a diagonal point D2' (x 2'= x2, y2' = y 2), respectively.
Generally, the resolution of the plan view Q to be produced reaches 9000 pixels × 9000 pixels, and if the plan view Q is directly imported into a target recognition model for recognition alone, the recognition rate will be reduced, the analysis time will be increased, the system will be stuck, and even the system will be crashed due to insufficient buffer storage amount. 640 pixels. Thus, for each individual recognition process, accuracy can be improved and system overhead can be reduced.
Because the object to be identified by the plan view Q to be produced is the advertising space area with the specified color, the advertising space area with the specified color represents the plane occupation area of 1 light box advertising panel building or/and 1 television advertising panel building in the building plan view. These buildings are generally located along the walls of the building with less central area, and therefore the segmented picture may be a blank picture or contain no designated color. Therefore, all pictures do not need to be imported into the target recognition model for recognition, and in order to reduce the recognition amount of the target recognition model, the invention is provided with a preprocessing program which can remove most of invalid and segmented pictures. Only including fewer active pictures.
For the target recognition of the effective picture, the target recognition model obtained by the training of the invention can output target area data, and what needs to be explained is that: in the invention, because the object is a plan view Q to be made, when the target area is calibrated, 1 target area simultaneously comprises 1 advertisement space area with specified color and 1 advertisement space coding area. Thus, the identified target area data is effectively an entirety containing both the ad spot region and the ad spot encoding region.
Since the object identified by the present invention is a divided picture, and the coordinate system of the divided picture is different from the coordinate system of the plan view Q to be created, the coordinates of the pixel points in the target area data need to be converted, so that the coordinates of the common button control are mapped to the coordinate system of the plan view Q to be created in the following configuration.
After conversion, a new target picture F only containing target area data can be regenerated, the target picture F is identified to obtain the association pair, and the data in the association pair is used for carrying out parameter configuration on the public button control, so that the public button control which can be configured on the plan view Q to be manufactured is obtained.
Further, in the above-mentioned case,
the to-be-manufactured plan view Q is a building plan view, and 1 advertising space area with a specified color in the to-be-manufactured plan view Q represents a plane occupation area of 1 light box advertising panel building or/and 1 television advertising panel building in the building plan view; the specified color is red or green or blue.
Further, in the above-mentioned case,
and also includes the step of S0, and the step of S,
s0, configuring a data request link interface of a button control and configuring a trigger event of the button control, wherein the trigger event comprises the following steps: and after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement space number and a data request thereof are sent to the target database, advertisement space information data responding to the advertisement space number are received, a display area is created in an advertisement space display component, and the advertisement space information data are displayed.
Furthermore, the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position publishing and publishing information database, a third link interface linked with an advertisement position monitoring and broadcasting information database and a fourth link interface linked with an advertisement position sample drawing information database;
the data request comprises at least 1 of an advertisement position historical order information request, an advertisement position publishing and publishing information request, an advertisement position monitoring and broadcasting information request and advertisement position sample drawing information.
In another aspect, an ad slot display assembly, the assembly comprising:
1 plan view Q to be made as a master;
a plurality of button controls as trigger ad slot information;
the interface of 1 button control includes: the system comprises a first interface and a second interface, wherein the first interface is an advertisement space area covering interface, and the second interface is a coding interface;
the size of the advertisement space coverage interface is configured to be the same as the occupation range of one advertisement space in the plan view Q to be produced;
the coordinate information of the advertisement space area covering interface is configured to be the same as the position information of one advertisement space area in the plan picture Q to be produced;
the coding interface is associated with the position follow-up of the advertisement space coverage interface;
and superposing the interface of the button control on the plan Q to be manufactured.
Further, in the above-mentioned case,
the button control is provided with an advertisement space number, a data request link interface and a trigger event, wherein the trigger event is as follows: and after the button control is triggered, the target database is linked through the data request link interface, the advertisement space number and the data request thereof are sent to the target database, the advertisement space information data responding to the advertisement space number are received, and a display area is created in the advertisement space display component and the advertisement space information data are displayed.
Further, in the above-mentioned case,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position publishing and publishing information database, a third link interface linked with an advertisement position monitoring and broadcasting information database and a fourth link interface linked with an advertisement position sample drawing information database;
the data request comprises at least 1 of an advertisement position historical order information request, an advertisement position publishing and publishing information request, an advertisement position monitoring and broadcasting information request and advertisement position sample drawing information.
The invention has the beneficial effects that:
the control in the invention is a button control, the button control can configure an interface and a configuration event, only one public button control needs to be configured in advance, the interface configured by the public button control can be linked to an advertisement information database, and when the advertisement information database is updated, the button control is triggered, the interface link can be provided to obtain the latest advertisement information. In order to distinguish different advertisement positions, each button control is also provided with an advertisement position number, and the advertisement information database can be adapted to corresponding advertisement information according to the advertisement position numbers uploaded by the advertisement button controls, so that different advertisement positions can be distinguished. The advertisement information appears in a mode of linking response results, so that the button control designed in the mode does not need to be secondarily configured with the advertisement information.
After the public button control is arranged, in order to enhance the geographical intuition of an advertiser in selecting an advertisement space, the invention adopts a bottom plate on which the button control is superposed, but compared with the background technology, the invention has the following differences: the invention adopts the building plan as a bottom plate, and does not adopt a self-defined map as the bottom plate. Because the invention adopts the building plan, for example, in the subway station scene, the building plan of the subway station is generally marked with the advertisement space region, generally the color region of a rectangular frame. If a corresponding button control needs to be configured, a button control interface needs to be created once according to the size of the advertisement space area in the building plan, the button control interface is manually dragged to the advertisement space area, and then overlapping locking is carried out. This approach may require manual interface size configuration and dragging. It is very time consuming for the manufacturer. In order to solve the problem, a quick generation method is realized, and the aim of improving the production efficiency is fulfilled.
The special description is that: in the invention, the advertisement space area represents a special color area in the building plan, such as a rectangular red area, and for the rectangular red area, under the pixel level, the area comprises a plurality of pixels, and each pixel has 1 coordinate under the coordinate system of the building plan and the RGB value thereof. In order to create the button control interface in batch, one-time and full-automatic mode, the invention adopts the processes of picture segmentation, preprocessing, identification, coordinate conversion, feature identification and control creation.
For the public button, the length, the width and the position information are automatically configured, so that a button control interface covering the area can be directly and automatically established on the advertisement space area of the building plan.
The button control has the characteristics of the size of a target area (advertisement space) in the plan view and the like and the characteristics of zooming in and zooming out along with the plan view, the control is packaged with interfaces associated with other systems, the updated related attribute states of the other systems can be obtained, and the operation of the button control specifically can be as follows: click-window display, the contents of the window display are: data class, data values under various data classes that are from the results of other database-docking responses.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Fig. 2 is a plan view of a construction of a subway station.
Fig. 3 is a schematic diagram of obtaining a target area.
Fig. 4 is a schematic diagram of generating a target picture F.
FIG. 5 is a schematic diagram of the generation of button controls on FIG. 2.
FIG. 6 is a diagram of a building plan view in relation to a button control interface.
Fig. 7 is a schematic diagram of the link interface of the button control interacting with an external advertisement information database.
The reference numerals in the figures are respectively:
1. subway station building plan, 2, target area, 21, rectangular outline frame, 3, button control, 11, lamp box advertisement space area, 12, stair area, 13, passage area, 14, upright post area, 15, gate area, 16, isolation fence area, 17 and advertisement space coding area.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the embodiments of the present invention are not limited thereto.
Example 1
Referring to fig. 1-7, a method for generating an advertisement information display component by full-image scanning includes the following steps:
s1, marking a target area in a training plane graph Q ', and leading the training plane graph Q' into a target recognition model for target recognition training to obtain a target recognition model; 1 target area simultaneously comprises 1 advertising space area with specified color and 1 advertising space coding area;
s2, importing a plan Q to be manufactured;
s3, dividing the plan to be manufactured to obtain a divided picture set M;
s4, traversing the pictures in the picture set M, acquiring a target area in each picture by using a target identification model, scanning the target area to acquire position information and advertisement space coding characters required by a public button control for displaying advertisement space information, and assembling the public button control and a to-be-manufactured plan picture Q to generate an advertisement space display assembly.
S4 specifically comprises the following steps:
s41, taking a current picture P from the picture set M;
s42, if the current picture P is a blank picture, turning to S41, otherwise, turning to S43;
s43, if the current picture P does not contain the designated color, turning to S41, otherwise, turning to S44;
s44, after the target recognition of the current picture P is carried out through the target recognition model, a recognition result R is output, wherein R is a set with a plurality of target area data as elements, and each target area data comprises: the RGB value of each pixel point in the target area and the coordinate of each pixel point in the target area under the coordinate system of the current picture P;
s45, converting the coordinates of each pixel point in the target area data under the coordinate system of the current picture P into the coordinates under the coordinate system of the plan picture Q to be manufactured, and recording the converted coordinates as Z;
s46, generating a target picture F corresponding to each target area according to the RGB value of each pixel point in the target area data and the converted coordinates Z;
s47, identifying the advertisement space coded characters and the rectangular outline frame of the specified color area in each target picture F, calculating the length and width information of the rectangular outline frame according to the coordinate information of the rectangular outline frame, and binding the identified advertisement space coded characters, the coordinate information of the rectangular outline frame and the length and width information of the rectangular outline frame into a correlation pair;
s48, calling the public button control and the association pairs, configuring a corresponding public button control according to the 1 association pair, configuring the length and the width of a first interface of the public button control according to the length and the width information of the rectangular outline frame, configuring the position information of the first interface of the public button control according to the coordinate information of the outline frame, configuring the advertisement space number of the button control to be consistent with the advertisement space coded characters, and generating graphic elements as a second interface of the public button control according to the advertisement space coded characters;
and S49, superposing the first interface and the second interface of each common button control to the plan Q to be manufactured, and turning to S41.
The coordinate information of the rectangular outline frame comprises 2 diagonal points which are in diagonal relationship with each other, and the diagonal points D1 (x 1, y 1) and D2 (x 2, y 2) are recorded, wherein the diagonal points D1 (x 1, y 1) and D2 (x 2, y 2) are the coordinate information of the rectangular outline frame; wherein x1 and x2 are the column number of the pixel points, and y1 and y2 are the row number of the pixel points;
calculating the length and width according to the coordinate values of the 2 diagonal points, and marking as a = | x 2-x 1|, b = | y2-y1|, wherein a and b are length and width information of the rectangular outline frame; a is the length of the rectangular outline frame, and b is the width of the rectangular outline frame;
the length and width of the first interface for configuring the public button control according to the length and width information of the rectangular outline frame specifically include:
configuring the length and width of a first interface of the common button control with the size of the length and width information of the rectangular outline frame, namely configuring the length of the first interface as a '= a and configuring the width of the first interface as b' = b;
the position information of the first interface for configuring the public button control according to the coordinate information of the outline box specifically comprises the following steps:
the position information of the first interface configuring the common button control, which has the same coordinate information of the rectangular outline frame, is assigned to the coordinate values of 2 diagonal points of the first interface, the coordinate values of the 2 diagonal points of the first interface are the same as the coordinate values of the 2 diagonal points of the rectangular outline frame, and the 2 diagonal points of the first interface are a diagonal point D1 '(x 1' = x1, y1'= y 1) and a diagonal point D2' (x 2'= x2, y2' = y 2), respectively.
For convenience of understanding, the present embodiment defines the plan view Q to be made as a subway station building plan view 1, where the subway station building plan view 1 is a picture in a JPG format, see fig. 2 of the drawings, and the subway station building plan view 1 is marked with: a light box advertising space area 11, a stair area 12, a passage area 13, a column area 14, a gate area 15, a barrier area 16, and an advertising space coding area 17, which are graphically represented in the picture.
According to the technical scheme of the invention, after the subway station building plan 1 is imported, the size information and the position information required by a common button control interface are required to be obtained, so that the button control 3 is created on the light box advertisement space area 11 in the subway station building plan 1.
First, the subway station building plan 1 is divided into 4 parts, which are a picture J1, a picture J2, a picture J3, and a picture J4. After pre-processing, these pictures were all retained.
Taking picture J2 as an example, steps S41-S49 are performed. Referring to fig. 3, the picture J2 performs target recognition by the target recognition model and then outputs a recognition result R, where the recognition result R includes a plurality of target region data corresponding to the plurality of target regions 2 in fig. 3, and in the present invention, there is also a buffer in which the recognition result R is cached, and the information is maintained in an array manner, including RGB values of each pixel point in the target region and coordinates of each pixel point in the target region in the coordinate system of the current picture P. However, in this case, the coordinates of each pixel point are coordinates in the coordinate system of the picture J2, and therefore cannot be used. A transformation of the coordinate system is required. After the coordinate system is converted, a target picture F is further generated. At this time, feature scanning may be further performed (the prior art is not described herein), so as to obtain a rectangular outline frame 21 of the ad slot coding characters and the designated color area in the target picture F, which is automatically identified and labeled with a plurality of rectangular outline frames 21, see fig. 4. Each rectangular outline frame 21 has its 2 diagonal coordinates, which are coordinates in the coordinate system of the subway station building plan 1. Thereafter, position information of the common button control is configured based on the coordinates. And meanwhile, corresponding graphic elements are created according to the read advertisement space coded words. Referring to fig. 5, the button control 3 is superimposed on the subway station building plan 1, and the target picture F is discarded.
In the present invention, the identified target area covers the light box advertising space area 11, the advertising space encoding area 17. All pixel point information in the target area is cached, and the information of each pixel point comprises coordinate information and RGB value of the pixel point under a plane graph coordinate system. The ORC can be invoked to scan the region and the CL01 word, which represents the ad spot code, can be identified. A group of rectangular pixels arranged in a row-column array can be obtained by calling color scanning, the pixel values of the pixels are all red pixel values, and the rectangular outline frame 21 and the coordinates of 2 diagonal points of the rectangular outline frame 21 can be scanned. After parameter configuration, as shown in fig. 6, an effect diagram of the button control 3 superimposed on the subway station building plan 1 can be obtained. The subway station building plan 1 and the button control are assembled into one component. At the same time, a graphical element is created from the ad slot encoding text scanned by the ORC as part of the interface for the button control. The part of the interface is corresponding to the part of the interface covered on the light box advertisement space area 11.
The button control is used as an interactive response control, and after being triggered, the button control can respond to a corresponding event, for example, displaying advertisement information of the light box advertisement space region 11 corresponding to the position of the button control.
Further, in the above-mentioned case,
the to-be-manufactured plan view Q is a building plan view, and 1 advertising space area with a specified color in the to-be-manufactured plan view Q represents a plane occupation area of 1 light box advertising panel building or/and 1 television advertising panel building in the building plan view; the specified color is red or green or blue.
Further, in the above-mentioned case,
and also includes the step of S0, and the step of S,
s0, configuring a data request link interface of a button control and configuring a trigger event of the button control, wherein the trigger event comprises the following steps: and after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement space number and a data request thereof are sent to the target database, advertisement space information data responding to the advertisement space number are received, a display area is created in an advertisement space display component, and the advertisement space information data are displayed.
Furthermore, the data request link interface comprises at least one of a first link interface linked with an advertisement space historical order information database, a second link interface linked with an advertisement space publishing information database, a third link interface linked with an advertisement space monitoring information database and a fourth link interface linked with an advertisement space sample drawing information database;
the data request comprises at least 1 of an advertisement space historical order information request, an advertisement space publishing and publishing information request, an advertisement space monitoring and broadcasting information request and advertisement space sample drawing information.
Example 2
1-7, an ad slot display assembly, the assembly comprising:
1 plan view Q to be made as a master;
a plurality of button controls as trigger ad slot information;
the interface of 1 button control includes: the system comprises a first interface and a second interface, wherein the first interface is an advertisement space area covering interface, and the second interface is a coding interface;
the size of the advertisement space coverage interface is configured to be the same as the occupation range of one advertisement space in the plan view Q to be produced;
the coordinate information of the advertisement space area covering interface is configured to be the same as the position information of one advertisement space area in the plan picture Q to be produced;
the position of the coding interface is in follow-up correlation with the position of the advertisement space coverage interface;
and superposing the interface of the button control on the plan Q to be manufactured.
Further, in the above-mentioned case,
the button control is provided with an advertisement space number, a data request link interface and a trigger event, wherein the trigger event is as follows: and after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement space number and a data request thereof are sent to the target database, advertisement space information data responding to the advertisement space number are received, a display area is created in an advertisement space display component, and the advertisement space information data are displayed.
Further, in the above-mentioned case,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position publishing and publishing information database, a third link interface linked with an advertisement position monitoring and broadcasting information database and a fourth link interface linked with an advertisement position sample drawing information database;
the data request comprises at least 1 of an advertisement position historical order information request, an advertisement position publishing and publishing information request, an advertisement position monitoring and broadcasting information request and advertisement position sample drawing information.
In the present invention, the event may be a first-level event or a multi-level event, for example, the first-level event is: after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement space number and a data request thereof are sent to the target database, advertisement space information data responding to the advertisement space number are received, a display area is created in an advertisement space display component, and the advertisement space information data are displayed; the secondary events are: and further triggering the display of the detailed contents of the historical order information, the publishing and publishing information, the monitoring and broadcasting information and the sample drawing information of the advertisement space. Even three levels of events can be configured: and modifying, namely modifying corresponding information of other databases by using the interface as an interface. And a new modification channel is provided for database data modification, for example, the uploaded updated advertisement position sample drawing information can be modified or the outdated advertisement position sample drawing information can be modified and deleted.
The method is simple to operate, only needs to select the picture frame area, then automatically generates the corresponding button control, and adopts scanning to identify the calculated position, so that the picture frame area can be larger than the target area, the constraint on the action of the picture frame area is small, other operations of dragging and inputting numbers are not needed, and the operation is greatly simplified. The manufacturing efficiency can be improved efficiently.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the invention/inventions, which are not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (6)

1. The method for generating the advertisement space information display component by scanning the whole image is characterized by comprising the following steps of:
s1, marking a target area in a training plane graph Q ', importing the training plane graph Q' into a target recognition model for target recognition training, and obtaining a target recognition model; 1 target area simultaneously comprises 1 advertising space area with specified color and 1 advertising space coding area;
s2, importing a plan Q to be manufactured;
s3, dividing the plan to be manufactured to obtain a divided picture set M;
s4, traversing the pictures in the picture set M, acquiring a target area in each picture by using a target identification model, scanning the target area to acquire position information and advertisement space coding characters required by a public button control for displaying advertisement space information, and assembling the public button control and a plan picture Q to be manufactured to generate an advertisement space display component;
the S4 specifically comprises the following steps:
s41, taking a current picture P from the picture set M;
s42, if the current picture P is a blank picture, turning to S41, otherwise, turning to S43;
s43, if the current picture P does not contain the designated color, turning to S41, otherwise, turning to S44;
s44, after the target recognition of the current picture P is carried out through the target recognition model, a recognition result R is output, wherein R is a set with a plurality of target area data as elements, and each target area data comprises: the RGB value of each pixel point in the target area and the coordinate of each pixel point in the target area under the coordinate system of the current picture P;
s45, converting coordinates of each pixel point in the target area data under the coordinate system of the current picture P into coordinates under the coordinate system of the plan picture Q to be manufactured, and recording the converted coordinates as Z;
s46, generating a target picture F corresponding to each target area according to the RGB value of each pixel point in the target area data and the converted coordinate Z;
s47, identifying the advertisement space coded characters and the rectangular outline frame of the specified color area in each target picture F, calculating the length and width information of the rectangular outline frame according to the coordinate information of the rectangular outline frame, and binding the identified advertisement space coded characters, the coordinate information of the rectangular outline frame and the length and width information of the rectangular outline frame into a correlation pair;
s48, calling the public button control and the associated pairs, configuring a corresponding public button control according to the 1 associated pair, configuring the length and the width of a first interface of the public button control according to the length and the width information of the rectangular outline frame, configuring the position information of the first interface of the public button control according to the coordinate information of the outline frame, configuring the advertisement space number of the button control to be consistent with the advertisement space coded characters, and generating graphic elements according to the advertisement space coded characters to be used as a second interface of the public button control;
and S49, superposing the first interface and the second interface of each common button control to the plan Q to be manufactured, and turning to S41.
2. The method for generating ad spot information presentation component of a full graphic scan of claim 1,
the coordinate information of the rectangular outline frame comprises 2 diagonal points which are in diagonal relationship with each other, and the diagonal points D1 (x 1, y 1) and D2 (x 2, y 2) are recorded, wherein the diagonal points D1 (x 1, y 1) and D2 (x 2, y 2) are the coordinate information of the rectangular outline frame; wherein x1 and x2 are the column number of the pixel points, and y1 and y2 are the row number of the pixel points;
calculating the length and width according to the coordinate values of the 2 diagonal points, and marking as a = | x 2-x 1|, b = | y2-y1|, wherein a and b are length and width information of the rectangular outline frame; a is the length of the rectangular outline frame, and b is the width of the rectangular outline frame;
the length and width of the first interface for configuring the public button control according to the length and width information of the rectangular outline frame specifically include:
configuring the length and width of a first interface of the common button control with the size of the length and width information of the rectangular outline frame, namely configuring the length of the first interface as a '= a and configuring the width of the first interface as b' = b;
the specific step of configuring the position information of the first interface of the public button control according to the coordinate information of the outline box is as follows:
the position information of the first interface configuring the common button control, which has the same coordinate information of the rectangular outline frame, is assigned to the coordinate values of the 2 diagonal points of the first interface, the coordinate values of the 2 diagonal points of the first interface are the same as the coordinate values of the 2 diagonal points of the rectangular outline frame, and the 2 diagonal points of the first interface are a diagonal point D1 '(x 1' = x1, y1'= y 1) and a diagonal point D2' (x 2'= x2, y2' = y 2), respectively.
3. The method for generating ad spot information presentation component of a full graphic scan of claim 1,
the sizes of the pictures in the segmented picture set M are: 640 pixels.
4. The method for generating ad spot information presentation component of a full graphic scan of claim 1,
the plan view Q to be made is a building plan view, and 1 advertisement space area with a designated color in the plan view Q to be made represents a plane occupation area of 1 light box advertisement panel building or/and 1 television advertisement panel building in the building plan view; the designated color is red or green or blue.
5. The method for generating ad spot information presentation component of a full graphic scan of claim 1,
and also comprises a step (S0) of,
s0, configuring a data request link interface of a button control and configuring a trigger event of the button control, wherein the trigger event comprises the following steps: and after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement space number and a data request thereof are sent to the target database, advertisement space information data responding to the advertisement space number are received, a display area is created in an advertisement space display component, and the advertisement space information data are displayed.
6. The method for generating ad spot information presentation component of a full graphic scan of claim 5,
the data request link interface comprises at least one of a first link interface linked with an advertisement space historical order information database, a second link interface linked with an advertisement space publishing information database, a third link interface linked with an advertisement space monitoring information database and a fourth link interface linked with an advertisement space sample information database;
the data request comprises at least 1 of an advertisement position historical order information request, an advertisement position publishing and publishing information request, an advertisement position monitoring and broadcasting information request and advertisement position sample drawing information.
CN202211454140.7A 2022-11-21 2022-11-21 Method for generating advertisement position information display component by full image scanning Active CN115578130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211454140.7A CN115578130B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display component by full image scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211454140.7A CN115578130B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display component by full image scanning

Publications (2)

Publication Number Publication Date
CN115578130A CN115578130A (en) 2023-01-06
CN115578130B true CN115578130B (en) 2023-04-07

Family

ID=84588898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211454140.7A Active CN115578130B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display component by full image scanning

Country Status (1)

Country Link
CN (1) CN115578130B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679487A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Advertisement display monitoring method and device
CN110163640A (en) * 2018-02-12 2019-08-23 华为技术有限公司 A kind of method and computer equipment of product placement in video

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141909B (en) * 2010-02-10 2014-09-10 深圳市金蝶中间件有限公司 Primitive creation method and system
JP5144789B2 (en) * 2011-06-24 2013-02-13 楽天株式会社 Image providing apparatus, image processing method, image processing program, and recording medium
KR20150000052A (en) * 2013-06-21 2015-01-02 김종포 Point system which to link customer to Advertisement
CN104463643B (en) * 2015-01-14 2016-06-01 成都智元汇文化传媒股份有限公司 A kind of method presenting user comment in advertisement
CN104679906B (en) * 2015-03-24 2019-08-20 上海臻客信息技术服务有限公司 The method and system of link are generated using picture
CN113763009A (en) * 2020-11-09 2021-12-07 北京沃东天骏信息技术有限公司 Picture processing method, picture skipping method, device, equipment and medium
CN113360737B (en) * 2021-08-11 2021-12-14 腾讯科技(深圳)有限公司 Page content acquisition method and device, electronic equipment and readable medium
CN115018549A (en) * 2022-06-17 2022-09-06 广州华多网络科技有限公司 Method for generating advertisement file, device, equipment, medium and product thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679487A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Advertisement display monitoring method and device
CN110163640A (en) * 2018-02-12 2019-08-23 华为技术有限公司 A kind of method and computer equipment of product placement in video

Also Published As

Publication number Publication date
CN115578130A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US7999846B2 (en) Image processing apparatus, image processing system, and recording medium for programs therefor
US5448696A (en) Map information system capable of displaying layout information
US5546572A (en) Method for retrieving database of image information
EP0784296B1 (en) Data providing structure, method, and terminal
KR0182804B1 (en) Video presentation system
KR102019031B1 (en) Apparatus, system and method for real-time parking lot video object recognition from cctv parking lot video data
CN102799571B (en) Word document image generating method and system
CN111309967B (en) Video space information query method based on grid coding
US7969439B2 (en) Method and apparatus for fast flicker-free displaying overlapped sparse graphs with optional shape
CN102763117A (en) Data-generating device, data-generating method, data-generating program, and recording medium
CN113220920B (en) Satellite remote sensing image sample labeling system and method based on micro-service architecture
CN115188349A (en) Method and system for editing user-defined content of mobile variable traffic information board
CN115578130B (en) Method for generating advertisement position information display component by full image scanning
CN115019314A (en) Commodity price identification method, device, equipment and storage medium
CN115495001B (en) Method and system for generating advertisement position information display component by selecting position from frame
CN115617237B (en) Method for generating advertisement position information display assembly by local recognition
CN115964037A (en) Engineering data visualization low code configuration method and system
JPH09146529A (en) Display method for character and image display device
CN109343852B (en) Method and device for displaying frame pictures of operation interface
CN115843375A (en) Logo labeling method and device, logo detection model updating method and system and storage medium
CN111814224A (en) Building material estimation system, management server thereof and building material estimation method
JPH0773297A (en) Drawing updating method for map information system
AU720754B2 (en) A method of smoothing bitmapped characters
JPS61208179A (en) Image describing device
Tsuji Continuous image interpretation by a moving viewer (robot vision)

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