WO2019080818A1 - Bar code recognition based book positioning method, electronic device and storage medium - Google Patents

Bar code recognition based book positioning method, electronic device and storage medium

Info

Publication number
WO2019080818A1
WO2019080818A1 PCT/CN2018/111317 CN2018111317W WO2019080818A1 WO 2019080818 A1 WO2019080818 A1 WO 2019080818A1 CN 2018111317 W CN2018111317 W CN 2018111317W WO 2019080818 A1 WO2019080818 A1 WO 2019080818A1
Authority
WO
WIPO (PCT)
Prior art keywords
book
barcode
image
bar code
information
Prior art date
Application number
PCT/CN2018/111317
Other languages
French (fr)
Chinese (zh)
Inventor
邓立邦
Original Assignee
广东数相智能科技有限公司
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 广东数相智能科技有限公司 filed Critical 广东数相智能科技有限公司
Publication of WO2019080818A1 publication Critical patent/WO2019080818A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps

Definitions

  • the invention relates to the field of library management, in particular to a book positioning method, an electronic device and a storage medium based on barcode recognition.
  • the identification of the existing bar code code relies on professional equipment. If the requirements of the existing camera are relatively high, the recognition accuracy cannot be large.
  • one of the objects of the present invention is to provide a book positioning method based on barcode recognition, which can solve the technical problem of automatically storing books.
  • Another object of the present invention is to provide an electronic device capable of solving the technical problem of book positioning.
  • a third object of the present invention is to provide a computer readable storage medium capable of solving the technical problem of storing a book location.
  • the fourth object of the present invention is a book positioning method based on barcode recognition, which can solve the technical problem of automatically checking books.
  • a book positioning method based on barcode recognition includes the following steps:
  • Position acquisition step according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
  • Result acquisition step according to the position of the row and the position of the book corresponding to the barcode area and the position number of the camera to obtain the storage position of the corresponding book.
  • the method further includes a book information obtaining step of: extracting color values of all the color blocks in the barcode area, and obtaining character information corresponding to each color block in the barcode area according to the barcode encoding rule, thereby obtaining corresponding book information,
  • the color blocks in the barcode area are sequentially arranged in order, and the character information and the color value are in one-to-one correspondence to form a barcode encoding rule.
  • an image pre-processing step is further included: pre-processing the acquired current image information, the pre-processing including removing noise and interference, image cutting, and image normalization.
  • the step of identifying the comparison is further performed: comparing the current image information with the barcode recognition model to obtain a barcode area.
  • a 3D correction step is further included: 3D correction is performed on the barcode area to adjust the barcode area to a rectangular barcode area.
  • the process of establishing the barcode recognition model includes the following sub-steps:
  • Model pre-processing step pre-processing the acquired training barcode image, the pre-processing including removing noise and interference, image cutting and image normalization;
  • Feature extraction step performing feature extraction on the pre-processed training barcode image to obtain a barcode training set
  • Model establishment step extracting a standard template from the barcode training set to establish a barcode recognition model.
  • a character verification step is further included: the character information is verified according to a verification rule to confirm whether it is correct.
  • the method further includes: a comparison step of comparing the classification information in the character information with the book classification area corresponding to the position number of the camera, and determining whether the book corresponding to the character information belongs to the book classification area If no, send a reminder to the administrator.
  • the method further includes a position comparison step of comparing the storage location of the obtained book with the preset storage location of the book, and if not, sending the reminder information to the administrator.
  • An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the bar code based on any one of the objects of the present invention Recognized book location method.
  • a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a bar code recognition based book positioning method according to any one of the objects of the present invention.
  • a book positioning method based on barcode recognition includes the following steps:
  • Information acquiring step acquiring image information of a bookshelf, the image information including a bookshelf number and at least one book image, the book image including a barcode area;
  • Position acquisition step according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
  • Result obtaining step according to the position of the row and the book number corresponding to the book corresponding to the barcode area, the storage position of the corresponding book is obtained.
  • the barcode identification-based book positioning method of the invention obtains the storage location corresponding to the book by the barcode corresponding to the book and the position of the camera corresponding to the barcode; and improves the efficiency of the book positioning.
  • FIG. 1 is a flow chart of a method for positioning a book based on barcode recognition according to the present invention.
  • the invention consists of: a color bar code, an acquisition module, an identification module, a data module, a judgment module, an alert module, and a book query screen, and the functions of each part are as follows:
  • Color bar code A color bar code that is encoded with a specific color value corresponding to different strips and null characters.
  • the color bar code is used to paste on the spine of the side of the book, and each strip and space is represented by a uniform color block of the same shape. In order to allow the camera to shoot and identify it in a range of distances.
  • the barcode is based on the book category, the library, the storage area, the bookshelf number, and the storage layer on the shelf.
  • the encoding rules are used, and 10 different HSB color values are used to correspond to 10 digits of 0-9.
  • the start character and the check character are combined by using the corresponding character color value color block + black color block with directivity, so that the computer can recognize and judge according to the character appearance, the shape and the color combination feature, and realize the scan code verification.
  • Acquisition module a camera set for multiple sets of bookshelves placed in the corresponding areas in the library. Each set of cameras is numbered according to each area and the booked book number. The position of the camera is supported to be fully captured at a certain distance. Side image of the book on the shelf. The side of the book arranged on the bookshelf of each area is photographed by the camera, and the color bar code image attached to the side spine of all the books on the bookshelf is obtained and sent to the identification module.
  • the identification module receiving the side image of the book sent by the acquisition module, and dividing the side of each book in the captured image to compare the pre-established barcode recognition model, and extracting the barcode image area corresponding to the paste on the side spine of the book, according to the coding of the barcode
  • the rule identifies the barcode image.
  • Data module A barcode database that stores the coding rules and content information of the color barcode.
  • the book information corresponding to each color bar code is saved, the books are stored in the bookshelf and the storage location information on the bookshelf, the pasted bar code information, and the like.
  • the pasted bar code information By accessing the pasted bar code information, when the color bar code is set, it can be entered in one-to-one correspondence with the bar code information already existing on the book, so that the existing book information system can be accessed, and the existing book information system can be upgraded and updated more conveniently and quickly. It interfaces with the system data of the present invention without requiring a complete replacement update of the library's existing information system. If the system is completely used, there is no need to access the existing system of the library, and the data module can also establish information such as book introduction information, classified retrieval information, borrowing information and other book management requirements.
  • Judgment module according to the information identification result of the color bar code, the number information after the single book is cut, the book storage book shelf number and the storage location information in the data module are retrieved, and the correctness of the book storage is judged, and if the book stored in error is found, The title of the book, the current storage location and the correct storage location information are sent to the reminder module.
  • the reminder module displays the book information stored in error according to the judgment result, and performs a voice broadcast to remind the librarian or the book borrower to organize the book in time.
  • Book inquiry screen An electronic touch screen display that is arranged in various areas of the library to facilitate borrowers or librarians to inquire about books.
  • the book inquiry screen is provided with a camera and a voice playing module, and a book positioning system based on a camera and a barcode is also connected. Borrowers and librarians can use the book inquiry screen to scan and identify the barcode on the book, obtain the storage location information of the book, and query the bookshelf and storage location for books that do not need to be borrowed or need to be returned. Borrowing book information.
  • An electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. As shown in FIG. 1, the processor performs the following steps when executing the program:
  • S1 acquiring image information of the bookshelf and a position number of the camera that generates the image information, the image information including at least one book image, the book image including a barcode area; in addition to the above manner, another way is to set the camera to shoot the bookshelf
  • the numbered area of the bookshelf is included to obtain the number of the bookshelf, and the text information contained in the image of the bookshelf number area is recognized by the character recognition technology to obtain the bookshelf number, so as to locate the book shelf where the book is located;
  • S11 Perform preprocessing on the obtained current image information, including preprocessing noise and interference, image cutting, and image normalization; and improving the server by a preprocessing process such as noise and interference, image cutting, and normalization.
  • Edge detection is used to segment images of multiple books contained in the image according to the pixel arrangement features at the edge of each book, and to obtain images of multiple books on the side of the book.
  • Model preprocessing step preprocessing the obtained training barcode image, the preprocessing includes removing noise and interference, image cutting and image normalization; and preprocessing processes such as noise and interference, image cutting, normalization, etc. Improve the performance of the server for image processing recognition;
  • Feature extraction step performing feature extraction on the pre-processed training barcode image to obtain a barcode training set; performing feature extraction on the preprocessed color barcode image, according to the color density of the color barcode image, and the pattern arrangement characteristics
  • the barcode image is divided into 25 square regions of 5*5, and the ratio of the number of points in each square to the total number of points of the color barcode image is calculated to obtain a 25-dimensional feature vector;
  • Model establishment step extracting a standard template from the barcode training set to establish a barcode recognition model.
  • the standard template is extracted from the color bar code images of the training set, and the standard feature library is established to complete the establishment of the bar code recognition model.
  • Each type of color bar code has hundreds of standard templates. Because the bar code has directionality, the bar code image needs to be correctly arranged in the starting direction and then provided to the machine for learning, so that the later machine recognizes and processes the bar code image. It can be automatically judged and the starting position of the barcode is calibrated.
  • the feature vectors of each color bar code of the training set are stored in the file, and the correct value of each bar code needs to be specified during training.
  • Bar code positioning feature extraction of the side images of the divided books, find out the colors, patterns, shapes and other attributes that constitute the distinctive features of the color bar codes, calculate their geometric feature quantities, and form the feature vectors describing the color bar codes through these feature quantities. And comparing with the feature vector of the barcode recognition model established in the system, when the similarity exceeds 80%, the region can be determined as a color barcode region, and the color barcode region is positioned according to the judgment result.
  • 3D correction Due to the shooting angle, the shooting angle of the barcode on the spine, the tilt angle of the book, etc., the color barcode image usually has a certain degree of image distortion or angular rotation reversed, so 3D of the color barcode image is required. Correction. Through spatial mapping, the four points of the upper, lower, left and right corners of the color barcode image are fixed and then projected, and the color barcode image is rotated and twisted, so that the barcode image is arranged according to the starting direction of the barcode. Become a standard rectangular area and get a color bar code image of standard shape size.
  • the color bar code-based color bar code identifies the information by the color value of the color block, so if the camera is far away, the color can be recognized as long as the color in the middle of the color block can be extracted; therefore, the color bar code of the present invention can realize large Technical issues of area identification.
  • Bar code content identification The bar code information is identified on the color bar code image of each book after 3D correction processing according to the color bar code encoding rule pre-stored in the system. First, it is necessary to judge the color value of each bar.
  • the color bar code uses various color blocks of equal width to represent each bar and space character. After taking the average value of each bar and block of the color bar code, extract each bar.
  • the HSB color value information of the block sequentially determines the character information corresponding to each color value according to the encoding rule.
  • S21 Check the character information according to a verification rule to confirm whether it is correct.
  • the check rule is also a check code setting rule. Since each color bar code has a check code, the check code can be obtained according to the previous data, so that it can not only display by color, but also It can be obtained by calculation. When the test is performed, the corresponding character of the check code can be calculated to compare with the character corresponding to the recognized color to achieve the purpose of verifying the character information;
  • step S3 according to the layer corresponding to the book shelf where the book is located in the divided image information, and the position of the barcode area in the layered image information of the divided bookshelf, the storage layer position of the book corresponding to the barcode area on the bookshelf; since step S1 has been completed
  • the color bar code character is encoded according to the information of each aspect of the book, and according to the character recognition result and the encoding rule of the color bar code, the classification information in the book information is compared with the book classification area corresponding to the position number of the camera, and the judgment is made. Whether the book corresponding to the book information belongs to the book classification area, if not, sending the reminder information to the administrator; by extracting the classification information in the book information, that is, the belonging area of the category corresponding to the book, if the classified area Remind the administrator if it is inconsistent with the current location;
  • S4b Compare the storage location of the obtained book with the preset storage location of the book, and if not, send the reminder information to the administrator.
  • identification methods there is also a way to directly identify all the character information and extract corresponding books different from the classification information in most of the character information, thereby reminding the administrator that the process can be every Automatic identification reminders are made every hour or every four hours, or they can be identified one hour before closing.
  • the invention provides a book positioning system and device based on a camera and a barcode, which can identify the color barcodes in batches, accurately and quickly by the camera, thereby quickly positioning the books of the library without using a professional barcode scanning device.
  • the scanning efficiency is improved, and the problems of slow manual operation, error in manual memory, and low efficiency are solved.
  • the borrower can query the storage locations of the books that do not need to be borrowed in real time after consulting the books, so as to help them accurately return the books to the correct storage shelves.
  • the workload of librarians has increased significantly.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A bar code recognition based book positioning method, an electronic device and a storage medium. The bar code recognition based book positioning method comprises the following steps: acquiring image information of a bookshelf and generating a position number of a camera generating the image information, the image information comprising at least one book image, and the book image comprising a bar code area (S1); according to the image information and the position of the bar code area in the image information, obtaining a row and column position, on the bookshelf, of a book corresponding to the bar code area (S3); and obtaining a storage position of the corresponding book according to the row and column position of the book corresponding to the bar code area and the position number of the camera (S4). In the bar code recognition based book positioning method, by means of a bar code corresponding to a book and the position of a corresponding camera acquiring the bar code, a storage position corresponding to the book is obtained, improving the efficiency of book positioning.

Description

一种基于条码识别的图书定位方法、电子设备及存储介质Book positioning method based on barcode recognition, electronic device and storage medium 技术领域Technical field
本发明涉及一种图书管理领域,尤其涉及一种基于条码识别的图书定位方法、电子设备及存储介质。The invention relates to the field of library management, in particular to a book positioning method, an electronic device and a storage medium based on barcode recognition.
背景技术Background technique
目前,图书馆员每天耗费大量的精力在借、还、消磁、盘点、上架、入库、整理、包书上,其工作琐碎繁杂,且工作量巨大,需要耗费大量的时间、精力和体力。由于借阅人员在查找书籍过程中,对图书查阅后的归位往往比较随意,各类书架上经常出现书籍没有按规则摆放造成其他借阅者无法查找到需要借阅的书籍的问题。而图书馆员每天也需要花费大量时间对此类错放书籍进行检查、归位整理,工作量大且耗时耗力。且由于检查工作大都需要凭借图书馆员的经验和记忆力记住所有书籍的正确存放位置才能进行快速排查和归位,显然难度也非常高,容易出现疏漏。而在图书归还过程中,图书馆员也需要牢记经常借阅书籍的大致分类和存放位置,如对着书脊上的编码寻找书架,再找到应该放在书架的哪一层,最后再查看有没有同样的书,如果有同样的书需要放在一起,如果是单本就找同类的书放在一起,如此反复操作,如果不熟悉书籍存放分类和位置,往往需要耗费7-8分钟才能对还书进行归类整理,而人工凭记忆操作难免出错,工作效率低下,经常需要在闭馆时加班加点进行处理,耗费大量时间和人力。因此,如何提高工作效率,节省差错和整理图书、存放归位图书的时间,减轻图书馆员的工作负担成为需要我们思考的问题。At present, librarians spend a lot of energy every day on borrowing, returning, degaussing, counting, loading, warehousing, sorting, and wrapping books. Their work is trivial and complicated, and the workload is huge, which requires a lot of time, energy and physical strength. Due to the borrowing personnel in the process of searching for books, the homing of the books after viewing is often quite random. On various bookshelves, there are often problems in that books are not placed in accordance with the rules, and other borrowers cannot find books that need to be borrowed. Librarians also need to spend a lot of time every day to check and sort out such misplaced books, which is heavy and time consuming. And because the inspection work needs to rely on the experience and memory of the librarian to remember the correct storage location of all books in order to carry out rapid investigation and homing, it is obviously very difficult and prone to omissions. In the process of returning books, librarians also need to keep in mind the general classification and storage location of books that are often borrowed. For example, look for the bookshelf on the spine of the book, find out which layer should be placed on the bookshelf, and finally see if there is any If you have the same book, you need to put it together. If you are looking for the same kind of book, put it together. If you are not familiar with the book storage classification and location, it will take 7-8 minutes to return the book. Sorting and sorting, and manual operation by memory is inevitable, and work efficiency is low. It is often necessary to work overtime when closing, which takes a lot of time and manpower. Therefore, how to improve work efficiency, save errors and organize books, store homing books, and reduce the workload of librarians becomes a problem that we need to think about.
并且现有的条码码的识别比较依靠专业的设备,如果是通过现有的摄像头对识别精度的要求会比较的高,从而导致无法大面积的识别。Moreover, the identification of the existing bar code code relies on professional equipment. If the requirements of the existing camera are relatively high, the recognition accuracy cannot be large.
发明内容Summary of the invention
为了克服现有技术的不足,本发明的目的之一在于提供一种基于条码识别的图书定位方法,其能解决存放书籍自动排查的技术问题。In order to overcome the deficiencies of the prior art, one of the objects of the present invention is to provide a book positioning method based on barcode recognition, which can solve the technical problem of automatically storing books.
本发明的目的之二在于提供一种电子设备,其能解决书籍定位的技术问题。Another object of the present invention is to provide an electronic device capable of solving the technical problem of book positioning.
本发明的目的之三在于提供一种计算机可读存储介质,其能解决存放书籍定位的技术问题。A third object of the present invention is to provide a computer readable storage medium capable of solving the technical problem of storing a book location.
本发明的目的之四在于一种基于条码识别的图书定位方法,其能解决存放书籍自动排查的技术问题。The fourth object of the present invention is a book positioning method based on barcode recognition, which can solve the technical problem of automatically checking books.
本发明的目的之一采用如下技术方案实现:One of the objects of the present invention is achieved by the following technical solutions:
一种基于条码识别的图书定位方法,包括以下步骤:A book positioning method based on barcode recognition includes the following steps:
信息获取步骤:获取书架的图像信息以及生成该图像信息的摄像头的位置编号,所述图像信息包括至少一个书籍图像,所述书籍图像包括条码区域;An information acquisition step of: acquiring image information of a bookshelf and a position number of a camera that generates the image information, the image information including at least one book image, the book image including a barcode area;
位置获取步骤:根据图像信息以及条码区域在图像信息中的位置以得条码区域对应的书籍在书架上的行列位置;Position acquisition step: according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
结果获取步骤:根据条码区域对应的书籍所处的行列位置以及摄像头的位置编号以得相应书籍的存放位置。Result acquisition step: according to the position of the row and the position of the book corresponding to the barcode area and the position number of the camera to obtain the storage position of the corresponding book.
进一步地,在信息获取步骤之后还包括书籍信息获取步骤:提取条码区域中所有色块的颜色值,并根据条码编码规则以得条码区域中各色块对应的字符信息,从而得到相应的书籍信息,所述条码区域中各色块按顺序依次排列,将字符信息与颜色值一一对应以形成条码编码规则。Further, after the information obtaining step, the method further includes a book information obtaining step of: extracting color values of all the color blocks in the barcode area, and obtaining character information corresponding to each color block in the barcode area according to the barcode encoding rule, thereby obtaining corresponding book information, The color blocks in the barcode area are sequentially arranged in order, and the character information and the color value are in one-to-one correspondence to form a barcode encoding rule.
进一步地,在信息获取步骤之后还包括图像预处理步骤:对获取到的当前的图像信息进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化。Further, after the information acquiring step, an image pre-processing step is further included: pre-processing the acquired current image information, the pre-processing including removing noise and interference, image cutting, and image normalization.
进一步地,在信息获取步骤之后还包括识别比对步骤:将当前的图像信息与条码识别模型进行比对以得条码区域。Further, after the information obtaining step, the step of identifying the comparison is further performed: comparing the current image information with the barcode recognition model to obtain a barcode area.
进一步地,在识别比对步骤之后还包括3D校正步骤:对条码区域进行3D校正以使得该条码区域调整为矩形条码区域。Further, after the identification comparison step, a 3D correction step is further included: 3D correction is performed on the barcode area to adjust the barcode area to a rectangular barcode area.
进一步地,所述条码识别模型的建立过程包括以下子步骤:Further, the process of establishing the barcode recognition model includes the following sub-steps:
模型预处理步骤:对获取到的训练条码图像进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化;Model pre-processing step: pre-processing the acquired training barcode image, the pre-processing including removing noise and interference, image cutting and image normalization;
特征提取步骤:对预处理后的训练条码图像进行特征提取以得到条码训练集;Feature extraction step: performing feature extraction on the pre-processed training barcode image to obtain a barcode training set;
模型建立步骤:从条码训练集中提取标准模板以建立条码识别模型。Model establishment step: extracting a standard template from the barcode training set to establish a barcode recognition model.
进一步地,在字符获取步骤之后还包括字符校验步骤:根据校验规则对所述字符信息进行校验以确认其是否正确。Further, after the character obtaining step, a character verification step is further included: the character information is verified according to a verification rule to confirm whether it is correct.
进一步地,在结果获取步骤之后还包括区域比对步骤:将字符信息中的分类信息与摄像头的位置编号所对应的图书分类区进行比对,判断该字符信息对应的图书是否属于该图书分类区,如果否,则发送提醒信息至管理员处。Further, after the result obtaining step, the method further includes: a comparison step of comparing the classification information in the character information with the book classification area corresponding to the position number of the camera, and determining whether the book corresponding to the character information belongs to the book classification area If no, send a reminder to the administrator.
进一步地,在结果获取步骤之后还包括位置比对步骤:将获取到的书籍的存放位置与该书籍的预设存放位置进行比对,如果不一致,则发送提醒信息至管理员处。Further, after the result obtaining step, the method further includes a position comparison step of comparing the storage location of the obtained book with the preset storage location of the book, and if not, sending the reminder information to the administrator.
本发明的目的之二采用如下技术方案实现:The second object of the present invention is achieved by the following technical solutions:
一种电子设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明目的之一中任意一项所述的基于条码识别的图书定位方法。An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the bar code based on any one of the objects of the present invention Recognized book location method.
本发明的目的之三采用如下技术方案实现:The third object of the present invention is achieved by the following technical solutions:
一种计算机可读存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现本发明目的之一任意一项所述的基于条码识别的图书定位方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a bar code recognition based book positioning method according to any one of the objects of the present invention.
本发明的目的之四采用如下技术方案实现:The fourth object of the present invention is achieved by the following technical solutions:
一种基于条码识别的图书定位方法,包括以下步骤:A book positioning method based on barcode recognition includes the following steps:
信息获取步骤:获取书架的图像信息,所述图像信息包括书架编号以及至少一个书籍图像,所述书籍图像包括条码区域;Information acquiring step: acquiring image information of a bookshelf, the image information including a bookshelf number and at least one book image, the book image including a barcode area;
位置获取步骤:根据图像信息以及条码区域在图像信息中的位置以得条码区域对应的书籍在书架上的行列位置;Position acquisition step: according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
结果获取步骤:根据条码区域对应的书籍所处的行列位置以及书架编号以得相应书籍的存放位置。Result obtaining step: according to the position of the row and the book number corresponding to the book corresponding to the barcode area, the storage position of the corresponding book is obtained.
相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
本发明的基于条码识别的图书定位方法,其通过书籍对应的条码以及获取该条码对应的摄像头的位置从而得到该书籍对应的存放位置;提高了书籍定位的效率。The barcode identification-based book positioning method of the invention obtains the storage location corresponding to the book by the barcode corresponding to the book and the position of the camera corresponding to the barcode; and improves the efficiency of the book positioning.
附图说明DRAWINGS
图1为本发明的基于条码识别的图书定位方法的流程图。1 is a flow chart of a method for positioning a book based on barcode recognition according to the present invention.
具体实施方式Detailed ways
下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。The present invention will be further described in conjunction with the accompanying drawings and specific embodiments. It should be noted that, without conflict, the embodiments described below may be arbitrarily combined to form a new embodiment. .
本发明由:彩色条型码、获取模块、识别模块、数据模块、判断模块、提 醒模块、图书查询屏几个部分组成,各部分功能如下:The invention consists of: a color bar code, an acquisition module, an identification module, a data module, a judgment module, an alert module, and a book query screen, and the functions of each part are as follows:
彩色条型码:使用特定的颜色值对应不同的条、空字符进行编码的彩色条形码,该彩色条形码用于粘贴在图书侧面的书脊上,各个条、空采用形状一致的等宽的色块表现,以便摄像头在一定距离范围内对其进行批量拍摄及识别。条形码根据图书类别、所在书馆、存放区域、书架号、书架上的存放层来制定编码规则,使用10个不同的HSB颜色值分别对应0~9的10位数字。起始字符和校验字符使用具有方向性的对应字符颜色值色块+黑色色块进行组合,以便于计算机根据字符外观、形状和颜色组合特征进行识别判断,实现扫码校验。Color bar code: A color bar code that is encoded with a specific color value corresponding to different strips and null characters. The color bar code is used to paste on the spine of the side of the book, and each strip and space is represented by a uniform color block of the same shape. In order to allow the camera to shoot and identify it in a range of distances. The barcode is based on the book category, the library, the storage area, the bookshelf number, and the storage layer on the shelf. The encoding rules are used, and 10 different HSB color values are used to correspond to 10 digits of 0-9. The start character and the check character are combined by using the corresponding character color value color block + black color block with directivity, so that the computer can recognize and judge according to the character appearance, the shape and the color combination feature, and realize the scan code verification.
获取模块:为多组在图书馆中对应各个区域摆放的书架设置的摄像头,每组摄像头均对应各个区域和拍摄的书架号进行编号管理,摄像头设置的位置支持在一定距离能够完整拍摄获取到书架上图书的侧面图像。通过摄像头对各个区域书架上排列摆放的书籍侧面进行拍摄,获取书架上所有摆放书籍侧面书脊上粘贴的彩色条码图像,并发送到识别模块。Acquisition module: a camera set for multiple sets of bookshelves placed in the corresponding areas in the library. Each set of cameras is numbered according to each area and the booked book number. The position of the camera is supported to be fully captured at a certain distance. Side image of the book on the shelf. The side of the book arranged on the bookshelf of each area is photographed by the camera, and the color bar code image attached to the side spine of all the books on the bookshelf is obtained and sent to the identification module.
识别模块:接收获取模块发送的书籍侧面图像,对拍摄图像中的每本书籍侧面进行分割后比对预先建立的条码识别模型,提取出书籍侧面书脊上对应粘贴的条码图像区域,根据条码的编码规则对条码图像进行信息识别。The identification module: receiving the side image of the book sent by the acquisition module, and dividing the side of each book in the captured image to compare the pre-established barcode recognition model, and extracting the barcode image area corresponding to the paste on the side spine of the book, according to the coding of the barcode The rule identifies the barcode image.
数据模块:保存彩色条码的编码规则、内容信息的条码数据库。同时保存每个彩色条码对应的书籍信息,书籍存放书架及在书架上的存放位置信息、已粘贴的条码信息等。接入已粘贴的条码信息,在彩色条形码设置时,与书籍上已有的条码信息进行一一对应录入,可以实现接入现有的图书信息系统,更方便快速地升级更新现有图书信息系统,使其与本发明的系统数据对接,而不需要对图书馆现有信息系统进行完全替换更新。如完全使用本系统,不需要接入图书馆已有系统,数据模块也可以建立书籍介绍信息、分类检索信息、借阅信 息等其他图书管理需要的信息。Data module: A barcode database that stores the coding rules and content information of the color barcode. At the same time, the book information corresponding to each color bar code is saved, the books are stored in the bookshelf and the storage location information on the bookshelf, the pasted bar code information, and the like. By accessing the pasted bar code information, when the color bar code is set, it can be entered in one-to-one correspondence with the bar code information already existing on the book, so that the existing book information system can be accessed, and the existing book information system can be upgraded and updated more conveniently and quickly. It interfaces with the system data of the present invention without requiring a complete replacement update of the library's existing information system. If the system is completely used, there is no need to access the existing system of the library, and the data module can also establish information such as book introduction information, classified retrieval information, borrowing information and other book management requirements.
判断模块:根据彩色条码的信息识别结果,单个书籍切割后的编号信息、调取数据模块中的图书存放书架号和存放位置信息,判断图书存放的正确性,如发现错误存放的图书,则将书名、现在的存放位置和正确的存放位置信息发送到提醒模块。Judgment module: according to the information identification result of the color bar code, the number information after the single book is cut, the book storage book shelf number and the storage location information in the data module are retrieved, and the correctness of the book storage is judged, and if the book stored in error is found, The title of the book, the current storage location and the correct storage location information are sent to the reminder module.
提醒模块:根据判断结果显示错误存放的图书信息,并进行语音播报,提醒图书馆员或书籍借阅者及时对图书进行整理归位。The reminder module: displays the book information stored in error according to the judgment result, and performs a voice broadcast to remind the librarian or the book borrower to organize the book in time.
图书查询屏:布置在图书馆各个区域方便借阅者或图书馆员进行图书查询的电子触摸显示屏。图书查询屏设置有摄像头和语音播放模块,同时接入了基于摄像头和条形码的图书定位系统。借阅者和图书馆员可以利用图书查询屏对书籍上的条码进行扫描识别,获取图书的存放位置信息,对不需要借阅或需要归位的图书进行存放书架及存放位置的查询,也可以检索需要借阅的书籍信息。Book inquiry screen: An electronic touch screen display that is arranged in various areas of the library to facilitate borrowers or librarians to inquire about books. The book inquiry screen is provided with a camera and a voice playing module, and a book positioning system based on a camera and a barcode is also connected. Borrowers and librarians can use the book inquiry screen to scan and identify the barcode on the book, obtain the storage location information of the book, and query the bookshelf and storage location for books that do not need to be borrowed or need to be returned. Borrowing book information.
一种电子设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,如图1所示,所述处理器执行所述程序时实现如下步骤:An electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. As shown in FIG. 1, the processor performs the following steps when executing the program:
S1:获取书架的图像信息以及生成该图像信息的摄像头的位置编号,所述图像信息包括至少一个书籍图像,所述书籍图像包括条码区域;除了上述方式外,还有一种方式是设置摄像头拍摄书架图像信息时,同时包括书架的编号区域以获取书架的编号,通过文字识别技术识别书架编号区域的图像中包含的文字信息获得书架编号,以便对书籍所在书架进行定位;S1: acquiring image information of the bookshelf and a position number of the camera that generates the image information, the image information including at least one book image, the book image including a barcode area; in addition to the above manner, another way is to set the camera to shoot the bookshelf When the image information is included, the numbered area of the bookshelf is included to obtain the number of the bookshelf, and the text information contained in the image of the bookshelf number area is recognized by the character recognition technology to obtain the bookshelf number, so as to locate the book shelf where the book is located;
S11:对获取到的当前的图像信息进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化;通过除噪音和干扰、图像切割、归一化等预处理过程提高服务器对图像处理识别的性能;对获取的书籍侧面图像进行预处理,通过颜色聚类、色块分割,得到图像信息中书架每一层的图书图像。利用边 缘检测,根据每本书籍边缘的像素排布特征,对图像中包含的多本图书进行图像分割,得到多张单本书籍侧面的图像。S11: Perform preprocessing on the obtained current image information, including preprocessing noise and interference, image cutting, and image normalization; and improving the server by a preprocessing process such as noise and interference, image cutting, and normalization. The performance of image processing recognition; preprocessing the obtained side image of the book, and obtaining the book image of each layer of the bookshelf in the image information through color clustering and color block segmentation. Edge detection is used to segment images of multiple books contained in the image according to the pixel arrangement features at the edge of each book, and to obtain images of multiple books on the side of the book.
S12:将当前的图像信息与条码识别模型进行比对以得条码区域;所述条码识别模型的建立过程包括以下子步骤:S12: Comparing the current image information with the barcode recognition model to obtain a barcode area; the process of establishing the barcode recognition model includes the following substeps:
模型预处理步骤:对获取到的训练条码图像进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化;通过除噪音和干扰、图像切割、归一化等预处理过程提高服务器对图像处理识别的性能;Model preprocessing step: preprocessing the obtained training barcode image, the preprocessing includes removing noise and interference, image cutting and image normalization; and preprocessing processes such as noise and interference, image cutting, normalization, etc. Improve the performance of the server for image processing recognition;
特征提取步骤:对预处理后的训练条码图像进行特征提取以得到条码训练集;对预处理后的彩色条码图像进行特征提取,根据彩色条码图像的空间密度的颜色、图案排布情况特征,将条码图像分为5*5的25个方格区域,计算每个方格中的点数与彩色条码图像总点数之比,得到25维特征向量;Feature extraction step: performing feature extraction on the pre-processed training barcode image to obtain a barcode training set; performing feature extraction on the preprocessed color barcode image, according to the color density of the color barcode image, and the pattern arrangement characteristics The barcode image is divided into 25 square regions of 5*5, and the ratio of the number of points in each square to the total number of points of the color barcode image is calculated to obtain a 25-dimensional feature vector;
模型建立步骤:从条码训练集中提取标准模板以建立条码识别模型。通过反复识别训练,从训练集各彩色条码图像中提取出标准模版,建立标准特征库,完成条码识别模型的建立。每种类型的彩色条码都有几百个标准模版,因为条码具有方向性,训练时需要将条码图像按起始方向进行正确排列后提供给机器进行学习,这样后期机器在识别处理条码图像时则可以自动判断并对条码的起始位置做校准。通过预处理、特征提取后,将训练集各彩色条码的特征向量存入文件中,训练时需要指明各条码的正确值。Model establishment step: extracting a standard template from the barcode training set to establish a barcode recognition model. Through repeated recognition training, the standard template is extracted from the color bar code images of the training set, and the standard feature library is established to complete the establishment of the bar code recognition model. Each type of color bar code has hundreds of standard templates. Because the bar code has directionality, the bar code image needs to be correctly arranged in the starting direction and then provided to the machine for learning, so that the later machine recognizes and processes the bar code image. It can be automatically judged and the starting position of the barcode is calibrated. After preprocessing and feature extraction, the feature vectors of each color bar code of the training set are stored in the file, and the correct value of each bar code needs to be specified during training.
S13:对条码区域进行3D校正以使得该条码区域调整为矩形条码区域;比对识别模型判断单张书籍侧面图片中的包含的彩色条码图像区域,对彩色条码图像进行定位、3D校正和条码内容识别。S13: performing 3D correction on the barcode area to adjust the barcode area to a rectangular barcode area; determining, by the comparison recognition model, the color barcode image area included in the side picture of the single book, positioning, 3D correction, and barcode content on the color barcode image Identification.
条码定位:对分割后的书籍侧面图像进行特征提取,寻找出构成彩色条码具有显著特点的颜色、图案、形状等属性,计算出它们的几何特征量,通过这 些特征量形成描述彩色条码的特征向量,与系统中建立好的条码识别模型的特征向量进行比对,当相似度超过80%则可以判定该区域为彩色条码区域,根据判断结果对彩色条码区域进行定位。Bar code positioning: feature extraction of the side images of the divided books, find out the colors, patterns, shapes and other attributes that constitute the distinctive features of the color bar codes, calculate their geometric feature quantities, and form the feature vectors describing the color bar codes through these feature quantities. And comparing with the feature vector of the barcode recognition model established in the system, when the similarity exceeds 80%, the region can be determined as a color barcode region, and the color barcode region is positioned according to the judgment result.
3D校正:由于拍摄时,拍摄角度、条码在书脊上的粘贴位置、书籍的摆放倾斜角度等问题,彩色条码图像通常存在一定程度的图像扭曲或角度旋转颠倒,因此需要对彩色条码图像进行3D校正。通过空间映射,将彩色条码图像的上、下、左、右四个角的四个点固定后进行投影,对彩色条码图像进行方向旋转、扭曲校正,使菜色条码图像按照条码的起始方向排列成为标准的矩形区域,得到标准形状大小的彩色条码图像。3D correction: Due to the shooting angle, the shooting angle of the barcode on the spine, the tilt angle of the book, etc., the color barcode image usually has a certain degree of image distortion or angular rotation reversed, so 3D of the color barcode image is required. Correction. Through spatial mapping, the four points of the upper, lower, left and right corners of the color barcode image are fixed and then projected, and the color barcode image is rotated and twisted, so that the barcode image is arranged according to the starting direction of the barcode. Become a standard rectangular area and get a color bar code image of standard shape size.
S2:提取条码区域中所有色块的颜色值,并根据条码编码规则以得条码区域中各色块对应的字符信息,从而得到相应的书籍信息,所述条码区域中各色块按顺序依次排列,将字符信息与颜色值一一对应以形成条码编码规则;因为黑白的条码是靠条空之间的间隔来实现的,需要的精度会很高,如果离得远没办法识别条空之间的空隙,而基于色块的彩色条码是通过色块的颜色值来标识信息,所以摄像头离得远的话只要能够提取到色块中间的颜色就可以识别出来;故而通过本发明的彩色条码就可以实现大面积识别的技术问题。S2: extracting color values of all the color blocks in the barcode area, and obtaining character information corresponding to each color block in the barcode area according to the barcode encoding rule, thereby obtaining corresponding book information, wherein the color blocks in the barcode area are sequentially arranged in order, The character information and the color value are in one-to-one correspondence to form a bar code encoding rule; since the black and white bar code is realized by the interval between the bar spaces, the required precision is high, and if the distance is far away, there is no way to identify the gap between the bar spaces. The color bar code-based color bar code identifies the information by the color value of the color block, so if the camera is far away, the color can be recognized as long as the color in the middle of the color block can be extracted; therefore, the color bar code of the present invention can realize large Technical issues of area identification.
条码内容识别。根据系统中预存的彩色条码编码规则对3D校正处理后的每本图书的彩色条码图像进行条码信息识别。首先需要对每个条块的颜色值进行判断,彩色条码是使用等宽的各种颜色块来对应表示各个条、空字符的,对彩色条码各个条、块取颜色平均值后,提取各个条块的HSB颜色值信息,根据编码规则依次判断出各颜色值对应的字符信息。Bar code content identification. The bar code information is identified on the color bar code image of each book after 3D correction processing according to the color bar code encoding rule pre-stored in the system. First, it is necessary to judge the color value of each bar. The color bar code uses various color blocks of equal width to represent each bar and space character. After taking the average value of each bar and block of the color bar code, extract each bar. The HSB color value information of the block sequentially determines the character information corresponding to each color value according to the encoding rule.
S21:根据校验规则对所述字符信息进行校验以确认其是否正确。该校验规则也即是校验码设置规则,由于每一个彩色条码都具有一位校验码,这个校验 码是可以根据前面的数据得到的,故而其不仅可以通过颜色来进行显示,还可以通过计算来得到,在进行检验的时候,可以通过计算该校验码的对应字符来与识别到的颜色所对应的字符进行比对以达到验证字符信息的目的;S21: Check the character information according to a verification rule to confirm whether it is correct. The check rule is also a check code setting rule. Since each color bar code has a check code, the check code can be obtained according to the previous data, so that it can not only display by color, but also It can be obtained by calculation. When the test is performed, the corresponding character of the check code can be calculated to compare with the character corresponding to the recognized color to achieve the purpose of verifying the character information;
S3:根据分割的图像信息中图书所在书架对应的层,以及条码区域在分割的书架分层图像信息中的位置以得条码区域对应的书在书架上的存放层位置;由于步骤S1已经完成了对书籍图像中书架每一层的图书图像的分割以及对每一层书架上存放的每本书的分割,因此,对分割的各个层的每本图书图像,根据一定的位置排列规则进行顺序编号,如“摄像头编号-书架层-所在列位置”,用于后续判断图书的存放位置是否正确。S3: according to the layer corresponding to the book shelf where the book is located in the divided image information, and the position of the barcode area in the layered image information of the divided bookshelf, the storage layer position of the book corresponding to the barcode area on the bookshelf; since step S1 has been completed The segmentation of the book image at each layer of the bookshelf in the book image and the segmentation of each book stored on each shelf. Therefore, each book image of each layer of the segment is sequentially numbered according to a certain positional arrangement rule. For example, "camera number - bookshelf layer - column position" is used to determine whether the storage location of the book is correct.
S4:根据条码区域对应的书籍所处的行列位置以及摄像头的位置编号以得相应书籍的存放位置。S4: According to the position of the row and the position of the book corresponding to the barcode area and the position number of the camera, the storage position of the corresponding book is obtained.
上述方案仅仅是为了进行书籍定位,除了书籍定位,还可以通过位置比对来识别相应的放错位置的书籍;其主要有以下几个方式来进行识别;The above scheme is only for book positioning, in addition to book positioning, it is also possible to identify the corresponding misplaced book by position comparison; the main methods are as follows:
S4a:由于彩色条码字符对应书籍各方面的信息进行编码,根据彩色条码的字符识别结果和编码规则,将书籍信息中的分类信息与摄像头的位置编号所对应的图书分类区进行比对,判断该书籍信息对应的图书是否属于该图书分类区,如果否,则发送提醒信息至管理员处;通过提取该书籍信息中的分类信息,也即是该书籍对应的分类的所属区域,如果该分类区域与当前所处区域不一致,则提醒管理员;S4a: The color bar code character is encoded according to the information of each aspect of the book, and according to the character recognition result and the encoding rule of the color bar code, the classification information in the book information is compared with the book classification area corresponding to the position number of the camera, and the judgment is made. Whether the book corresponding to the book information belongs to the book classification area, if not, sending the reminder information to the administrator; by extracting the classification information in the book information, that is, the belonging area of the category corresponding to the book, if the classified area Remind the administrator if it is inconsistent with the current location;
S4b:将获取到的书籍的存放位置与该书籍的预设存放位置进行比对,如果不一致,则发送提醒信息至管理员处。除了上述识别方式外,还存在一种方式是直接通过识别所有字符信息,提取出跟大多数字符信息中的分类信息不同的对应的书籍,从而以此来提醒管理员,这个过程可以是每隔一个小时或者每隔 四个小时来进行自动识别提醒,或者是可以在闭馆前一个小时来进行识别提醒;S4b: Compare the storage location of the obtained book with the preset storage location of the book, and if not, send the reminder information to the administrator. In addition to the above identification methods, there is also a way to directly identify all the character information and extract corresponding books different from the classification information in most of the character information, thereby reminding the administrator that the process can be every Automatic identification reminders are made every hour or every four hours, or they can be identified one hour before closing.
本发明提供一种基于摄像头和条形码的图书定位系统及装置,能够通过摄像头批量、准确、快速的对彩色条码进行识别,从而对图书馆的图书进行快速定位,不需要借助专业的条码扫描设备,提高了扫描效率,解决了人工操作慢、人工记忆容易出错、效率低下的问题。通过在图书馆各区域针对书架布置合理数量的摄像头,对书架上的存书情况进行监测分析,自动排查并提示错误存放的书籍,减少人工排查的时间和精力,提高工作效率,具有一定的经济效益和市场应用价值。同时,通过布置在各个存书区域的查询屏幕,借阅者可以在查阅完书籍后,对不需要借阅的书籍的存放位置进行实时查询,以帮助他们准确的将书籍归位到正确的存放书架上,以改善随意存放书籍造成图书馆员工作量大量增加的情况。The invention provides a book positioning system and device based on a camera and a barcode, which can identify the color barcodes in batches, accurately and quickly by the camera, thereby quickly positioning the books of the library without using a professional barcode scanning device. The scanning efficiency is improved, and the problems of slow manual operation, error in manual memory, and low efficiency are solved. By arranging a reasonable number of cameras for bookshelf in various areas of the library, monitoring and analyzing the books stored on the bookshelf, automatically checking and prompting the books stored in error, reducing the time and effort of manual investigation, improving work efficiency, and having a certain economy. Benefits and market application value. At the same time, through the inquiry screens arranged in the respective deposit areas, the borrower can query the storage locations of the books that do not need to be borrowed in real time after consulting the books, so as to help them accurately return the books to the correct storage shelves. In order to improve the random storage of books, the workload of librarians has increased significantly.
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The above embodiments are merely preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention belong to the present invention. The scope of the claim.

Claims (10)

  1. 一种基于条码识别的图书定位方法,其特征在于,包括以下步骤:A book positioning method based on barcode recognition, comprising the following steps:
    信息获取步骤:获取书架的图像信息以及生成该图像信息的摄像头的位置编号,所述图像信息包括至少一个书籍图像,所述书籍图像包括条码区域;An information acquisition step of: acquiring image information of a bookshelf and a position number of a camera that generates the image information, the image information including at least one book image, the book image including a barcode area;
    位置获取步骤:根据图像信息以及条码区域在图像信息中的位置以得条码区域对应的书籍在书架上的行列位置;Position acquisition step: according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
    结果获取步骤:根据条码区域对应的书籍所处的行列位置以及摄像头的位置编号以得相应书籍的存放位置。Result acquisition step: according to the position of the row and the position of the book corresponding to the barcode area and the position number of the camera to obtain the storage position of the corresponding book.
  2. 如权利要求1所述的基于条码识别的图书定位方法,其特征在于,在信息获取步骤之后还包括书籍信息获取步骤:提取条码区域中所有色块的颜色值,并根据条码编码规则以得条码区域中各色块对应的字符信息,从而得到相应的书籍信息,所述条码区域中各色块按顺序依次排列,将字符信息与颜色值一一对应以形成条码编码规则。The bar code recognition-based book locating method according to claim 1, further comprising a book information obtaining step of: extracting color values of all color blocks in the bar code region, and obtaining a bar code according to the bar code encoding rule. The character information corresponding to each color block in the area, thereby obtaining corresponding book information, wherein the color blocks in the bar code area are sequentially arranged in order, and the character information and the color value are in one-to-one correspondence to form a bar code encoding rule.
  3. 如权利要求1所述的基于条码识别的图书定位方法,其特征在于,在信息获取步骤之后还包括图像预处理步骤:对获取到的当前的图像信息进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化。The bar code recognition-based book locating method according to claim 1, further comprising an image pre-processing step of: pre-processing the acquired current image information, the pre-processing including removing noise after the information acquiring step And interference, image cutting, and image normalization.
  4. 如权利要求3所述的基于条码识别的图书定位方法,其特征在于,在图像预处理步骤之后还包括以下步骤:The method for positioning a book based on bar code recognition according to claim 3, further comprising the following steps after the image preprocessing step:
    识别比对步骤:将当前的图像信息与条码识别模型进行比对以得条码区域;Identifying the comparison step: comparing the current image information with the barcode recognition model to obtain a barcode area;
    3D校正步骤:对条码区域进行3D校正以使得该条码区域调整为矩形条码区域。3D correction step: 3D correction is performed on the barcode area to adjust the barcode area to a rectangular barcode area.
  5. 如权利要求4所述的基于条码识别的图书定位方法,其特征在于,所述条码识别模型的建立过程包括以下子步骤:The method for positioning a book based on bar code recognition according to claim 4, wherein the process of establishing the bar code recognition model comprises the following substeps:
    模型预处理步骤:对获取到的训练条码图像进行预处理,所述预处理包括去除噪音和干扰、图像切割以及图像归一化;Model pre-processing step: pre-processing the acquired training barcode image, the pre-processing including removing noise and interference, image cutting and image normalization;
    特征提取步骤:对预处理后的训练条码图像进行特征提取以得到条码训练集;Feature extraction step: performing feature extraction on the pre-processed training barcode image to obtain a barcode training set;
    模型建立步骤:从条码训练集中提取标准模板以建立条码识别模型。Model establishment step: extracting a standard template from the barcode training set to establish a barcode recognition model.
  6. 如权利要求1所述的基于条码识别的图书定位方法,其特征在于,在字符获取步骤之后还包括字符校验步骤:根据校验规则对所述字符信息进行校验以确认其是否正确。The bar code recognition-based book locating method according to claim 1, further comprising a character verification step after the character obtaining step: verifying the character information according to a verification rule to confirm whether it is correct.
  7. 如权利要求1所述的基于条码识别的图书定位方法,其特征在于,在结果获取步骤之后还包括位置比对步骤:将获取到的书籍的存放位置与该书籍的预设存放位置进行比对,如果不一致,则发送提醒信息至管理员处。The method for positioning a book based on bar code recognition according to claim 1, further comprising: after the result obtaining step, the step of comparing the positions of the obtained book and the preset storage position of the book; If they are inconsistent, send a reminder message to the administrator.
  8. 一种电子设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1-7中任意一项所述的基于条码识别的图书定位方法。An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement any one of claims 1-7 The book positioning method based on barcode recognition.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现如权利要求1-7任意一项所述的基于条码识别的图书定位方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a barcode recognition based book positioning method according to any one of claims 1-7.
  10. 一种基于条码识别的图书定位方法,其特征在于,包括以下步骤:A book positioning method based on barcode recognition, comprising the following steps:
    信息获取步骤:获取书架的图像信息,所述图像信息包括书架编号以及至少一个书籍图像,所述书籍图像包括条码区域;Information acquiring step: acquiring image information of a bookshelf, the image information including a bookshelf number and at least one book image, the book image including a barcode area;
    位置获取步骤:根据图像信息以及条码区域在图像信息中的位置以得条码区域对应的书籍在书架上的行列位置;Position acquisition step: according to the image information and the position of the barcode area in the image information, the position of the book corresponding to the barcode area on the shelf;
    结果获取步骤:根据条码区域对应的书籍所处的行列位置以及书架编号以得相应书籍的存放位置。Result obtaining step: according to the position of the row and the book number corresponding to the book corresponding to the barcode area, the storage position of the corresponding book is obtained.
PCT/CN2018/111317 2017-10-23 2018-10-23 Bar code recognition based book positioning method, electronic device and storage medium WO2019080818A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710996012.8 2017-10-23
CN201710996012.8A CN108009602B (en) 2017-10-23 2017-10-23 Book positioning method based on bar code identification, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019080818A1 true WO2019080818A1 (en) 2019-05-02

Family

ID=62051697

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111317 WO2019080818A1 (en) 2017-10-23 2018-10-23 Bar code recognition based book positioning method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN108009602B (en)
WO (1) WO2019080818A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532408A (en) * 2019-08-28 2019-12-03 广州金域医学检验中心有限公司 Pathological section management method, device, computer equipment and storage medium
CN112183148A (en) * 2020-09-18 2021-01-05 内江师范学院 Batch bar code positioning method and identification system
CN116385742A (en) * 2023-03-20 2023-07-04 北京兆讯恒达技术有限公司 Low-quality bar code image signal extraction method and device

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009602B (en) * 2017-10-23 2021-09-28 广东数相智能科技有限公司 Book positioning method based on bar code identification, electronic equipment and storage medium
CN108664938A (en) * 2018-05-16 2018-10-16 四川斐讯信息技术有限公司 A kind of books management bookcase and method based on image procossing
CN108898745A (en) * 2018-05-30 2018-11-27 深圳市零点零科技有限公司 A kind of books sharing method and system
CN109241374B (en) * 2018-06-07 2022-05-20 广东数相智能科技有限公司 Book information base updating method and library book positioning method
CN109064395B (en) * 2018-06-19 2023-06-16 广东数相智能科技有限公司 Bookshelf image splicing method based on book checking, electronic equipment and storage medium
CN108960224A (en) * 2018-06-26 2018-12-07 广东工业大学 A kind of library search method, apparatus and system
CN108961130B (en) * 2018-06-27 2021-09-24 华北理工大学 Safe borrowing and returning method and device for library books
CN109255414A (en) * 2018-07-06 2019-01-22 广东数相智能科技有限公司 A kind of colour barcode made an inventory for books, books recognition methods, electronic equipment and storage medium
CN109271839B (en) * 2018-07-23 2022-11-01 广东数相智能科技有限公司 Book defect detection method, system and storage medium
CN109102442A (en) * 2018-08-01 2018-12-28 河南科技学院 A kind of bookshelf management system of libraries of the universities
CN109767422B (en) * 2018-12-08 2021-12-24 深圳市勘察研究院有限公司 Pipeline detection and identification method based on deep learning, storage medium and robot
CN110032906A (en) * 2019-01-28 2019-07-19 天讯瑞达通信技术有限公司 Books recognition method, device and the storage medium of shared bookcase
CN111666737B (en) * 2020-06-04 2023-04-25 广州博高信息科技有限公司 Multi-coding rule compatible processing method, device, equipment and medium for regional library
CN112329514A (en) * 2020-09-07 2021-02-05 江苏感创电子科技股份有限公司 Book checking method and system based on fast R-CNN algorithm
CN112395939A (en) * 2020-09-07 2021-02-23 江苏感创电子科技股份有限公司 Book checking method and system
CN112307793B (en) * 2020-10-30 2022-08-02 杭州横竖科技有限公司 Method for batch recognition of bar codes on spine under complex background
CN114186923B (en) * 2021-11-25 2023-03-24 北京融安特智能科技股份有限公司 Warehouse file positioning auxiliary method and system, intelligent terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783114A (en) * 2004-11-30 2006-06-07 周志艳 Special bar code for treating article in mess shelf, its special tag and using method
CN101877144A (en) * 2009-11-27 2010-11-03 深圳职业技术学院 Three-dimensional modeling method of vast books of virtual library
CN102982625A (en) * 2012-11-27 2013-03-20 东北大学 Device and method for returning books within 24 hours in self-help mode
CN108009602A (en) * 2017-10-23 2018-05-08 广东数相智能科技有限公司 A kind of books localization method, electronic equipment and storage medium based on bar code identification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783114A (en) * 2004-11-30 2006-06-07 周志艳 Special bar code for treating article in mess shelf, its special tag and using method
CN101877144A (en) * 2009-11-27 2010-11-03 深圳职业技术学院 Three-dimensional modeling method of vast books of virtual library
CN102982625A (en) * 2012-11-27 2013-03-20 东北大学 Device and method for returning books within 24 hours in self-help mode
CN108009602A (en) * 2017-10-23 2018-05-08 广东数相智能科技有限公司 A kind of books localization method, electronic equipment and storage medium based on bar code identification

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532408A (en) * 2019-08-28 2019-12-03 广州金域医学检验中心有限公司 Pathological section management method, device, computer equipment and storage medium
CN112183148A (en) * 2020-09-18 2021-01-05 内江师范学院 Batch bar code positioning method and identification system
CN112183148B (en) * 2020-09-18 2022-11-18 内江师范学院 Batch bar code positioning method and identification system
CN116385742A (en) * 2023-03-20 2023-07-04 北京兆讯恒达技术有限公司 Low-quality bar code image signal extraction method and device
CN116385742B (en) * 2023-03-20 2024-04-12 北京兆讯恒达技术有限公司 Low-quality bar code image signal extraction method and device

Also Published As

Publication number Publication date
CN108009602A (en) 2018-05-08
CN108009602B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
WO2019080818A1 (en) Bar code recognition based book positioning method, electronic device and storage medium
CN109241374B (en) Book information base updating method and library book positioning method
US8885048B2 (en) Computer vision and radio frequency identification technology based book enrolment management apparatus
US20210334574A1 (en) Commodity detection terminal, commodity detection method, system, computer device, and computer readable medium
US11321598B2 (en) Multicolor barcode and color calibration method thereof
CN108288012B (en) Artwork filing verification method and system based on mobile phone
CN107862234A (en) A kind of recognition methods of color bar code, electronic equipment and storage medium
CN109376631A (en) A kind of winding detection method and device neural network based
CN105184225B (en) A kind of multinational banknote image recognition methods and device
CN108287833A (en) It is a kind of for the art work identification to scheme to search drawing method
CN114463567B (en) Block chain-based intelligent education operation big data plagiarism prevention method and system
CN110288006A (en) A kind of license plate number automatic Verification method and system
CN109255414A (en) A kind of colour barcode made an inventory for books, books recognition methods, electronic equipment and storage medium
CN110223340B (en) Method and device for recognizing shelf position of book by robot
CN117115569B (en) Automatic object image identification and classification method and system based on machine learning
CN110826551B (en) Intelligent screening method for VIN code topology printing mode image of motor vehicle
CN111126286A (en) Vehicle dynamic detection method and device, computer equipment and storage medium
CN110414792A (en) Component centralized procurement management system and Related product based on BIM and big data
Song et al. A robust algorithm for go image recognition in go game
CN110751140A (en) Character batch recognition method and device and computer equipment
CN110738260A (en) Method, device and equipment for detecting placement of space boxes of retail stores of types
US20220260410A1 (en) Method of weighing using object recognition and device therefor
TWI755669B (en) Homogeneous vehicle retrieval system and method
RU2565007C1 (en) Recognition of bank card identification data and device to this end
Salian et al. Automated Attendance System using Fuzzy Logic and Content based Image Retrieval

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18871766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18871766

Country of ref document: EP

Kind code of ref document: A1