

技术领域technical field
本发明涉及喷码与语音识别领域,尤其涉及一种快速录入登记条盒卷烟32位喷码的方法。The invention relates to the field of coding and speech recognition, in particular to a method for quickly entering and registering 32-bit coding of cigarettes in a registration box.
背景技术Background technique
国家局要求对查获真品卷烟的32位激光码全部进行识别、抄录,并在立案后48小时内上报。而人工辨识难度大,效率低,该项目主要针对这一特点考虑AI辅助技术实现智能识别,实现真品卷烟32位激光码的高效、准确识别,并快速录入。The National Bureau requires all the 32-digit laser codes of the seized genuine cigarettes to be identified and transcribed, and reported within 48 hours after the case is filed. However, manual identification is difficult and inefficient. The project mainly considers AI-assisted technology to realize intelligent identification based on this feature, realize efficient and accurate identification of genuine cigarette 32-bit laser code, and quickly enter it.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是针对以上不足,提供一种录入登记条盒卷烟32位喷码的识别系统,实现32位喷码的高效率、低成本,随时随地登记录入。The technical problem to be solved by the present invention is to solve the above deficiencies, and to provide an identification system for entering and registering 32-bit coding of cigarettes, which can achieve high efficiency and low cost of 32-bit coding, and can log in anytime, anywhere.
为解决以上技术问题,本发明采用以下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:
一种录入登记条盒卷烟32位喷码的识别系统,包括展示层、应用层和数据层个,展示层包括PC端和APP,应用层包括权限管理、用户管理、语音识别、图像识别和查询统计,权限管理、用户管理、语音识别、图像识别和查询统计连接有JDBC,数据层包括MySQL,MySQL连接有系统数据库;An identification system for entering and registering 32-bit inkjet codes for cigarettes in a registration box includes a display layer, an application layer and a data layer. The display layer includes a PC terminal and an APP, and the application layer includes authority management, user management, voice recognition, image recognition and query. Statistics, authority management, user management, speech recognition, image recognition and query statistics are connected to JDBC, the data layer includes MySQL, and MySQL is connected to the system database;
所述PC端和APP通过网络连接有服务器;The PC terminal and the APP are connected to a server through a network;
所述APP用于喷码照片及语音采集,并上传至服务器;The APP is used for inkjet photo and voice collection, and uploaded to the server;
所述服务器用于对上传的喷码照片进行定位检测和32位喷码识别及语音的识别录入;且负责照片、识别结果以及32位喷码信息存储;The server is used for location detection, 32-bit inkjet recognition and voice recognition and input of uploaded inkjet photos; and is responsible for storing photos, recognition results and 32-bit inkjet information;
所述PC端用于对识别结果进行查询、修正及导出。The PC terminal is used for querying, revising and exporting the recognition result.
一种录入登记条盒卷烟32位喷码的识别系统的实现方法,包括以下步骤:A realization method of an identification system for entering and registering a 32-bit spray code of a cigarette in a registration box, comprising the following steps:
步骤1:根据查获的条盒卷烟通过APP创建卷宗,通过APP采集32位喷码照片,上传至服务器;Step 1: Create a dossier through the APP according to the seized cigarette case, collect 32-bit coding photos through the APP, and upload to the server;
步骤2:对喷码照片进行识别,并将识别结果存储于数据库中;Step 2: Identify the coding photos and store the identification results in the database;
步骤3:APP获取识别结果,并显示,如有错误可以查询修改;Step 3: The APP obtains the recognition result and displays it. If there is an error, you can query and modify it;
步骤4:通过PC端对识别结果进行查询导出,并对错误信息进行修改。Step 4: Query and export the identification results through the PC, and modify the error information.
进一步的,所述步骤1实现的具体过程如下:Further, the specific process realized in the step 1 is as follows:
步骤1.1:将服务器开启,等待APP和PC端发起请求;Step 1.1: Turn on the server and wait for the APP and PC to initiate a request;
步骤1.2:将APP开启,连接服务器,输入用户信息;Step 1.2: Open the APP, connect to the server, and enter user information;
步骤1.3:APP创建卷宗并采集32位喷码照片,上传至服务器并发起识别请求。Step 1.3: The APP creates a dossier and collects 32-bit coding photos, uploads it to the server and initiates an identification request.
进一步的,所述步骤2实现的具体过程如下:Further, the concrete process that described step 2 realizes is as follows:
步骤2.1:对32位码照片进行区域检测,确定包含喷码的图片区域;Step 2.1: Detect the area of the 32-bit code photo to determine the area of the image containing the code;
步骤2.2:对图片区域进行字符切分、字符识别以及字符拼接处理,得到识别结果;Step 2.2: Perform character segmentation, character recognition and character splicing processing on the picture area to obtain a recognition result;
步骤2.3:对识别结果进行检验,当包含卷烟喷码的图片区域有残缺时,识别结果的相应位置自动补位,并进行语义校验纠正。Step 2.3: Check the recognition result. When the picture area containing the cigarette code is incomplete, the corresponding position of the recognition result is automatically filled, and semantic verification is performed to correct it.
进一步的,所述步骤2中若32位喷码照片不清楚采用语音识别步骤如下:Further, in the step 2, if the 32-bit inkjet photo is unclear, the voice recognition steps are as follows:
步骤3.1:对32位码照片信息进行语音识别录入;Step 3.1: Voice recognition and input of 32-bit code photo information;
步骤3.2:对输入的语音信息进行识别字符切分、字符识别以及字符拼接处理,得到识别结果;Step 3.2: Perform recognition character segmentation, character recognition and character splicing processing on the input voice information to obtain a recognition result;
步骤3.3:对识别结果进行检验,当包含卷烟喷码的信息区域有残缺时,识别结果的相应位置自动补位,并进行语义校验纠正。Step 3.3: Check the recognition result. When the information area containing the cigarette code is incomplete, the corresponding position of the recognition result is automatically filled, and semantic verification and correction are performed.
进一步的,所述步骤4实现的具体过程如下:Further, the concrete process that described step 4 realizes is as follows:
步骤4.1:将PC端开启,连接服务器,获取用户信息,PC端向服务器发送查询请求,服务器接收PC端查询请求,根据查询条件读取数据库,并将识别结果发送给PC端,进行显示;Step 4.1: Turn on the PC side, connect to the server, obtain user information, the PC side sends a query request to the server, the server receives the PC side query request, reads the database according to the query conditions, and sends the identification result to the PC side for display;
步骤4.2:PC端将查询数据进行分行显示处理,并对明显有误、缺失的信息进行修改,发送修改请求至服务器;Step 4.2: The PC side will display the query data by branch, modify the obviously wrong and missing information, and send a modification request to the server;
步骤4.3:服务器接收修改请求,对数据库内信息进行修改,并返回处理结果;Step 4.3: The server receives the modification request, modifies the information in the database, and returns the processing result;
步骤4.4:PC端接收服务器的修改结果,若仍有错误,则继续修改校正,若无误,可选择PC端导出识别结果至本地文件。Step 4.4: The PC terminal receives the modification result of the server. If there are still errors, continue to modify and correct. If there are no errors, choose the PC terminal to export the recognition results to a local file.
本发明采用以上技术方案,与现有技术相比,具有如下技术效果:The present invention adopts the above technical scheme, compared with the prior art, has the following technical effects:
本发明实现真品卷烟32位激光码的高效、准确识别的登记录入,采集端不受区域的限制,有网络的地方可实现随时随地登记录入。The invention realizes the efficient and accurate identification of the 32-bit laser code of genuine cigarettes, the collection end is not limited by the area, and the place with the network can realize the login anytime and anywhere.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.
图1为本发明一种录入登记条盒卷烟32位喷码的识别系统的结构示意图;Fig. 1 is the structural representation of a kind of identification system for entering and registering the 32-bit coding of cigarettes in the registration box of the present invention;
图2为本发明一种录入登记条盒卷烟32位喷码的识别系统的实现方法的流程图。FIG. 2 is a flow chart of an implementation method of an identification system for entering and registering 32-bit coding of cigarettes in a box of the present invention.
具体实施方式Detailed ways
实施例1,如图1所示,一种录入登记条盒卷烟32位喷码的识别系统,包括展示层、应用层和数据层个,展示层包括PC端和APP,应用层包括权限管理、用户管理、语音识别、图像识别和查询统计,权限管理、用户管理、语音识别、图像识别和查询统计连接有JDBC,数据层包括MySQL,MySQL连接有系统数据库。Embodiment 1, as shown in Figure 1, an identification system for entering and registering 32-bit coding of cigarettes in a box, including a display layer, an application layer and a data layer, the display layer includes a PC terminal and an APP, and the application layer includes rights management, User management, speech recognition, image recognition and query statistics, permission management, user management, speech recognition, image recognition and query statistics are connected to JDBC, the data layer includes MySQL, and MySQL is connected to the system database.
所述PC端和APP通过网络连接有服务器。The PC terminal and the APP are connected to a server through a network.
所述APP用于喷码照片及语音采集,并上传至服务器。The APP is used for inkjet photo and voice collection, and uploaded to the server.
所述服务器用于对上传的喷码照片进行定位检测和32位喷码识别及语音的识别录入;且负责照片、识别结果以及32位喷码信息存储。The server is used to perform location detection, 32-bit inkjet recognition and voice recognition and input of uploaded inkjet photos; and is responsible for storing photos, recognition results and 32-bit inkjet information.
所述PC端用于对识别结果进行查询、修正及导出。The PC terminal is used for querying, revising and exporting the recognition result.
如图2所示,一种录入登记条盒卷烟32位喷码的识别系统的实现方法包括以下步骤:As shown in Figure 2, an implementation method of an identification system for entering a 32-bit code of cigarettes in a registration box includes the following steps:
步骤1:根据查获的条盒卷烟通过APP创建卷宗,通过APP采集32位喷码照片,上传至服务器;Step 1: Create a dossier through the APP according to the seized cigarette case, collect 32-bit coding photos through the APP, and upload to the server;
点击APPAPP应用图标启动应用;进行登录页面,输入用户名和密码,单击<登录>按钮,实现用户登录;进入执法检查页面创建卷宗;选择卷宗号及商品类型,点击<拍照>。Click the APPAPP icon to start the application; go to the login page, enter the user name and password, and click the <Login> button to log in the user; enter the law enforcement inspection page to create a file; select the file number and product type, and click <Photo>.
具体过程如下:The specific process is as follows:
步骤1.1:将服务器开启,等待APP和PC端发起请求;Step 1.1: Turn on the server and wait for the APP and PC to initiate a request;
步骤1.2:将APP开启,连接服务器,输入用户信息;Step 1.2: Open the APP, connect to the server, and enter user information;
步骤1.3:APP创建卷宗并采集32位喷码照片,上传至服务器并发起识别请求;Step 1.3: The APP creates a dossier and collects 32-bit coding photos, uploads it to the server and initiates an identification request;
步骤2:对喷码照片进行识别,并将识别结果存储于数据库中;Step 2: Identify the coding photos and store the identification results in the database;
进入智能识别页面进行32位喷码照片采集。Enter the intelligent identification page to collect 32-bit coding photos.
具体过程如下:The specific process is as follows:
步骤2.1:对32位码照片进行区域检测,确定包含喷码的图片区域;Step 2.1: Detect the area of the 32-bit code photo to determine the area of the image containing the code;
步骤2.2:对图片区域进行字符切分、字符识别以及字符拼接处理,得到识别结果;Step 2.2: Perform character segmentation, character recognition and character splicing processing on the picture area to obtain a recognition result;
步骤2.3:对识别结果进行检验,当包含卷烟喷码的图片区域有残缺时,识别结果的相应位置自动补位,并进行语义校验纠正。Step 2.3: Check the recognition result. When the picture area containing the cigarette code is incomplete, the corresponding position of the recognition result is automatically filled, and semantic verification is performed to correct it.
步骤2中如32位喷码照片不清楚采用语音识别步骤如下:In step 2, if the 32-bit inkjet photo is unclear, the voice recognition steps are as follows:
步骤3.1:对32位码照片信息进行语音识别录入;Step 3.1: Voice recognition and input of 32-bit code photo information;
点击<麦克风>图标,根据图片情况选择使用语音识别辅助录入;Click the <microphone> icon, and choose to use voice recognition to assist input according to the picture;
步骤3.2:对输入的语音信息进行识别字符切分、字符识别以及字符拼接处理,得到识别结果;Step 3.2: Perform recognition character segmentation, character recognition and character splicing processing on the input voice information to obtain a recognition result;
步骤3.3:对识别结果进行检验,当包含卷烟喷码的信息区域有残缺时,识别结果的相应位置自动补位,并进行语义校验纠正。Step 3.3: Check the recognition result. When the information area containing the cigarette code is incomplete, the corresponding position of the recognition result is automatically filled, and semantic verification and correction are performed.
步骤3:APP获取识别结果,并显示,如有错误可以查询修改;Step 3: The APP obtains the recognition result and displays it. If there is an error, you can query and modify it;
采集图片可通过相册或拍照上传,上传完成后即时返回识别结果,如识别有误可即时修改或通过PC段批量修改识别信息;根据点击<保存>按钮,将喷码照片与识别结果提交至服务器保存,点击手机<返回>按钮,可取消当前拍摄照片。The collected pictures can be uploaded through photo albums or photos. After uploading, the identification results will be returned immediately. If the identification is wrong, the identification information can be modified immediately or in batches through the PC segment; according to the click of the <Save> button, the coding photos and identification results will be submitted to the server Save, click the <Return> button on the phone to cancel the current photo.
步骤4:通过PC端对识别结果进行查询导出,并对错误信息进行修改;Step 4: Query and export the recognition results through the PC terminal, and modify the error information;
<案宗查询>与<识别码查询>中可实时查看本人或根据权限分级显示相关喷码图片及录入信息,本人可修改删除自己的上传信息。In <case query> and <identification code query>, you can view yourself in real time or display relevant coding pictures and input information according to the authority level, and you can modify and delete your uploaded information.
具体过程如下:The specific process is as follows:
步骤4.1:将PC端开启,连接服务器,获取用户信息,PC端向服务器发送查询请求,服务器接收PC端查询请求,根据查询条件读取数据库,并将识别结果发送给PC端,进行显示;Step 4.1: Turn on the PC side, connect to the server, obtain user information, the PC side sends a query request to the server, the server receives the PC side query request, reads the database according to the query conditions, and sends the identification result to the PC side for display;
在PC客户端,输入与APP相同的用户名和密码进入系统,进入系统页面,此页面包括卷宗录入、管理,识别码录入、品名管理等功能,在识别码查询中通过日期、录入人、卷宗号等信息进行查询;On the PC client, enter the same user name and password as the APP to enter the system, and enter the system page. This page includes functions such as file entry, management, identification code entry, and product name management. In the identification code query, the date, entry person, and file number are passed. and other information to query;
步骤4.2:PC端将查询数据进行分行显示处理,并对明显有误、缺失的信息进行修改,发送修改请求至服务器;Step 4.2: The PC side will display the query data by branch, modify the obviously wrong and missing information, and send a modification request to the server;
对查询信息结果进行校验;如果查询结果不正确,可对喷码结果进行修改或者补充,并保存;Verify the query information results; if the query results are incorrect, modify or supplement the coding results and save them;
步骤4.3:服务器接收修改请求,对数据库内信息进行修改,并返回处理结果;Step 4.3: The server receives the modification request, modifies the information in the database, and returns the processing result;
如APP无相对应的商品编码,在<品名管理>增加相对应的的商品编码,当APP选择卷烟对应的商品编码,比如选择<商品>泰山,单击<选中>,回到商品页面,被选择品牌规格显示在对应商品框里;If there is no corresponding product code in the APP, add the corresponding product code in <Product Name Management>. When the APP selects the product code corresponding to cigarettes, for example, select <Product> Taishan, click <Select>, return to the product page, and be Select the brand specification to display in the corresponding product box;
步骤4.4:PC端接收服务器的修改结果,若仍有错误,则继续修改校正,若无误,可选择PC端导出识别结果至本地文件;Step 4.4: The PC terminal receives the modification result of the server. If there are still errors, continue to modify and correct. If there are no errors, choose the PC terminal to export the recognition results to a local file;
案宗查询或识别码查询结束,用户导出页面展示的数据信息,单击<导出>并进行导出设置:单击<保存>,系统保存文件窗口出现选择保存目录(文件类型是exel);找到系统保存文件选择的目录,并且打开文件;单击<取消>,系统取消本次导出。After the case query or identification code query is completed, the user exports the data information displayed on the page, clicks <Export> and sets the export: click <Save>, the system save file window will appear to select the save directory (the file type is exel); find the system Save the selected directory of the file, and open the file; click <Cancel>, the system cancels this export.
综上所述,本发明实现32位喷码的高效率、低成本,随时随地登记及应用。发明有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, the present invention realizes high efficiency and low cost of 32-bit coding, and can be registered and applied anytime and anywhere. The invention effectively overcomes various shortcomings in the prior art and has high industrial application value.
本发明的描述是为了示例和描述起见而给出的,而并不是无遗漏的或者将本发明限于所公开的形式。很多修改和变化对于本领域的普通技术人员而言是显然的。选择和描述实施例是为了更好的说明本发明的原理和实际应用,并且使本领域的普通技术人员能够理解本发明从而设计适于特定用途的带有各种修改的各种实施例。The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or to limit the invention to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to better explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110813839.7ACN114359916A (en) | 2021-07-19 | 2021-07-19 | A recognition system for entering and registering 32-bit coding of cigarettes in a box and its realization method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110813839.7ACN114359916A (en) | 2021-07-19 | 2021-07-19 | A recognition system for entering and registering 32-bit coding of cigarettes in a box and its realization method |
| Publication Number | Publication Date |
|---|---|
| CN114359916Atrue CN114359916A (en) | 2022-04-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110813839.7APendingCN114359916A (en) | 2021-07-19 | 2021-07-19 | A recognition system for entering and registering 32-bit coding of cigarettes in a box and its realization method |
| Country | Link |
|---|---|
| CN (1) | CN114359916A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114973264A (en)* | 2022-05-19 | 2022-08-30 | 四川省烟草公司成都市公司 | Data processing and cigarette laser code scanning system based on enhanced image processing algorithm |
| CN115497106A (en)* | 2022-11-14 | 2022-12-20 | 合肥中科类脑智能技术有限公司 | Battery laser code spraying identification method based on data enhancement and multitask model |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109740610A (en)* | 2019-01-15 | 2019-05-10 | 上海通方信息系统有限公司 | A method for quickly registering 32-bit coding of cigarettes in a box |
| CN112836695A (en)* | 2021-02-22 | 2021-05-25 | 广西盛信富邦科技有限公司 | Cigarette digital code recognition and input device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109740610A (en)* | 2019-01-15 | 2019-05-10 | 上海通方信息系统有限公司 | A method for quickly registering 32-bit coding of cigarettes in a box |
| CN112836695A (en)* | 2021-02-22 | 2021-05-25 | 广西盛信富邦科技有限公司 | Cigarette digital code recognition and input device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114973264A (en)* | 2022-05-19 | 2022-08-30 | 四川省烟草公司成都市公司 | Data processing and cigarette laser code scanning system based on enhanced image processing algorithm |
| CN115497106A (en)* | 2022-11-14 | 2022-12-20 | 合肥中科类脑智能技术有限公司 | Battery laser code spraying identification method based on data enhancement and multitask model |
| CN115497106B (en)* | 2022-11-14 | 2023-01-24 | 合肥中科类脑智能技术有限公司 | Battery laser code-spraying identification method based on data enhancement and multitask model |
| Publication | Publication Date | Title |
|---|---|---|
| US12430693B2 (en) | Tax document imaging and processing | |
| US9378408B2 (en) | Assisted photo-tagging with facial recognition models | |
| CN110489633B (en) | Intelligent brain service system based on library data | |
| CN103503000B (en) | Face recognition | |
| US9916626B2 (en) | Presentation of image of source of tax data through tax preparation application | |
| US8194940B1 (en) | Automatic media sharing via shutter click | |
| CN108197311B (en) | Method, device, device and readable storage medium for aggregated display of housing data | |
| WO2013004036A1 (en) | Business card recognition method combining character recognition and image matching | |
| CN110516672A (en) | Card information identification method, device and terminal | |
| CN114359916A (en) | A recognition system for entering and registering 32-bit coding of cigarettes in a box and its realization method | |
| CN107358079A (en) | Real-time face identifies login validation method and system | |
| CN103402193B (en) | The method of quick exchange message on the mobile terminal with fingerprint sensor | |
| CN108734510B (en) | Advertisement recommendation method and system based on attribute matching | |
| CN110737687A (en) | Data query method, device, equipment and storage medium | |
| WO2024178751A1 (en) | Marriage registration method and apparatus, marriage autonomous registration all-in-one machine, and storage medium | |
| CN113641908B (en) | Course push method, device, server and computer storage medium | |
| CN111582754A (en) | Risk checking method, device and equipment and computer readable storage medium | |
| CN115408598A (en) | Information processing method, apparatus, device, storage medium, and program product | |
| WO2019206325A1 (en) | Asset management method and asset management platform for medical device, and computer-readable storage medium and mobile terminal | |
| CN112364790B (en) | Airport work order information identification method and system based on convolutional neural network | |
| CN113194023B (en) | Lost document retrieval system and its control method | |
| CN110443202B (en) | System, method and storage medium for real-time analysis of paper font regularity | |
| CN109740610A (en) | A method for quickly registering 32-bit coding of cigarettes in a box | |
| CN113657867A (en) | Automatic reply control method, device, electronic equipment and storage medium | |
| CN114419637A (en) | AI-based cross-border supply chain form generation method and related device |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20220415 | |
| RJ01 | Rejection of invention patent application after publication |