CN106709959A - Puzzle identification method and device and electronic equipment - Google Patents
Puzzle identification method and device and electronic equipment Download PDFInfo
- Publication number
- CN106709959A CN106709959A CN201710015020.XA CN201710015020A CN106709959A CN 106709959 A CN106709959 A CN 106709959A CN 201710015020 A CN201710015020 A CN 201710015020A CN 106709959 A CN106709959 A CN 106709959A
- Authority
- CN
- China
- Prior art keywords
- skilful
- image
- skilful plate
- color
- plate
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the technical field of image identification, and particularly relates to a puzzle identification method and device and electronic equipment which are used for identifying a plurality of puzzles with different colors and shapes. The method comprises the steps of: acquiring an image formed by each puzzle at an interval of a preset duration; identifying a color and a shape of each puzzle constituting the acquired image; and judging whether the image formed by the puzzles with the identified colors and shapes is matched with preset information, and obtaining a judgment result. By the settings, problems of poor interestingness and poor real-time interactivity which are caused by a case that when a puzzle game is carried out and after splicing is carries out according to a drawing or autonomously, a corresponding image needs to be searched in the drawing.
Description
Technical field
The present invention relates to technical field of image processing, set in particular to a kind of skilful plate recognition methods, device and electronics
It is standby.
Background technology
Traditional skilful plate game, typically gives some drawings and allows children to shine and spell, or allows the random splicing of children oneself
The image of oneself imagination, searched after the completion of splicing in given drawing with the presence or absence of the image corresponding with the image of splicing with
Whether the image of the imagination that judgement is spliced into is correct.The skilful plate game of above two can cause skilful plate splicing game process simple and single
Adjust, Real-time Feedback can not be realized in game process, lack game interactive.
The content of the invention
In view of this, it is an object of the invention to provide a kind of skilful plate recognition methods, device and electronic equipment, effectively solve
When carrying out skilful plate and playing, according to being required to look up after the completion of mosaic image or autonomous splicing in drawing with the presence or absence of corresponding image
The interest difference and the problem of real-time interactive difference for causing.
To achieve the above object, the embodiment of the present invention is adopted the following technical scheme that:
A kind of skilful plate recognition methods, for recognizing color, variform multiple skilful plates, methods described includes:
The image that each skilful plate is constituted is obtained at interval of preset duration;
Identification constitutes the CF of each skilful plate of the described image for obtaining;
Whether the described image that the skilful plate of each CF that judgement is identified is constituted matches with presupposed information, obtains
Judged result.
Optionally, in above-mentioned skilful plate recognition methods, identification constitutes the step of the shape of each skilful plate of the described image for obtaining
Suddenly include:
The described image of acquisition is converted into hexagonal pyramid model color space image;
The region of different colours in the hexagonal pyramid model color space image is obtained, the figure of multiple different colours is obtained
The image that the figure of shape and multiple different colours is constituted;
Straight-line detection is carried out to each figure and obtains multiple angle points;
Connect the profile that the multiple angle point obtains each figure;
SHAPE DETECTION is carried out to the profile of each figure and obtains skilful plate shape corresponding with each figure.
Optionally, in above-mentioned skilful plate recognition methods, identification constitutes the step of the color of each skilful plate of the described image for obtaining
Suddenly include:
Coordinate system is set up in the image of each figure constitution and the coordinate information of the preset in institute's figure is obtained;
The coordinate information of the preset in the figure judges whether the position relationship between each figure is phase
It is adjacent;
The figure for extracting two adjacent different colours of position relationship is combined to form chromaticity diagram;
The chromaticity diagram is changed to Lab color spaces and the color component of a passages is obtained;
Color component to a passages carries out the chromaticity diagram after binary conversion treatment is processed using gray scale algorithm;
Morphological erosion is carried out to the chromaticity diagram after the treatment and expansion process obtains accurate color figure and carries out straight line inspection
Survey;
Pre-conditioned a plurality of straight line is met according to the selection of corner relation and obtains polygon;
Remove and obtained by the figure of single color filling by the region that multiple color is filled;
Skilful plate color corresponding with the figure is obtained according to by the figure of single color filling.
Optionally, in above-mentioned skilful plate recognition methods, the preset in the figure is the angle point of the figure.
Optionally, in above-mentioned skilful plate recognition methods, the presupposed information is various, and every kind of presupposed information includes each described
The predeterminated position relation and pre-set color information of skilful plate correspondence figure, the skilful plate institute of each CF that the judgement is identified
The step of whether described image of composition matches with presupposed information includes:
Judge each skilful plate relative position relation whether with the predeterminated position relationship match, judge corresponding position
Each described skilful plate colouring information whether with pre-set color information matches.
Optionally, in above-mentioned skilful plate recognition methods, methods described also includes that the image constituted to each skilful plate is carried out
Filtering, excludes noise jamming.
Optionally, in above-mentioned skilful plate recognition methods, each skilful plate is shaped as triangle, square or parallel four side
Shape.
The present invention also provides a kind of skilful plate identifying device, for recognizing color, variform multiple skilful plates, described device
Including:
Image collection module:For obtaining the image that each skilful plate is constituted at interval of preset duration;
Identification module:CF for recognizing each skilful plate for constituting the described image for obtaining;
Judge module:The described image constituted for the skilful plate of each CF for judging to identify whether with it is default
Information matches, obtain judged result.
The present invention also provides a kind of electronic equipment, including:
The image collecting device being acquired to the image that multiple skilful plates are constituted;
The memory of the above-mentioned skilful plate identifying device that is stored with;
Carry out the processor of data processing;
Carry out the display device of display information;
The processor is connected respectively with described image harvester, memory and display device.
Optionally, in above-mentioned electronic equipment, the electronic equipment is without screen TV.
The present invention provides a kind of skilful plate recognition methods, device and electronic equipment, and each institute is obtained by interval of preset duration
The image that skilful plate is constituted is stated, identification constitutes the CF of each skilful plate of the described image for obtaining, each face that judgement is identified
Whether the described image that the skilful plate of color and shape is constituted matches with presupposed information, obtains judged result, effectively solves carrying out
When skilful plate is played, according to requiring to look up what is caused with the presence or absence of corresponding image in drawing after the completion of mosaic image or autonomous splicing
The problem of interest difference and real-time interactive difference.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only section Example of the invention, thus be not construed as it is right
The restriction of the scope of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other related accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is the block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Fig. 2 is a kind of schematic flow sheet of skilful plate recognition methods provided in an embodiment of the present invention.
Fig. 3 is the sub-step schematic diagram of step S140 in Fig. 2.
Fig. 4 is another sub-step schematic diagram of step S140 in Fig. 2.
Fig. 5 is a kind of module frame chart of skilful plate identifying device provided in an embodiment of the present invention.
Icon:10- memories;20- processors;30- image collecting devices;40- display devices;The skilful plate identification dresses of 100-
Put;120- image collection modules;140- identification modules;160- judge modules.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme applied to the present invention in example is clearly and completely described, it is clear that described embodiment is this
A part of embodiment is invented, rather than whole embodiments.The embodiment of the present invention generally described and illustrated in accompanying drawing herein
Component can arrange and design with a variety of configurations.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model of present invention protection
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.
In the description of the invention, in addition it is also necessary to explanation, unless otherwise clearly defined and limited, term " setting ",
" connection " should be interpreted broadly, for example, it may be being fixedly connected, or being detachably connected, or be integrally connected;Can be
Mechanically connect, or electrically connect;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, can be two
The connection of element internal.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood in the present invention
In concrete meaning.
As shown in figure 1, being the block diagram of a kind of electronic equipment provided in an embodiment of the present invention, it includes:Memory
10th, processor 20, image collecting device 30 and display device 40, be stored with skilful plate identifying device 100 in the memory 10.
Wherein, the memory 10 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 10 is used for storage program, and the processor 20 performs described program after execute instruction is received.
The processor 20 can be a kind of IC chip, the disposal ability with signal.Above-mentioned processor 20
Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made
Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group
Part.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor can be with
It is microprocessor or any conventional processor etc..
The skilful plate identifying device 100 is arranged in the memory 10, straight between the memory 10 and processor 20
Connect or be electrically connected with indirectly, to realize the transmission or interaction of data.The skilful plate identifying device 100 includes that at least one can be with
The software function module in the memory 10 is stored in the form of software or firmware (firmware), the processor 20 leads to
Cross operation software program of the storage in memory 10 and module, the skilful plate identifying device 100 such as in the embodiment of the present invention, from
And perform various function application and data processing, that is, realize the skilful plate recognition methods in the embodiment of the present invention.
Described image harvester 30 can be but not limited to camera, RF Reader or scanner, as long as can obtain
The image that each skilful plate is constituted.In the present embodiment, described image harvester 30 is camera.
The display device 40 can be but not limited to computer, TV, projecting apparatus, be set without the screen terminal such as TV or mobile phone
It is standby, as long as can display information.Optionally, in the present embodiment, the display device 40 is without screen TV.
The processor 20 is connected respectively with the memory 10, image collecting device 30 and display device 40, realizes number
According to interaction.
It is appreciated that the structure shown in Fig. 1 is only to illustrate, realize that the electronic equipment that video shows may also include than in Fig. 1
Shown more or less components, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be used
Hardware, software or its combination are realized.
Incorporated by reference to Fig. 2, a kind of skilful plate recognition methods that the present invention is provided, the method is used to recognizing color, variform
Multiple skilful plates.Methods described includes step S120, step S140 and tri- steps of step S160.
Step S120:The image that each skilful plate is constituted is obtained at interval of preset duration.
The preset duration can be arbitrary, can be several milliseconds, several seconds, be not specifically limited herein, according to reality
Border demand is configured.It should be noted that in the present embodiment, the color of each skilful plate is different.Each skilful plate
Shape can be parallelogram, rectangle, square, triangle, hexagon or circle etc., be not specifically limited herein,
Chosen according to the actual requirements.
Step S140:Identification constitutes the CF of each skilful plate of the described image for obtaining.
By recognize constitute obtain described image be can obtain each skilful plate shape and color and skilful plate in the picture
Correspondence position.
Incorporated by reference to shown in Fig. 3, optionally, the step of identification constitutes the shape of each skilful plate of the described image for obtaining include step
Rapid S141, step S142, step S143, step S144 and the sub-steps of step S145 five.
Sub-step S141:The described image of acquisition is converted into hexagonal pyramid model color space image.
The hexagonal pyramid model space image is made up of tone, three parameters of saturation degree and brightness, acquisition it is described
Image is under normal circumstances RGB color image, and RGB color space figure seems three kinds of phases of color difference component of red, green, blue
Plus mix, hexagonal pyramid model space image is converted into so that the color in each region by by the image of RGB color
It is more directly perceived so as to directly directly be divided to the corresponding region of each color.
Sub-step S142:The region of different colours in the hexagonal pyramid model color space image is obtained, multiple is obtained
The image that the figure of the figure of different colours and multiple different colours is constituted.
Sub-step S143:Straight-line detection is carried out to each figure and obtains multiple angle points.
A plurality of straight line corresponding with the figure is obtained by carrying out straight-line detection to described image, adjacent two is obtained directly
Line intersects the angle point for obtaining.
Sub-step S144:Connect the profile that the multiple angle point obtains each figure.
When the multiple angle point is connected, the corresponding angle point of each figure need to be determined, and determine each figure correspondingly in angle point
Initial angle point and end angle point, press clock-wise order or sequence counter-clockwise are sequentially connected each angle point from initial angle point to ending corner
The profile of each figure is obtained, wherein initial angle point and end angle point are same angle point.
Sub-step S145:SHAPE DETECTION is carried out to the profile of each figure and obtains skilful plate shape corresponding with each figure
Shape.
In the present embodiment, optionally, the skilful plate is that the quantity of seven-piece puzzle namely the skilful plate is 7, each described skilful
Plate is shaped as triangle, parallelogram, rhombus or square.The color of each skilful plate is different.
Incorporated by reference to Fig. 4, optionally, the step of identification constitutes the color of each skilful plate of the described image for obtaining include step
The sub-steps of S151- steps S159 nine.
Sub-step S151:Coordinate system is set up in the image of each figure constitution and the preset in institute's figure is obtained
Coordinate information.
The quantity of the preset can be one, or multiple.The position of the preset can be the figure
The point of the optional position in shape, or the angle point of the figure.In the present embodiment, the preset is the figure
Angle point, the quantity of the preset is identical with the quantity of the angle point.During the figure can be obtained by setting up coordinate system
The relative co-ordinate information of each preset.
Sub-step S152:The coordinate information of the preset in the figure judges that the position between each figure is closed
Whether system is adjacent.
Specifically, the angle point by obtaining the figure, and calculated to obtain angle point according to the relative position of angle point
The relative position relation of corresponding figure, for example:The coordinate of angle point that can be in different graphic obtains vector and is counted
Calculation obtains whether position relationship is adjacent.
Sub-step S153:The figure for extracting two adjacent different colours of position relationship is combined to form chromaticity diagram.
Sub-step S154:The chromaticity diagram is changed to Lab color spaces and the color component of a passages is obtained.
Sub-step S155:The color component of a passages is carried out after binary conversion treatment processed using gray scale algorithm
Chromaticity diagram.
Sub-step S156:Morphological erosion is carried out to the chromaticity diagram after the treatment and expansion process obtains accurate color figure simultaneously
Carry out straight-line detection.A plurality of straight line is obtained after straight-line detection is carried out.
Sub-step S157:Pre-conditioned a plurality of straight line is met according to the selection of corner relation and obtains polygon.
The pre-conditioned straight line to meet corner relation, for example:The figure constituted when each straight line intersection is triangle
During shape, if meet the corner relation of equilateral triangle or isosceles right triangle;When the figure for constituting is quadrangle, if
Meet the corner relation of square or parallelogram or rhombus.
Sub-step S158:Remove and obtained by the figure of single color filling by the region that multiple color is filled.
Sub-step S159:Skilful plate color corresponding with the figure is obtained according to by the figure of single color filling.
The correspondence position of the shape, color and each skilful plate of each skilful plate in image can be obtained by above-mentioned setting.
Step S160:The described image that the skilful plate of each CF that judgement is identified is constituted whether with presupposed information
Matching, obtains judged result.
The presupposed information for various, every kind of presupposed information include the predeterminated position relation of each skilful plate correspondence figure and
Pre-set color information, the described image that the skilful plate of each CF that the judgement is identified is constituted whether with presupposed information
The step of matching, includes:Judge each skilful plate relative position relation whether with the predeterminated position relationship match, judge phase
Answer each described skilful plate at position colouring information whether with pre-set color information matches.
Specifically, the present invention be achieved in that skilful plate constitute image in detect a figure after, one, obtain
After the corresponding color of test pattern and the angle point arranged by clocking sequence, with the colouring information and on time in presupposed information
The tactic angle point information of pin is mapped.2nd, judge whether the adjacent skilful plate of test pattern is adjacent with mapped graphics
Skilful plate is corresponding, labeled as test pattern if correspondence.3rd, repeat step two is until all figures of the image that skilful plate is constituted
All detections are completed, and obtain testing result.
Because described image harvester 30 is in the image process that each skilful plate is constituted is gathered, exist many unstable
Factor influence whether shoot image, destabilizing factor can be photoenvironment such as daytime, evening, high light or dim light etc., and also
Can around furnish shade or the shadow of the object on the image that each skilful plate is constituted shade on this image etc., these
Factor can influence the image that each skilful plate that image collecting device 30 is collected is constituted, therefore be gathered in described image harvester 30
Need to carry out denoising after the image constituted to each skilful plate.In the present embodiment, optionally, the skilful plate recognition methods
Also include step S130.
Step S130:The image that each skilful plate is constituted is filtered, noise jamming is excluded.
In the present embodiment, carrying out denoising to the image that each skilful plate is constituted can be using Gamma corrections and histogram
Equalization, Gamma corrections are the standardization that color space is carried out to input picture, to adjust the contrast of image, reduce image
Influence caused by local shade and illumination variation, while the interference of noise can be suppressed.Histogram equalization is to image
Gray level more than middle number of pixels enters line broadening, and the gray level few to number of pixels in image is compressed, so as to extend as former
The dynamic range of value, improves contrast and increases the change stratum of gray scale, becomes apparent from image.By using above two
Method is processed image so that the better quality of the image that each skilful plate is constituted.
On the basis of the above method, when carrying out skilful plate game, display device 40 can show the skilful plate of different complexities
Pattern, for example:Easily, it is medium and it is difficult three game level in any one level any skilful plate pattern.Carry out easy level
Shi Suoshu display devices 40 show color, shape, the position of each skilful plate.The display device 40 during medium level is carried out to show
The shape of subregion is shown.40 shapes of display whole pattern of display device during difficult level are carried out, to each plank
CF all shield.In addition when skilful plate game is carried out, display device 40 can also be without carrying out any display, use
Family can be spliced according to the imagination.In user carries out skilful plate game splicing, described image harvester 30 is at interval of pre-
If duration can gather the image that each skilful plate is spliced to form, the processor 20 receives the image of each skilful plate composition and is known
Other and judgement.If the image that each skilful plate put is constituted has met the knot of the regional area of the skilful plate pattern in presupposed information
Structure, the control display device 40 display interface of processor 20 is simultaneously accordingly putting correct area flicker prompting.When detection institute
When the image for having skilful plate to constitute correctly is well placed completely, the control display device 40 of processor 20 points out whole game over,
So as to realize real-time interactive.
User is caused when skilful plate game is carried out by above-mentioned setting, the enjoyment of real-time interactive in game journey can be experienced
The thinking and exercise come with difficulty different band, so as to effectively lift the interest of skilful plate game, guiding user gives the rein to imagination.
As shown in figure 5, Fig. 5 is the module frame chart of a kind of skilful plate identifying device 100 that the present invention is provided, the skilful plate identification
Device 100 includes image collection module 120, identification module 140 and judge module 160.
Described image acquisition module 120 is used to obtain the image that each skilful plate is constituted at interval of preset duration.On institute
The description of the step of detailed description for stating image collection module 120 specifically refers to the embodiment of the present invention to shown in Fig. 2 S120.
That is, the realization principle of described image acquisition module 120 is similar with the step S120, more explanations are not made herein.
Identification module 140 is used to recognize the CF of each skilful plate for constituting the described image for obtaining.On the knowledge
The description of the step of detailed description of other module 140 specifically refers to the embodiment of the present invention to shown in Fig. 2 S140.That is, institute
The realization principle for stating identification module 140 is similar with the step S140, does not make more explanations herein.
Judge module 160 be used to judging described image that the skilful plate of each CF for identifying constituted whether with advance
If information matches, judged result is obtained.Detailed description on the judge module 160 specifically refers to the embodiment of the present invention pair
The step of shown in Fig. 2 S160 description.That is, the realization principle of the judge module 160 is similar with the step S160,
This does not make more explanations.
To sum up, the present invention is provided a kind of skilful plate recognition methods, device and electronic equipment, for recognizing color, shape not
The skilful plates of same multiple.Electronic equipment is deposited by setting memory 10, processor 20, image collecting device 30 and display device 40
Be stored with skilful plate identifying device 100 in reservoir 10, and the skilful plate identifying device 100 is by setting image collection module 120, identification
Module 140 and judge module 160 cause that user, when skilful plate game is carried out, can realize real-time interactive, carry out complexity not
User's imagination is excited with the game of skilful plate, effectively the experience sense of enhancing user.
It is to be understood that disclosed method, device, it is also possible to realize by another way.Dress described above
It is only schematical to put embodiment, for example, the flow chart and block diagram in accompanying drawing show and fill according to an embodiment of the invention
Put, the architectural framework in the cards of method and computer program product, function and operation.At this point, flow chart or block diagram
In each square frame can represent a part for module, program segment or code, one of the module, program segment or code
Subpackage is used for the executable instruction of the logic function that realization specifies containing one or more.It should also be noted that at some as replacement
Implementation in, the function of being marked in square frame can also with different from the order marked in accompanying drawing occur.For example, two
Continuous square frame can essentially be performed substantially in parallel, and they can also be performed in the opposite order sometimes, and this is according to involved
Function depending on.It is also noted that the side in each square frame and block diagram and/or flow chart in block diagram and/or flow chart
The combination of frame, can be realized with the function of regulation or the special hardware based system of action is performed, or can be with specially
Realized with the combination of computer instruction with hardware.
In addition, each functional module in embodiments of the present invention can integrate to form an independent part,
Can be modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
It should be noted that herein, the relational terms of such as first, second, third and fourth or the like are used merely to one
Entity or operation make a distinction with another entity or operation, and between not necessarily requiring or implying these entities or operate
There is any this actual relation or order.And, term " including " or any other variant be intended to it is non-exclusive
Property include so that process, method, article or equipment including a series of key elements not only include those key elements, and
Also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or equipment
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including described
Also there is other identical element in the process of key element, method, article or equipment.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of skilful plate recognition methods, for recognizing color, variform multiple skilful plates, it is characterised in that methods described bag
Include:
The image that each skilful plate is constituted is obtained at interval of preset duration;
Identification constitutes the CF of each skilful plate of the described image for obtaining;
Whether the described image that the skilful plate of each CF that judgement is identified is constituted matches with presupposed information, is judged
As a result.
2. skilful plate recognition methods according to claim 1, it is characterised in that identification constitutes each skilful of the described image of acquisition
The step of shape of plate, includes:
The described image of acquisition is converted into hexagonal pyramid model color space image;
Obtain the region of different colours in the hexagonal pyramid model color space image, obtain multiple different colours figure and
The image that the figure of multiple different colours is constituted;
Straight-line detection is carried out to each figure and obtains multiple angle points;
Connect the profile that the multiple angle point obtains each figure;
SHAPE DETECTION is carried out to the profile of each figure and obtains skilful plate shape corresponding with each figure.
3. skilful plate recognition methods according to claim 2, it is characterised in that identification constitutes each skilful of the described image of acquisition
The step of color of plate, includes:
Coordinate system is set up in the image of each figure constitution and the coordinate information of the preset in institute's figure is obtained;
The coordinate information of the preset in the figure judges whether the position relationship between each figure is adjacent;
The figure for extracting two adjacent different colours of position relationship is combined to form chromaticity diagram;
The chromaticity diagram is changed to Lab color spaces and the color component of a passages is obtained;
Color component to a passages carries out the chromaticity diagram after binary conversion treatment is processed using gray scale algorithm;
Morphological erosion is carried out to the chromaticity diagram after the treatment and expansion process obtains accurate color figure and carries out straight-line detection;
Pre-conditioned a plurality of straight line is met according to the selection of corner relation and obtains polygon;
Remove and obtained by the figure of single color filling by the region that multiple color is filled;
Skilful plate color corresponding with the figure is obtained according to by the figure of single color filling.
4. skilful plate recognition methods according to claim 3, it is characterised in that the preset in the figure is the figure
Angle point.
5. skilful plate recognition methods according to claim 4, it is characterised in that the presupposed information is every kind of default for various
Information includes the predeterminated position relation and pre-set color information of each skilful plate correspondence figure, each color that the judgement is identified
The step of whether described image constituted with the skilful plate of shape matches with presupposed information includes:
Judge each skilful plate relative position relation whether with the predeterminated position relationship match, judge each of corresponding position
The colouring information of the skilful plate whether with pre-set color information matches.
6. skilful plate recognition methods according to claim 5, it is characterised in that methods described also includes to each skilful plate structure
Into image be filtered, exclude noise jamming.
7. skilful plate recognition methods according to claim 1, it is characterised in that each skilful plate is shaped as triangle, just
Square or parallelogram.
8. a kind of skilful plate identifying device, for recognizing color, variform multiple skilful plates, it is characterised in that described device bag
Include:
Image collection module:For obtaining the image that each skilful plate is constituted at interval of preset duration;
Identification module:CF for recognizing each skilful plate for constituting the described image for obtaining;
Judge module:The described image constituted for the skilful plate of each CF for judging to identify whether with presupposed information
Matching, obtains judged result.
9. a kind of electronic equipment, it is characterised in that including:
The image collecting device being acquired to the image that multiple skilful plates are constituted;
The memory of the skilful plate identifying device described in the claim 7 that is stored with;
Carry out the processor of data processing;
Carry out the display device of display information;
The processor is connected respectively with described image harvester, memory and display device.
10. electronic equipment according to claim 9, it is characterised in that the electronic equipment is without screen TV.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710015020.XA CN106709959B (en) | 2017-01-09 | 2017-01-09 | method and device for recognizing chocolate plate and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710015020.XA CN106709959B (en) | 2017-01-09 | 2017-01-09 | method and device for recognizing chocolate plate and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106709959A true CN106709959A (en) | 2017-05-24 |
CN106709959B CN106709959B (en) | 2019-12-17 |
Family
ID=58907170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710015020.XA Active CN106709959B (en) | 2017-01-09 | 2017-01-09 | method and device for recognizing chocolate plate and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106709959B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108198226A (en) * | 2018-01-10 | 2018-06-22 | 广东辰宜信息科技有限公司 | A kind of ceramic color recognition methods, electronic equipment, storage medium and device |
CN110569907A (en) * | 2019-09-10 | 2019-12-13 | 网易(杭州)网络有限公司 | method and device for identifying splicing pattern, computer storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6708973B1 (en) * | 2003-02-20 | 2004-03-23 | Edwin A. Hall, Jr. | Puzzle device and method of using |
CN104680519A (en) * | 2015-02-06 | 2015-06-03 | 四川长虹电器股份有限公司 | Seven-piece puzzle identification method based on contours and colors |
CN105718054A (en) * | 2016-01-18 | 2016-06-29 | 天词信息科技(上海)有限公司 | Non-contact intelligent terminal control method, device and system of augmented reality object |
CN106228195A (en) * | 2016-08-08 | 2016-12-14 | 华南理工大学 | A kind of a seven-piece puzzle pattern recognition method based on image procossing |
-
2017
- 2017-01-09 CN CN201710015020.XA patent/CN106709959B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6708973B1 (en) * | 2003-02-20 | 2004-03-23 | Edwin A. Hall, Jr. | Puzzle device and method of using |
CN104680519A (en) * | 2015-02-06 | 2015-06-03 | 四川长虹电器股份有限公司 | Seven-piece puzzle identification method based on contours and colors |
CN105718054A (en) * | 2016-01-18 | 2016-06-29 | 天词信息科技(上海)有限公司 | Non-contact intelligent terminal control method, device and system of augmented reality object |
CN106228195A (en) * | 2016-08-08 | 2016-12-14 | 华南理工大学 | A kind of a seven-piece puzzle pattern recognition method based on image procossing |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108198226A (en) * | 2018-01-10 | 2018-06-22 | 广东辰宜信息科技有限公司 | A kind of ceramic color recognition methods, electronic equipment, storage medium and device |
CN108198226B (en) * | 2018-01-10 | 2022-04-26 | 广东辰宜信息科技有限公司 | Ceramic color identification method, electronic equipment, storage medium and device |
CN110569907A (en) * | 2019-09-10 | 2019-12-13 | 网易(杭州)网络有限公司 | method and device for identifying splicing pattern, computer storage medium and electronic equipment |
CN110569907B (en) * | 2019-09-10 | 2022-03-04 | 网易(杭州)网络有限公司 | Method and device for identifying splicing pattern, computer storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106709959B (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Veas et al. | Directing attention and influencing memory with visual saliency modulation | |
US20170153711A1 (en) | Visual Language for Human Computer Interfaces | |
CN108830294A (en) | A kind of augmentation method of image data | |
CN107204034B (en) | A kind of image processing method and terminal | |
CN107134005A (en) | Illumination adaptation method, device, storage medium, processor and terminal | |
CN105719318A (en) | Educational toy set and HSV based color identification method for Rubik's cube | |
US10643090B2 (en) | Method and device for guiding users to restore Rubik's cube | |
CN107506701B (en) | Automatic go chess manual recording method based on video recognition technology | |
CN103473950A (en) | Parking lot parking space monitoring method | |
US20170100661A1 (en) | Vision system for monitoring board games and method thereof | |
US10115333B2 (en) | Image display method and display apparatus | |
CN102084397A (en) | Image processing device, method, and program | |
CN106709959A (en) | Puzzle identification method and device and electronic equipment | |
CN109949248B (en) | Method, apparatus, device and medium for modifying color of vehicle in image | |
CN107506738A (en) | Feature extracting method, image-recognizing method, device and electronic equipment | |
CN104822069B (en) | A kind of image information detecting method and device | |
KR102082766B1 (en) | Method and apparatus for distinguishing objects | |
CN106874012A (en) | Theme background method to set up, device and electronic equipment | |
CN107115094A (en) | Amblyopia detecting system | |
CN105872516A (en) | Method and device for obtaining parallax parameters of three-dimensional film source | |
CN110533678B (en) | Image processing method for screening feature targets based on FPGA frame parallel connected domain | |
CN109189246B (en) | Method, device and system for processing scribbled content on handwriting board | |
LU102950B1 (en) | Tobacco plant counting method based on uav remote sensing technology and image processing technology | |
CN107181938B (en) | Image display method and equipment, image analysis method, equipment and system | |
CN107423310A (en) | The display methods and device of statistics in a kind of broadcast platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 610094 Tianfu Software Park Area A, 1129 Century City Road, Chengdu High-tech Zone, Sichuan Province Applicant after: Chengdu Jimi Technology Co., Ltd. Address before: No. 1129 Tianfu Software Park A District Century City high tech Zone of Chengdu City, Sichuan Province Road 610000 7 5 storey building No. 501 Applicant before: CHENGDU XGIMI TECHNOLOGY CO., LTD. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |