Background
Poker (English: Poker), refers to two meanings: one is playing cards (playingcards); the second is a game played with playing items such as paper cards, which is called poker game, such as texas poker. There are 54 cards in a deck of playing cards, of which 52 are true cards and the other 2 are decks (king and queen).
The 52 positive cards are divided into 13 groups, and each group is represented by four suits of spades, peaches, clubs and squares, and the cards of each suit comprise 13 cards marked from 1 to 10(1 is generally represented as A) and J, Q, K.
Poker is a paper toy which is popular all over the world and can be entertained and played. Because of different playing methods, the traditional Chinese medicine is commonly called playing cards, Wanliu, Ma Jiu and the like and called differently. Its standard name poker is the transliteration of poker.
The origin of playing cards is not yet fully determined, but is generally considered to have evolved from french taro cards. Early playing cards were likely introduced into europe by egypt in the end of the 14 th century. K is usually considered the largest card and a the smallest card in the 15 th century. The approach of taking a (ace) as the largest and 2 as the smallest is probably started after the french revolution in the late eighteenth century. At present, the domestic practice is to play the largest ghost card for 2 times, A being the third largest, and then K.
Currently, the playing cards to be produced are different in size according to the place where the user uses, for example, the playing cards used by children are smaller in size compared with the playing cards used by adults, and a wider playing card body is needed for old people with presbyopia, and at this time, if a set of fixed playing card production lines are adopted, the printing and the manufacturing of the playing cards with different sizes are difficult to realize.
Disclosure of Invention
In order to solve the technical problems in the related field, the invention provides a self-adaptive card body laser printing platform which can adopt the same assembly line production mechanism to perform pattern printing action with self-adaptive adjustment of areas on playing cards of different sizes, thereby realizing barrier-free printing of the playing cards.
Therefore, the invention at least needs to have the following two key points:
(1) based on the area detection result of the blank surface of the blank playing card with the pattern to be printed, the size of the area for carrying out laser printing on the blank surface is adjusted in a self-adaptive mode, so that the size of the printed pattern is matched with the size of the blank playing card printed currently;
(2) specifically, a laser printing strategy executed by a laser printing device on the blank surface of the blank playing card with the pattern to be printed is adjusted based on the area of the reference area and the printed pattern which are recognized on site, and the peripheral contour of the laser printing region executed by the laser printing device on the blank surface of the blank playing card with the pattern to be printed is consistent with the peripheral contour of the printed pattern in shape and is in a scaling corresponding relation.
According to an aspect of the present invention, there is provided an adaptive card laser printing platform, the platform comprising:
the laser printing equipment is respectively connected with the second recognition mechanism and the DDR memory chip and is used for sequentially extracting the printing pattern of the card body corresponding to each serial number from the pattern queue to be used as a pattern to be processed, and adjusting a laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern;
the DDR memory chip is used for storing a pattern queue, the pattern queue stores the printing pattern of each card body of the whole set of playing cards, and the queuing serial number of the printing pattern of each card body in the pattern queue is different;
the button imaging mechanism is internally provided with a photoelectric sensor, is arranged opposite to the blank surface of the blank playing card with the pattern to be printed, and is used for acquiring an imaging image at the current moment to be output as a printing scene image;
the continuous filtering equipment is connected with the button imaging mechanism and is used for sequentially performing band-pass filtering processing and midpoint filtering processing on the received printing scene image so as to obtain a continuously processed image;
the first identification mechanism is connected with the continuous filtering equipment and used for identifying each card body pixel point in the continuous processing image based on the gray distribution range of the blank surface of the blank playing card;
the second identification mechanism is connected with the first identification mechanism and is used for taking an area surrounded by each card body pixel point in the continuous processing image as a reference area and calculating the area of the reference area, wherein the area of the reference area is the number of pixel points occupied by the reference area in the continuous processing image;
the laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern comprises the following steps: the larger the area of the reference area is, the larger the area of the laser printing device for performing laser printing on the blank surface of the blank playing card with the pattern to be printed is;
the laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern comprises the following steps: the laser printing equipment is used for printing the peripheral outline of the area of the blank playing card with the pattern to be printed, wherein the peripheral outline of the area is subjected to laser printing on the blank surface of the blank playing card with the pattern to be printed, the peripheral outline of the area is consistent in shape and is in a scaling corresponding relation with the peripheral outline of the printed pattern.
According to another aspect of the present invention, there is also provided an adaptive card body laser printing method, the method comprising using an adaptive card body laser printing platform as described above for performing on-site printing of different size patterns based on different size cards using a targeted visual inspection mechanism and a laser burning printing mechanism.
The self-adaptive card body laser printing platform is convenient to operate and control and has a certain self-adaptive level. Because the same assembly line production mechanism can be adopted to carry out the pattern printing action with the area self-adaptively adjusted on the playing cards with different sizes, the barrier-free printing of the playing cards is realized.
Detailed Description
Embodiments of the adaptive card laser printing platform of the present invention will be described in detail below.
Laser printing refers to a technique of using laser as a light source, and imaging with high resolution, applied to printing and automatic office equipment. As the demand for the number of printed products and the manufacturing speed of the printed products increases, various optimization of the laser printing system is required, and meanwhile, the application field of the laser printing is continuously expanded, so that new challenges are provided for the laser printing technology, for example, the laser printing technology is adopted to rapidly print playing cards with various sizes.
Currently, the playing cards to be produced are different in size according to the place where the user uses, for example, the playing cards used by children are smaller in size compared with the playing cards used by adults, and a wider playing card body is needed for old people with presbyopia, and at this time, if a set of fixed playing card production lines are adopted, the printing and the manufacturing of the playing cards with different sizes are difficult to realize.
In order to overcome the defects, the invention builds the self-adaptive card body laser printing platform and can effectively solve the corresponding technical problem.
An adaptive card laser printing platform according to an embodiment of the present invention is shown comprising:
the laser printing equipment is respectively connected with the second recognition mechanism and the DDR memory chip and is used for sequentially extracting the printing pattern of the card body corresponding to each serial number from the pattern queue to be used as a pattern to be processed, and adjusting a laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern;
the DDR memory chip is used for storing a pattern queue, the pattern queue stores the printing pattern of each card body of the whole set of playing cards, and the queuing serial number of the printing pattern of each card body in the pattern queue is different;
the button imaging mechanism is internally provided with a photoelectric sensor, is arranged opposite to the blank surface of the blank playing card with the pattern to be printed, and is used for acquiring an imaging image at the current moment to be output as a printing scene image;
the continuous filtering equipment is connected with the button imaging mechanism and is used for sequentially performing band-pass filtering processing and midpoint filtering processing on the received printing scene image so as to obtain a continuously processed image;
the first identification mechanism is connected with the continuous filtering equipment and used for identifying each card body pixel point in the continuous processing image based on the gray distribution range of the blank surface of the blank playing card;
the second identification mechanism is connected with the first identification mechanism and is used for taking an area surrounded by each card body pixel point in the continuous processing image as a reference area and calculating the area of the reference area, wherein the area of the reference area is the number of pixel points occupied by the reference area in the continuous processing image;
the laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern comprises the following steps: the larger the area of the reference area is, the larger the area of the laser printing device for performing laser printing on the blank surface of the blank playing card with the pattern to be printed is;
the laser printing strategy executed by the laser printing equipment on the blank surface of the blank playing card with the pattern to be printed based on the area of the reference area and the printing pattern comprises the following steps: the laser printing equipment is used for printing the peripheral outline of the area of the blank playing card with the pattern to be printed, wherein the peripheral outline of the area is subjected to laser printing on the blank surface of the blank playing card with the pattern to be printed, the peripheral outline of the area is consistent in shape and is in a scaling corresponding relation with the peripheral outline of the printed pattern.
Next, the detailed structure of the adaptive card laser printing platform of the present invention will be further described.
In the self-adaptation tablet laser printing platform:
the laser printing equipment realizes a laser printing strategy executed on the blank surface of the blank playing card with the pattern to be printed based on a mode of executing laser burning on the blank of the blank playing card with the pattern to be printed.
In the self-adaptation tablet laser printing platform:
identifying each card body pixel point in the continuous processing image based on the gray scale distribution range of the blank face of the blank playing card comprises: and taking pixel points with the gray values matched with the gray distribution range of the blank surface of the blank playing card as card body pixel points.
In the self-adaptation tablet laser printing platform:
the continuous filtering device comprises a signal receiving unit, a first processing unit, a second processing unit and a signal sending unit;
wherein, in the continuous filtering apparatus, the signal receiving unit, the first processing unit, the second processing unit, and the signal transmitting unit are connected in sequence.
In the self-adaptation tablet laser printing platform:
the signal receiving unit is connected with the button imaging mechanism and used for receiving the printing scene image, and the signal sending unit is used for sending the continuous processing image.
In the self-adaptation tablet laser printing platform:
the first processing unit is configured to perform a band-pass filtering process on the received print scene image to obtain an intermediate processed image, and the second processing unit is configured to perform a midpoint filtering process on the received intermediate processed image to obtain a continuous processed image.
The adaptive card laser printing platform can further comprise:
a data memory card disposed between the first recognition mechanism and the second recognition mechanism for storing input signals and output signals of the first recognition mechanism and the second recognition mechanism;
the data memory card is one of an SD memory card, a FLASH memory card, an MMC memory card and a TF memory card.
In the self-adaptation tablet laser printing platform:
the type selection of the data storage card comprises the following steps: the maximum capacity of the data memory card is based on the data amount of peak signals occurring in the input signals and the output signals of the first identification mechanism and the second identification mechanism.
The adaptive card laser printing platform can further comprise:
the overflow detection mechanism is connected with the data storage card and is used for detecting the existing data storage amount in the data storage card;
when the detected existing data storage capacity is larger than the maximum capacity of the data storage card, the overflow detection mechanism sends an overflow detection instruction;
and the overflow detection mechanism sends out a non-overflow detection instruction when the detected existing data storage volume is less than or equal to the maximum capacity of the data storage card.
Meanwhile, in order to overcome the defects, the invention also builds a self-adaptive card body laser printing method, which comprises the step of using the self-adaptive card body laser printing platform for finishing the field printing of different size patterns based on different size cards by adopting a targeted visual detection mechanism and a laser burning printing mechanism.
In addition, in the adaptive brand laser printing platform, a Double Data Rate Double-Rate synchronous dynamic random access memory (DDR) is adopted. Strictly speaking, DDR shall be referred to as DDR SDRAM, which is an abbreviation of Synchronous Dynamic Random Access Memory, and is commonly referred to as DDR. DDR SDRAM, however, is an abbreviation for Double Data Rate SDRAM, meaning Double-Rate synchronous dynamic random access memory. DDR memory is developed on the basis of SDRAM memory, and SDRAM production system is still used, so for memory manufacturers, DDR memory production can be realized only by slightly improving equipment for manufacturing common SDRAM, and cost can be effectively reduced. Double Data Rate: compared with the traditional single data rate, the DDR technology realizes two read/write operations in one clock cycle, namely, the read/write operations are respectively executed once on the rising edge and the falling edge of the clock.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Although the present invention has been described with reference to the above embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims of the present application.