CN110286095A - Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test - Google Patents

Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test Download PDF

Info

Publication number
CN110286095A
CN110286095A CN201910652059.1A CN201910652059A CN110286095A CN 110286095 A CN110286095 A CN 110286095A CN 201910652059 A CN201910652059 A CN 201910652059A CN 110286095 A CN110286095 A CN 110286095A
Authority
CN
China
Prior art keywords
data
module
color
genuine
data processing
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.)
Pending
Application number
CN201910652059.1A
Other languages
Chinese (zh)
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.)
Heilongjiang Tobacco Cos Harbin Co
Original Assignee
Heilongjiang Tobacco Cos Harbin Co
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 Heilongjiang Tobacco Cos Harbin Co filed Critical Heilongjiang Tobacco Cos Harbin Co
Priority to CN201910652059.1A priority Critical patent/CN110286095A/en
Publication of CN110286095A publication Critical patent/CN110286095A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/27Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands using photo-electric detection ; circuits for computing concentration

Landscapes

  • Physics & Mathematics (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Pathology (AREA)
  • Immunology (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test.Genuine-fake cigarette identification is time-consuming, laborious caused by market inspection link lacks electronic instrument and equipment.The present invention obtains the color information of cigarette packing box specific position by color recognition acquisition module;The data informations such as color, the brightness acquired by original data processing resume module color recognition acquisition module;By data transmission module, the data after original data processing resume module are transferred to data processing module;By data processing module, cell phone application will be uploaded to by USB data line by simply dealt initial data, and implement interim storage;By network transmission module, the data after handset processes are transmitted to cloud server, while obtaining the initial data of the secondary inspection from cloud server, provide identification of cigarettes guidance content with identification algorithm verifying;And recognition result is shown by mobile phone display screen and mobile phone loudspeaker.The present invention identifies accuracy rate height, and it is fast to identify speed.

Description

Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test
Technical field
The present invention relates to a kind of genuine-fake cigarette identifying systems, and in particular to a kind of genuine-fake cigarette identification based on color identification System.
Background technique
The important link of sale monopoly market surpervision synergy is exactly to improve working efficiency within the review time of unit market, increase It checks item number, promote work accuracy rate.In routine monitoring, diversity, the complexity of diagnostic test of cigarette commodity, it is desirable that Sale monopoly inspector must grasp genuine-fake cigarette comprehensively and identify technical ability, and the cigarette commodity number that the country is sold in pin or once is with ten thousand Kind, this needs inspector to put into a large amount of time and efforts study relevant knowledge, high, the time-consuming occupancy of input cost A large amount of work and study time.
Sale monopoly market, which checks, at present generallys use the genuine-fake cigarette identification method (that is: sensory identification method) that do not seal off, and improves Sense organ distinguishing ability mostly uses the training method for explanation of giving lessons, anti-fake point, production type, packaging for a certain specific trade mark The explanation of material characteristics, print characteristics etc. special topic and practical operation rehearsal, but genuine piece cigarette product is with renovation of production process, packaging The composite factors such as device upgrade, the integration of product line, the sense organ diagnostic characteristics that inspector has skillfully grasped can also occur partially Difference, and on the verge of being replaced at any time identifies result of training as technical ability was successively decreased using the time.
Currently, production of cigarettes machine multiplicity of poor quality, product quality is also irregular, especially in recent years, the production of false smoke Quality increases, and a large amount of height imitates product, turns over product appearance of contracting for fixed output quotas, and checks that work belt carrys out more difficulty for our market.It is logical It crosses traditional sense organ discrimination method and cigarette is implemented to identify, the vocational skills grasp amount of line sale monopoly inspector is presented and is incremented by Trend, artificial identification are more time-consuming, laborious.Even implement when sense organ identification same inspector also can because different light, When different time, different fatigue degree, there is the variation of working efficiency and accuracy rate, even if we continue to increase training dynamics, Advanced experience is absorbed, can not still accomplish to identify 80% or more accuracy rate for the first time, designs a kind of side that can identify false smoke thus Method and equipment are to solve the problems, such as that genuine-fake cigarette identifies time-consuming, laborious in the inspection of market.
Summary of the invention
The purpose of the present invention is to solve lack identification of cigarettes side unified and with public credibility in Vehicles Collected from Market inspection Formula, method and design, emphasis in use solves market and checks that link lacks genuine-fake cigarette caused by electronic instrument and equipment Identify time-consuming, laborious problem, by proposing a kind of portable genuine-fake cigarette identifying system based on colour identification test, instrument And method.
A kind of portable genuine-fake cigarette identifying system based on colour identification test implements cigarette using color identification method The true and false identifies, and the system includes color recognition acquisition module, power management module, chargeable power supply module, original Data processing module, data transmission module, network transmission module, data processing module, display module and data memory module; Original data processing module connects color recognition acquisition module, power management module and power supply module, power module connection Color recognition acquisition module, original data processing module connect data processing module, data processing mould by data transmission module Block connects network transmission module, display module and data memory module;Wherein,
Color recognition acquisition module, for obtaining cigarette package color information;
Power management module, for stablizing with voltage, electric current is guaranteed, color value is stablized;
Chargeable power supply module for providing electricity and burning voltage, and can charge online at any time;
Original data processing module, the data informations such as color, brightness for handling the acquisition of color recognition acquisition module;
Data transmission module realizes number between the two for connecting original data processing module and data processing module According to transmission;
Network transmission module, for carrying out data transmission between cloud server;
Data processing module, for the data come from the reception of original data processing module to be calculated and are identified, and will It calculates and recognition result is stored to data memory module;
Display module, for showing the identified true and false as a result, and guidance content is shown to staff;
Data memory module receives the data of coming for storing from original data processing module;
Color display module, for verifying TCS230 equipment whether being capable of normal use.
A kind of portable genuine-fake cigarette identification instrument based on colour identification test, the identification instrument include shell, hide Light shield, the circuit board and engineering lithium battery that carry the portable genuine-fake cigarette identifying system based on colour identification test, carry The circuit board of portable genuine-fake cigarette identifying system based on colour identification test is fixedly installed in interior of shell, engineering lithium battery It installs inside the housing and is connected on circuit board and power for it, hood is mounted on one end of shell, and number is arranged in hood According to acquisition hole, data acquisition hole is located on the shell wall of shell, and charging hole, usb data string holes and one are also set up on the shell wall of shell Group button installing hole, data acquire the TCS230 that the portable genuine-fake cigarette identifying system based on colour identification test is installed in hole Acquisition module, charging hole and engineering lithium battery constitute access, usb data string holes with carry based on the portable of colour identification test The circuit board of formula genuine-fake cigarette identifying system constitutes access, installs power switch, one group of indicator light in one group of button installing hole, Power switch, one group of indicator light are connected to the portable genuine-fake cigarette identifying system based on colour identification test.
A kind of genuine-fake cigarette recognition methods based on colour identification test, the recognition methods are realized by following steps:
Step 1: obtaining the color information of cigarette packing box specific position by color recognition acquisition module;
Step 2: the data such as color, brightness for being acquired by original data processing resume module color recognition acquisition module Information;
Step 3: the data after original data processing resume module are transferred to data processing by data transmission module Module;
Step 4: by data processing module hand will be uploaded to by USB data line by simply dealt initial data Machine APP implements interim storage;
Step 5: by network transmission module, the data after handset processes are transmitted to cloud server, while from cloud Server obtains the initial data of the secondary inspection, provides identification of cigarettes guidance content with identification algorithm verifying;And it is aobvious by mobile phone Display screen and mobile phone loudspeaker show recognition result;
Wherein, ensure that chargeable power supply module voltage, electric current are stablized by power management module;And by chargeable Power supply module provides electricity and burning voltage, and realizes online charging at any time.
The invention has the benefit that
The present invention is portable genuine-fake cigarette identifying system, instrument and the method based on colour identification test of design, portable Color recognition acquisition module, power management module, chargeable power supply mould of the formula genuine-fake cigarette identifying system by design Block, original data processing module, data transmission module, network transmission module, data processing module, display module and data are deposited Store up module;And the cooperation of each intermodule: original data processing module connects color recognition acquisition module, power management module With power supply module, power module connects color recognition acquisition module, and original data processing module passes through data transmission module Data processing module is connected, data processing module connects network transmission module, display module and data memory module, realizes cigarette The identification function of box color.And the present invention has the advantages that color color recognition feasibility is high, fast to color verifying speed, It can complete test when low precision within 1 second, high-precision time-consuming 4 seconds or so, tell truth from falsehood used time contracting than existing artificial observation method Short 20 seconds or more.And color recognition identifies accuracy 96% or more, even if the detection of low accurate facility can also accomplish 90% for the first time Above identification accuracy rate.
Detailed description of the invention
Fig. 1 is portable genuine-fake cigarette identifying system schematic diagram of the present invention;
Fig. 2 is color recognition module circuit diagram of the present invention;
Fig. 3 is the schematic diagram of color recognition module of the present invention;
Fig. 4 is the structural schematic diagram of the portable genuine-fake cigarette identification instrument of the present invention based on colour identification test.
Specific embodiment
Specific embodiment 1:
The portable genuine-fake cigarette identifying system of present embodiment, as shown in Figure 1, implementing to roll up using color identification method The cigarette true and false identifies, and the system includes color recognition acquisition module, power management module, chargeable power supply module, original Beginning data processing module, data transmission module, network transmission module, data processing module, display module and data store mould Block;Original data processing module connects color recognition acquisition module, power management module and power supply module, power module Color recognition acquisition module is connected, original data processing module is by data transmission module connection data processing module, at data Manage module connection network transmission module, display module and data memory module;Wherein,
Color recognition acquisition module, for obtaining cigarette package item (box) color information;
Power management module, for stablizing with voltage, electric current is guaranteed, color value is stablized;
Chargeable power supply module for providing electricity and burning voltage, and can charge online at any time;
Original data processing module, the data informations such as color, brightness for handling the acquisition of color recognition acquisition module;
Data transmission module realizes number between the two for connecting original data processing module and data processing module According to transmission;
Network transmission module passes through Internet and local data for carrying out data transmission between cloud server It disposes simultaneously;
Data processing module, for the data come from the reception of original data processing module to be calculated and are identified, and will It calculates and recognition result is stored to data memory module;
Display module, for showing the identified true and false as a result, and guidance content is shown to staff;
Data memory module receives the data of coming for storing from original data processing module;
Color display module, for verifying TCS230 equipment whether being capable of normal use.
Specific embodiment 2:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the identifying system are also wrapped Voice prompting function is included, voice reminder is built in cell phone software.
Specific embodiment 3:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the color recognition acquisition Module selects TCS230 acquisition module, as shown in Figures 2 and 3.
Specific embodiment 4:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the power management module Select 18650 power modules.18650 power modules and the power supply module stitch of TCS230 module are welded.
Specific embodiment 5:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the chargeable electric power supply Module is answered to select engineering lithium power supply.
Specific embodiment 6:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the original data processing Module, which is selected, uses 32 embedded type CPU core RM kernel STM32, and processing capacity is strong.
Specific embodiment 7:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the data transmission module Usbhost or bluetooth approach is selected to realize function.
When selecting Usbhost to carry out data transmission, the FFt232 serial ports (chip of mobile communication) and color of Usbhost It identifies acquisition module welding, realizes and host computer communication function;
Specific embodiment 8:
Portable genuine-fake cigarette identifying system of the present embodiment based on colour identification test, the network transmission module are logical It crosses Internet and server-side database while disposing.For mobile phone 4G network, mobile phone WIFI and local ephemeral data buffering Queue.
Specific embodiment 9:
The portable genuine-fake cigarette identifying system based on colour identification test of present embodiment, the data processing module Using mobile electronic terminal or the processor based on ARM kernel;Wherein,
Mobile electronic terminal is included one of the memory headroom of mobile phone, tablet computer or PC machine, by mobile phone hardware Equipment provides resource and implements to calculate and store, without additionally adding equipment;
Based on the processor of ARM kernel, stand-alone development specialized hardware calculation procedure is at high cost, needs to continue to optimize, volume Cigarette authentication data amount is excessive, it may be necessary to which continuous upgrading hardware equipment, cost is excessively high, and benefit is can be with continuous work, especially It is continued working when mobile phone does not have electricity;
The display module system mobile electronic terminal selects mobile phone or tablet computer;Wherein, it before assembling equipment, needs First calibration equipment state is wanted, is connect by 1602LCD screen with color collecting device, when stm32f103 is docked with 1602LCD Afterwards, 8 bit patterns, two rows are at, without cursor, flicker free, illustrate that equipment being capable of normal use.
The data memory module selects mobile electronic terminal to carry memory headroom.Mobile electronic terminal uses mobile phone ROM, server use SQL server2012 cloud storage (such as Ali's cloud).
Specific embodiment 10:
The portable genuine-fake cigarette identification instrument based on colour identification test of present embodiment, as shown in figure 4, the knowledge Other instrument includes shell 1, hood 2, the circuit board that carry the portable genuine-fake cigarette identifying system based on colour identification test 3 and engineering lithium battery 4, the circuit board 3 that carry the portable genuine-fake cigarette identifying system based on colour identification test is fixedly mounted Inside shell 1, engineering lithium battery 4 is mounted on 1 inside of shell and is connected on circuit board 3 and powers for it, and hood 2 is installed In one end of shell 1, setting data acquire hole 5 in hood 2, and data acquisition hole 5 is located on the shell wall of shell 1, shell 1 Charging hole 6, usb data string holes 7 and one group of button installing hole are also set up on shell wall, data are acquired installation in hole 5 and reflected based on color Determine the TCS230 acquisition module of the portable genuine-fake cigarette identifying system of method, charging hole 6 and engineering lithium battery 4 constitute access, Usb data string holes 7 constitutes access with the circuit board 3 that carry the portable genuine-fake cigarette identifying system based on colour identification test, 8, one groups of indicator lights 9 of power switch are installed, 8, one groups of indicator lights 9 of power switch are reflected with based on color in one group of button installing hole Determine the portable genuine-fake cigarette identifying system connection of method.
Specific embodiment 11:
The portable genuine-fake cigarette recognition methods based on colour identification test of present embodiment, the recognition methods pass through Following steps are realized:
Step 1: obtaining the color information of cigarette packing box specific position by color recognition acquisition module;
Step 2: the data such as color, brightness for being acquired by original data processing resume module color recognition acquisition module Information;
Step 3: the data after original data processing resume module are transferred to data processing by data transmission module Module;
Step 4: by data processing module hand will be uploaded to by USB data line by simply dealt initial data Machine APP implements interim storage.
Step 5: by network transmission module, the data after handset processes are transmitted to cloud server, while from cloud Server obtains the initial data of the secondary inspection, provides identification of cigarettes guidance content with identification algorithm verifying;And pass through mobile phone (either tablet computer) display screen and mobile phone (or tablet computer) carry loudspeaker and show recognition result;
Wherein, ensure that chargeable power supply module voltage, electric current are stablized by power management module;And by chargeable Power supply module provides electricity and burning voltage, and realizes online charging at any time.
Specific embodiment 12:
The portable genuine-fake cigarette recognition methods based on colour identification test of present embodiment, it is right in the step four The process that the data come are calculated and identified is received from original data processing module specifically:
1, colouring information is converted
The RGBC and equipment state letter that 2 scale coding of multiple groups respectively represents color are extracted by color recognition acquisition module Breath is transferred to cell phone application after data processing module processing is 10 binary datas;
Real smoke specific region color and false smoke particular color data to acquisition are extracted and are stored, and form basic volume Cigarette database;
2, color authentication schemes
To guarantee algorithm versatility, we have redefined algorithm core content, simplify to the formula used;
Using Euclidean distance is defined as:
According to RGBC data mode, the color data information group of additional cigarette true and false information is formed, it is specific calculating it The Euclidean distance of value;
After implementation general-purpose algorithm simplifies, implement Knn algorithm (nearest neighbor algorithm):
(1) genuine-fake cigarette database is reorganized;
(2) setting measuring and calculating cigarette commodity parameter K numerical value;
(3) priority query is set;
(4) the maximum distance Lmax in gained distance L and priority query is calculated;
(5) compare L and Lmax;
(6) ergodic data;
(7) it obtains the possibility probability of expert's conclusion, and is abstracted as final expert's conclusion;
3 and cell phone application operating scheme;
Cell phone application shows that mobile phone terminal only shows RGB color numerical value, and to cigarette to the color data acquired in real time Kind identifies after carrying out barcode scanning:
1), APP is able to carry out serial ports and opens and closes operation, guarantees that mobile phone (tablet computer) connects effectively with hand-held set;
2), brightness setting adjusts the brightness of TCS230 lamp bead, implements the high precision inspection for being directed to different colours;
3), white balance is arranged, and unified white balance is arranged when dispatching from the factory in equipment, when there is the reduction of color identification accuracy rate (especially light pearl brightness decay situation), school is white again, guarantees that color value is accurate;
4), brand scans, and treats sample survey and implements barcode scanning, realizes that different cultivars genuine-fake cigarette identifies;
5), differential test is implemented to identify, shows check conclusion to the data got;
6) false smoke, real smoke data, is written, sampling APP has the function of that false smoke sample and real smoke sample is written, helps perfect System database, the database after improving periodically implement data scrubbing, reject consistent information, and add its true and false probability and spy Sign classification;
4, the true and false classification numerical value of newest sample is written to server database:
1) serial ports receiving queue is worked out
Because the data that not can guarantee sender are continuous, need to repack the data of receiving cache queue, beat Packet function predominantly detects whether receiving queue has data, if so, data packing is carried out, if can guarantee the complete of data frame Property, the disconnected packet of no packet splicing, nothing, data are packaged function and can remove.
2) data are obtained
It sends data to obtain in transmit queue buffering, the frame period range of transmission is between 10~20ms, and be delayed 10ms It ensure that and send frame period at least 10ms;
5, white balance correction factory verification:
To guarantee that equipment detects the standard unification of color, needs to carry out white balance correction to operation equipment, establish unification Colour system.
The present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, this field Technical staff makes various corresponding changes and modifications in accordance with the present invention, but these corresponding changes and modifications should all belong to In the protection scope of the appended claims of the present invention.

Claims (10)

1. a kind of portable genuine-fake cigarette identifying system based on colour identification test, it is characterised in that: the system includes color Coloured silk identification acquisition module, power management module, chargeable power supply module, original data processing module, data transmission module, Network transmission module, data processing module, display module and data memory module;Original data processing module connects color recognition Acquisition module, power management module and power supply module, power module connect color recognition acquisition module, original data processing Module by data transmission module connect data processing module, data processing module connect network transmission module, display module and Data memory module;Wherein,
Color recognition acquisition module, for obtaining cigarette package color information;
Power management module, for stablizing with voltage, electric current is guaranteed, color value is stablized;
Chargeable power supply module for providing electricity and burning voltage, and can charge online at any time;
Original data processing module, the data informations such as color, brightness for handling the acquisition of color recognition acquisition module;
Data transmission module realizes that data between the two pass for connecting original data processing module and data processing module It is defeated;
Network transmission module, for carrying out data transmission between cloud server;
Data processing module for the data come from the reception of original data processing module to be calculated and identified, and will calculate It stores with recognition result to data memory module;
Display module, for showing the identified true and false as a result, and guidance content is shown to staff;
Data memory module receives the data of coming for storing from original data processing module.
2. the portable genuine-fake cigarette identifying system according to claim 1 based on colour identification test, it is characterised in that: institute The identifying system stated further includes voice prompting function, and voice reminder is built in cell phone software.
3. the portable genuine-fake cigarette identifying system according to claim 2 based on colour identification test, it is characterised in that: institute The color recognition acquisition module stated selects TCS230 acquisition module.
4. the portable genuine-fake cigarette identifying system according to claim 3 based on colour identification test, it is characterised in that: institute The chargeable power supply module stated selects engineering lithium power supply.
5. the portable genuine-fake cigarette identifying system according to claim 4 based on colour identification test, it is characterised in that: institute The original data processing module stated, which is selected, uses 32 embedded type CPU core RM kernel STM32.
6. the portable genuine-fake cigarette identifying system according to claim 5 based on colour identification test, it is characterised in that: institute The data transmission module stated selects Usbhost or bluetooth approach to realize function;When selecting Usbhost to carry out data transmission, The FFt232 serial ports and color recognition acquisition module of Usbhost welds, and realizes and host computer communication function.
7. the portable genuine-fake cigarette identifying system according to claim 6 based on colour identification test, it is characterised in that: institute The data processing module stated uses mobile electronic terminal or the processor based on ARM kernel;Wherein,
Mobile electronic terminal is included one of the memory headroom of mobile phone, tablet computer or PC machine;
The display module system mobile electronic terminal selects mobile phone or tablet computer;Wherein, before assembling equipment, elder generation is needed Calibration equipment state is connect by 1602 LCD screens with color collecting device, after stm32f103 is docked with 1602 LCD, It is at 8 bit patterns, two rows, without cursor, flicker free, illustrates that equipment being capable of normal use;
The data memory module selects mobile electronic terminal to carry memory headroom.
8. a kind of portable genuine-fake cigarette based on colour identification test that the system using any of the above-described claim obtains identifies Instrument, it is characterised in that: the identification instrument includes shell, hood, carries the portable volume based on colour identification test The circuit board and engineering lithium battery of cigarette authenticity identification system carry the portable genuine-fake cigarette identification system based on colour identification test The circuit board of system is fixedly installed in interior of shell, and engineering lithium battery is installed inside the housing and is connected on circuit board and supplies for it Electricity, hood are mounted on one end of shell, and setting data acquire hole in hood, and data acquisition hole is located on the shell wall of shell, Charging hole, usb data string holes and one group of button installing hole are also set up on the shell wall of shell, data acquire installation in hole and are based on color The TCS230 acquisition module of the portable genuine-fake cigarette identifying system of identification method, charging hole and engineering lithium battery constitute access, USB Data string hole constitutes access with the circuit board that carry the portable genuine-fake cigarette identifying system based on colour identification test, and one group is pressed On button mounting hole install power switch, one group of indicator light, power switch, one group of indicator light with based on the portable of colour identification test The connection of genuine-fake cigarette identifying system.
9. a kind of genuine-fake cigarette recognition methods based on colour identification test that the system using one of claim 1-7 carries out, Be characterized in that: the recognition methods is realized by following steps:
Step 1: obtaining the color information of cigarette packing box specific position by color recognition acquisition module;
Step 2: the data informations such as color, brightness for being acquired by original data processing resume module color recognition acquisition module;
Step 3: the data after original data processing resume module are transferred to data processing module by data transmission module;
Step 4: by data processing module mobile phone will be uploaded to by USB data line by simply dealt initial data APP implements interim storage;
Step 5: by network transmission module, the data after handset processes are transmitted to cloud server, while from cloud service Device obtains the initial data of the secondary inspection, provides identification of cigarettes guidance content with identification algorithm verifying;And pass through mobile phone display screen Recognition result is shown with mobile phone loudspeaker;
Wherein, ensure that chargeable power supply module voltage, electric current are stablized by power management module;And pass through chargeable electric power Supply module provides electricity and burning voltage, and realizes online charging at any time.
10. the portable genuine-fake cigarette recognition methods according to claim 9 based on colour identification test, it is characterised in that: In the step four, the process that the data come are calculated and identified is received to from original data processing module specifically:
Step 4 one, colouring information conversion:
The RGBC and device status information that 2 scale coding of multiple groups respectively represents color, warp are extracted by color recognition acquisition module Data processing module handles to be transferred to cell phone application after 10 binary datas;
Real smoke specific region color and false smoke particular color data to acquisition are extracted and are stored, and form basic cigarette number According to library;
Step 4 two, color authentication schemes:
The color data information group of additional cigarette true and false information is formed, to it according to RGBC data mode using Euclidean distance Calculate the Euclidean distance of particular value;
After implementation general-purpose algorithm simplifies, implement Knn algorithm:
(1) genuine-fake cigarette database is reorganized;
(2) setting measuring and calculating cigarette commodity parameter K numerical value;
(3) priority query is set;
(4) the maximum distance Lmax in gained distance L and priority query is calculated;
(5) compare L and Lmax;
(6) ergodic data;
(7) it obtains the possibility probability of expert's conclusion, and is abstracted as final expert's conclusion;
The operating scheme of step 4 three, cell phone application:
Cell phone application shows that mobile phone terminal only shows RGB color numerical value, and to cigarette kind to the color data acquired in real time Identify after carrying out barcode scanning:
1, APP is able to carry out serial ports and opens and closes operation, guarantees that mobile phone (tablet computer) connects effectively with hand-held set;
2, brightness setting adjusts the brightness of TCS230 lamp bead, implements the high precision inspection for being directed to different colours;
3, white balance is arranged, and unified white balance is arranged when dispatching from the factory in equipment, when there is the reduction of color identification accuracy rate, school again It is white, guarantee that color value is accurate;
4, brand scans, and treats sample survey and implements barcode scanning, realizes that different cultivars genuine-fake cigarette identifies;
5, differential test is implemented to identify, shows check conclusion to the data got;
6, false smoke, real smoke data is written, sampling APP has the function of that false smoke sample and real smoke sample is written, and helps sophisticated systems number According to library, the database after improving periodically implements data scrubbing, rejects consistent information, and add its true and false probability and tagsort;
Step 4 four, the true and false classification numerical value that newest sample is written to server database:
1) serial ports receiving queue is worked out:
The data of receiving cache queue are repacked, when detecting that receiving queue there are data, carry out data packing, and protecting The integrality of data frame is demonstrate,proved, no packet splicing, nothing are broken in the case where packet, and removal data are packaged function;
2) data are obtained:
It sends data to obtain in transmit queue buffering, between 10~20ms, delay 10ms guarantees the frame period range of transmission Transmission frame period at least 10ms;
Step 4 five, white balance correction factory verification:
White balance correction is carried out to operation equipment, establishes unified colour system, guarantees that the standard of equipment detection color is unified.
CN201910652059.1A 2019-07-18 2019-07-18 Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test Pending CN110286095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910652059.1A CN110286095A (en) 2019-07-18 2019-07-18 Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910652059.1A CN110286095A (en) 2019-07-18 2019-07-18 Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test

Publications (1)

Publication Number Publication Date
CN110286095A true CN110286095A (en) 2019-09-27

Family

ID=68023372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910652059.1A Pending CN110286095A (en) 2019-07-18 2019-07-18 Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test

Country Status (1)

Country Link
CN (1) CN110286095A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275150A (en) * 2020-02-11 2020-06-12 王娅雯 Management system suitable for AI anti-counterfeiting method
CN112634230A (en) * 2020-12-22 2021-04-09 陕西电器研究所 Multimedia quality measurement tracking system
CN117350313A (en) * 2023-10-08 2024-01-05 国家烟草质量监督检验中心 Cigarette checking method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1699978A (en) * 2004-05-11 2005-11-23 诺信公司 Apparatus and methods for high speed RGB color discrimination
CN102880853A (en) * 2012-08-03 2013-01-16 成都中医药大学 Network-based traditional Chinese medicine identification system and method
CN103512888A (en) * 2013-06-05 2014-01-15 北京化工大学 Cigarette packet seal defect detecting system based on image identification technology
CN103761511A (en) * 2014-01-17 2014-04-30 南京信息工程大学 Color face recognition method based on RGB color characteristic dual manifold discriminant analysis
CN203772754U (en) * 2014-03-20 2014-08-13 河北省烟草公司石家庄市公司灵寿县卷烟营销部 Equipment for detecting true or false appearance of cigarette
CN106896197A (en) * 2015-12-19 2017-06-27 重庆潘多拉酒店有限责任公司 A kind of portable belt liquor assessing instrument
CN107918852A (en) * 2017-11-21 2018-04-17 成都美美臣科技有限公司 For collecting the system and method for product data
CN111579505A (en) * 2020-04-23 2020-08-25 河南中烟工业有限责任公司 Cigarette packaging material color difference detection method based on digital image processing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1699978A (en) * 2004-05-11 2005-11-23 诺信公司 Apparatus and methods for high speed RGB color discrimination
CN102880853A (en) * 2012-08-03 2013-01-16 成都中医药大学 Network-based traditional Chinese medicine identification system and method
CN103512888A (en) * 2013-06-05 2014-01-15 北京化工大学 Cigarette packet seal defect detecting system based on image identification technology
CN103761511A (en) * 2014-01-17 2014-04-30 南京信息工程大学 Color face recognition method based on RGB color characteristic dual manifold discriminant analysis
CN203772754U (en) * 2014-03-20 2014-08-13 河北省烟草公司石家庄市公司灵寿县卷烟营销部 Equipment for detecting true or false appearance of cigarette
CN106896197A (en) * 2015-12-19 2017-06-27 重庆潘多拉酒店有限责任公司 A kind of portable belt liquor assessing instrument
CN107918852A (en) * 2017-11-21 2018-04-17 成都美美臣科技有限公司 For collecting the system and method for product data
CN111579505A (en) * 2020-04-23 2020-08-25 河南中烟工业有限责任公司 Cigarette packaging material color difference detection method based on digital image processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
候方 等: "图像检索中颜色特征提取方法的研究", 《中国传媒大学学报自然科学版》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275150A (en) * 2020-02-11 2020-06-12 王娅雯 Management system suitable for AI anti-counterfeiting method
CN112634230A (en) * 2020-12-22 2021-04-09 陕西电器研究所 Multimedia quality measurement tracking system
CN117350313A (en) * 2023-10-08 2024-01-05 国家烟草质量监督检验中心 Cigarette checking method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110286095A (en) Portable genuine-fake cigarette identifying system, instrument and method based on colour identification test
CN107945769A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN109919251A (en) A kind of method and device of object detection method based on image, model training
CN108229485A (en) For testing the method and apparatus of user interface
CN109142367A (en) A kind of lithium battery pole ear rosin joint detection method and tab welding detection system
CN107941330A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN107705296A (en) Display screen test system, display screen method of testing and equipment
CN110232405A (en) Method and device for personal credit file
CN104978946A (en) Display device backlight self-adaptive adjusting method and apparatus
CN106526457A (en) Circuit board detection instrument and system
CN108764640A (en) A kind of personalized dynamic teaching diagnosis and the system of improvement based on big data
CN111597804A (en) Entity recognition model training method and related device
CN112613438A (en) Portable online citrus yield measuring instrument
CN113935364A (en) Unmanned aerial vehicle flame detection method and system based on YOLOv4 network
CN208224474U (en) Electro-metering equipment fault monitoring device
CN107844338A (en) Application program management-control method, device, medium and electronic equipment
CN107610260B (en) Intelligent attendance system and attendance method based on machine vision
CN109187547A (en) Lithium battery pole ear solder joint welds broken detection method and tab welding detection system
CN209248587U (en) The second-hand self-service recycling machine of mobile phone
KR20190118353A (en) (Power measurement and analysis system of mobile device and method thereof
CN106844264A (en) A kind of mobile terminal
CN104200560A (en) General portable multi-currency note checking method and device based on Bluetooth communication
CN110751055A (en) Intelligent manufacturing system
CN109187546A (en) Lithium battery pole ear mixes detection method and tab welding detection system
CN202421107U (en) Parameter testing system for gas sensitive element

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190927

WD01 Invention patent application deemed withdrawn after publication