CN115510259A - Method, device, terminal and non-transitory storage medium for feature information processing - Google Patents
Method, device, terminal and non-transitory storage medium for feature information processing Download PDFInfo
- Publication number
- CN115510259A CN115510259A CN202110686238.4A CN202110686238A CN115510259A CN 115510259 A CN115510259 A CN 115510259A CN 202110686238 A CN202110686238 A CN 202110686238A CN 115510259 A CN115510259 A CN 115510259A
- Authority
- CN
- China
- Prior art keywords
- information
- characteristic information
- feature information
- acquiring
- database
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开提供了特征信息处理的方法、装置、终端及非暂时性存储介质。其中,方法包括:获取目标图像;获取所述目标图像中的至少一个预设位置的特征信息;及从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。本公开提供的特征信息处理方法能够根据特征信息的历史特征信息进行匹配显示。
The disclosure provides a method, device, terminal and non-transitory storage medium for feature information processing. Wherein, the method includes: acquiring a target image; acquiring feature information of at least one preset position in the target image; and searching a database for historical feature information matching the feature information, such as the database including the The historical characteristic information matched by the characteristic information, and the page information corresponding to the matched historical characteristic information is acquired. The characteristic information processing method provided in the present disclosure can perform matching display according to the historical characteristic information of the characteristic information.
Description
技术领域technical field
本公开涉及计算机技术领域,更具体地,涉及一种特征信息处理的方法、装置、终端及非暂时性存储介质。The present disclosure relates to the field of computer technology, and more specifically, to a method, device, terminal and non-transitory storage medium for feature information processing.
背景技术Background technique
桌面级交互式投影显示和电子设备屏幕上显示历史记录的方式可应用于诸多使用场景,例如辅助学生学习。通过摄像头识别书本轮廓,用户在每个页面所查询的内容会有所不同。The desktop-level interactive projection display and the way of displaying historical records on the screen of electronic equipment can be applied to many usage scenarios, such as assisting students in learning. By recognizing the outline of the book through the camera, the content that users query on each page will be different.
发明内容Contents of the invention
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce a simplified form of concepts that are described in detail later in the Detailed Description. This summary of the invention is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
为了解决上述问题,本公开提供了特征信息处理的方法、装置、终端及非暂时性存储介质。In order to solve the above problems, the present disclosure provides a method, device, terminal and non-transitory storage medium for feature information processing.
根据本公开的一实施例,提供了一种特征信息处理的方法,包括:According to an embodiment of the present disclosure, a method for processing feature information is provided, including:
获取目标图像;Get the target image;
获取所述目标图像中的至少一个预设位置的特征信息;及Acquiring feature information of at least one preset position in the target image; and
从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。Searching for historical feature information matching the feature information from the database, if the database includes historical feature information matching the feature information, acquiring page information corresponding to the matching historical feature information.
根据本公开的一实施例,提供了一种特征信息处理的装置,包括:According to an embodiment of the present disclosure, a feature information processing device is provided, including:
获取模块,用于获取图像;获取所述图像中的至少一个预设位置的特征信息;及An acquisition module, configured to acquire an image; acquire feature information of at least one preset position in the image; and
处理模块,用于从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。A processing module, configured to search the database for historical feature information that matches the feature information, if the database includes historical feature information that matches the feature information, acquire page information corresponding to the matched historical feature information.
根据本公开的一实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述方法。According to an embodiment of the present disclosure, a terminal is provided, and the terminal includes: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program code stored in the memory program code to perform the above method.
根据本公开的一实施例,提供了一种非暂时性存储介质,所述非暂时性存储介质用于存储程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行上述方法。According to an embodiment of the present disclosure, a non-transitory storage medium is provided, the non-transitory storage medium is used for storing program codes, and when the program codes are executed by a computer device, the computer device executes the above method.
本公开的特征信息处理的方案能够根据特征信息的历史特征信息进行匹配显示。The feature information processing solution of the present disclosure can perform matching display according to the historical feature information of the feature information.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
图1示出了本公开实施例的特征信息处理方法的流程图。Fig. 1 shows a flow chart of a feature information processing method in an embodiment of the present disclosure.
图2示出了本公开实施例的目标图像的示意图。FIG. 2 shows a schematic diagram of a target image according to an embodiment of the present disclosure.
图3示出了本公开实施例的页面信息的显示示意图。Fig. 3 shows a schematic diagram of displaying page information in an embodiment of the present disclosure.
图4示出了本公开另一实施例的特征信息处理方法的流程图。Fig. 4 shows a flowchart of a feature information processing method according to another embodiment of the present disclosure.
图5示出了本公开实施例的特征信息处理装置的结构示意图。Fig. 5 shows a schematic structural diagram of an apparatus for processing feature information according to an embodiment of the present disclosure.
图6示出了适于用来实现本公开的实施例的电子设备的结构示意图。FIG. 6 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and/or executed in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".
本公开中的终端可以包括但不限于诸如移动电话、智能手机、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等等的移动终端设备以及诸如数字TV、台式计算机等等的固定终端设备。Terminals in the present disclosure may include, but are not limited to, devices such as mobile phones, smart phones, notebook computers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), navigation devices, vehicle-mounted terminal equipment, vehicle-mounted display Terminals, mobile terminal devices such as vehicle electronic rearview mirrors, and fixed terminal devices such as digital TVs, desktop computers, etc.
如图1所示,本公开实施例提供了特征信息处理的方法,包括以下步骤。As shown in FIG. 1 , an embodiment of the present disclosure provides a method for processing feature information, including the following steps.
S100,获取目标图像。S100, acquiring a target image.
当用户在书桌读书或学习时,可以通过交互式投影设备、移动终端、平板设备(pad)或智能学习灯等设备的摄像头拍摄书本或其他学习材料内容,以及用户记笔记、查词等学习行为,从而利用这些智能设备中对应的学习工具或辅助app辅助用户学习。上述智能设备可以通过摄像头拍摄到桌面的书本画面,从而识别书页特征,判断当前阅读的页面。本公开实施例的目标图像可包括书的某一打开的页面内容,其中可包括文字、图片等信息。请参见图2,图2是本公开实施例的目标图像的示意图。在本公开实施例中,目标图像可以是通过摄像头识别的书本轮廓。具体在图2中,目标图像可为打开的书本页面ABCD。页面ABCD内可包括文字、图片等信息。When the user is reading or studying at the desk, the camera of the interactive projection device, mobile terminal, tablet device (pad) or smart learning lamp can take pictures of the content of the book or other learning materials, as well as the learning behavior of the user such as taking notes and looking up words. , so as to use the corresponding learning tools or auxiliary apps in these smart devices to assist users in learning. The above-mentioned smart device can capture the picture of the book on the desktop through the camera, thereby identifying the characteristics of the book page and judging the page currently being read. The target image in the embodiment of the present disclosure may include the content of an open page of a book, which may include text, pictures and other information. Please refer to FIG. 2 , which is a schematic diagram of a target image according to an embodiment of the present disclosure. In the embodiment of the present disclosure, the target image may be the outline of a book recognized by a camera. Specifically in FIG. 2 , the target image may be pages ABCD of an open book. Pages ABCD can include text, pictures and other information.
S200,获取目标图像中的至少一个预设位置的特征信息。S200. Acquire feature information of at least one preset position in the target image.
具体地,本公开实施例可包括获取第一预设位置的第一特征信息;及获取第二预设位置的第二特征信息;其中,所述第一特征信息包括页码信息,第二特征信息包括文字信息和/或颜色信息。Specifically, this embodiment of the present disclosure may include acquiring first feature information at a first preset position; and acquiring second feature information at a second preset position; wherein, the first feature information includes page number information, and the second feature information Include text information and/or color information.
请继续参见图2,第一预设位置可如图2中目标图像ABCD内的矩形框所示,第一特征信息例如是页码信息,其可位于页面边角处,用于区别书本内不同的页面。第二预设位置可以是目标图像ABCD内不与第一预设位置重叠的任意位置,第二特征信息可以是书页内任意处获取的文字、颜色等信息,如图2中圆形区域所示。虽然图2中以选取十个特征信息为例,但本公开实施例可选择更多或更少的特征信息。Please continue to refer to FIG. 2, the first preset position can be shown in the rectangular box in the target image ABCD in FIG. page. The second preset position can be any position in the target image ABCD that does not overlap with the first preset position, and the second characteristic information can be information such as text and color obtained anywhere in the page, as shown in the circular area in Figure 2 . Although ten feature information are selected as an example in FIG. 2 , more or less feature information may be selected in embodiments of the present disclosure.
S300,从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。S300. Search the database for historical feature information matching the feature information. If the database includes historical feature information matching the feature information, acquire page information corresponding to the matching historical feature information.
具体地,本公开实施例可包括从所述数据库中查找与所述第一特征信息和所述第二特征信息匹配的历史特征信息,获得第一匹配结果;如所述第一匹配结果获取成功,则所述第一匹配结果为所述匹配的历史特征信息;如所述第一匹配结果获取失败,则从所述数据库中查找与所述第一特征信息和所述文字信息匹配的历史特征信息。在预设显示区域显示所述页面信息;其中,所述页面信息包括用户在所述目标图像的历史操作信息。Specifically, this embodiment of the present disclosure may include searching the database for historical feature information that matches the first feature information and the second feature information, and obtaining the first matching result; if the first matching result is obtained successfully , then the first matching result is the matching historical feature information; if the first matching result fails to be obtained, then search the database for historical features that match the first feature information and the text information information. The page information is displayed in a preset display area; wherein, the page information includes historical operation information of the user on the target image.
更具体地,在读书过程中,可能会出现用户不认识的字。本公开实施例可以通过pad、学习灯等设备的查词功能或点读功能查询汉字或英文单词,且设备会记录下当前页面中查询的内容;用户再阅读同一书页时,如果pad或学习灯识别到页面,则可以获取上次阅读该页面时查询的内容,且可以直接显示,而无需等待用户查询。More specifically, in the process of reading, characters unknown to the user may appear. In the embodiment of the present disclosure, Chinese characters or English words can be queried through the word search function or point-reading function of devices such as pads and learning lights, and the device will record the content of the query on the current page; when the user reads the same page again, if the pad or learning lights If the page is identified, the content queried when the page was read last time can be obtained, and can be displayed directly without waiting for the user to query.
承上述,仍以图2为例,当用户第一次进入该页面时,可对页面范围内的多个点进行特征提取,识别并存储特征信息。当用户再一次进入该页时,可对该页完成十个点的特征对比,其中页码信息和文字信息可为主要对比置信点,颜色信息可为辅助对比点,因为用户可能会在非文字区域进行涂改、标注。例如,先根据页码信息、文字信息和颜色信息进行匹配查找,如未找到完全匹配的结果,则再以页码信息和文字信息进行匹配,待匹配成功后调取数据库中的历史特征信息对应的页码信息予以显示。其中,页面信息可包括用户在相应页面的历史操作记录信息,包括对应预设位置的内容的批注记录等内容。Based on the above, still taking Figure 2 as an example, when the user enters the page for the first time, feature extraction can be performed on multiple points within the page range, and feature information can be identified and stored. When the user enters the page again, the feature comparison of ten points can be completed on the page, in which the page number information and text information can be the main comparison confidence points, and the color information can be the auxiliary comparison point, because the user may be in the non-text area Make corrections and label. For example, first perform a matching search based on page number information, text information, and color information. If no complete matching result is found, then use the page number information and text information to perform matching. After the matching is successful, call the page number corresponding to the historical feature information in the database. The information is displayed. Wherein, the page information may include the historical operation record information of the user on the corresponding page, including the annotation record of the content corresponding to the preset position and the like.
请参见图3,图3是本公开实施例的页面信息的显示示意图。在图3中,目标图像仍为ABCD,目标图像ABCD可放置于载物台上。页面信息可在目标图像ABCD以外的区域中进行显示。图3中以页面信息1-5为例,可表示本页面识别出五个特征信息的历史特征信息对应的页面信息,其中可包括例如词语和词语的例句,或者对应语句的语法等内容。可知图3所示的显示方式仅为示例,本公开实施例还可采用其它的显示方式,不限于图3所示的数量及排布方式。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of displaying page information in an embodiment of the present disclosure. In FIG. 3 , the target image is still ABCD, and the target image ABCD can be placed on the stage. Page information may be displayed in an area other than the target image ABCD. In FIG. 3 , taking page information 1-5 as an example, it can represent the page information corresponding to the historical feature information of five feature information identified on this page, which can include words and example sentences of words, or the grammar of corresponding sentences. It can be seen that the display manner shown in FIG. 3 is only an example, and other display manners may also be used in embodiments of the present disclosure, and are not limited to the number and arrangement manner shown in FIG. 3 .
此外,本公开实施例还可包括获取目标图像的关联图像;获取所述目标图像与所述关联图像之间的关联关系;及根据所述第一特征信息和所述关联关系,从所述数据库中获取所述关联图像的第三特征信息。具体地,本公开实施例还可包括获取所述关联图像中的第三预设位置的第四特征信息;及将获取的所述第四特征信息与所述第一特征信息进行比对,获得所述关联关系;其中,所述关联图像中的所述第三预设位置对应所述目标图像中的所述第一预设位置。In addition, the embodiment of the present disclosure may also include acquiring an associated image of the target image; acquiring an association relationship between the target image and the associated image; and according to the first characteristic information and the association relationship, from the database Acquiring the third feature information of the associated image. Specifically, this embodiment of the present disclosure may further include acquiring fourth feature information at a third preset position in the associated image; and comparing the acquired fourth feature information with the first feature information to obtain The association relationship; wherein, the third preset position in the associated image corresponds to the first preset position in the target image.
更具体地,本公开实施例还可获取书本的其它页面的特征信息,并根据页码确定不同页面的对应关系。其它页面的特征信息提取和匹配可参照上述实施例中的描述,此处不再重复。特别地,在识别其他页面时,可主要对比第一特征信息,即页码信息,经确认后直接调取本页信息,而无需再次进行文字信息和颜色信息的比对和匹配,提高反应速度。本公开实施例还可支持用户纠错功能,例如重新获取特征信息或更改匹配信息等。More specifically, the embodiments of the present disclosure may also obtain feature information of other pages of the book, and determine the correspondence between different pages according to the page numbers. For the feature information extraction and matching of other pages, reference may be made to the descriptions in the above embodiments, which will not be repeated here. In particular, when identifying other pages, the first feature information, that is, the page number information can be mainly compared, and the information of this page can be directly called after confirmation, without the need to compare and match the text information and color information again, thereby improving the response speed. Embodiments of the present disclosure may also support user error correction functions, such as reacquiring feature information or changing matching information.
本公开实施例还可包括如所述数据库中不包括与所述特征信息匹配的历史特征信息,则将所述特征信息记录在所述数据库中,并在所述数据库中建立与所述特征信息对应的页面信息。请参见图4,图4是本公开另一实施例的特征信息处理方法的流程图。在本实施例中,若无法在数据库中找到匹配的历史特征信息,则将获取的特征信息保存在数据库中,并建立对应的页面信息,即可对数据库进行更新。此外,如果用户在阅读该页面时查询了新的内容,本公开实施例还可将新查询的内容记录到对应的页面信息中,进一步更新数据库。This embodiment of the present disclosure may also include recording the feature information in the database if the database does not include historical feature information matching the feature information, and establishing a feature information in the database that matches the feature information Corresponding page information. Please refer to FIG. 4 . FIG. 4 is a flowchart of a method for processing feature information according to another embodiment of the present disclosure. In this embodiment, if no matching historical feature information can be found in the database, the acquired feature information is stored in the database, and corresponding page information is created to update the database. In addition, if the user inquires about new content while reading the page, the embodiment of the present disclosure may also record the newly inquired content into the corresponding page information to further update the database.
本公开实施例可通过摄像头识别书本轮廓,以及提取轮廓内的特征信息。通过识别书本内不同页面,查找用户在页面内是否进行过查询的单词,词语,例句,语法等操作,如用户进行过相关操作且保存在数据库中,本公开可通过识别匹配调取数据库中的操作历史记录直接进行显示,而无需用户再次手动查询;如无历史记录,本公开支持建立新记录,以及对数据库更新。根据页面的不同,可将用户查询信息按照页码保存起来,还可根据页码将同一本书的不同页面之间建立关联,提高查找速度。本公开实施例的特征信息处理方案支持自动识别页面完成相关信息的调用与显示。In the embodiment of the present disclosure, the outline of the book can be identified through a camera, and feature information within the outline can be extracted. By identifying different pages in the book, find out whether the user has queried words, phrases, example sentences, grammar, etc. in the page. If the user has performed related operations and stored them in the database, the disclosure can call the database through identification matching. The operation history records are directly displayed without the need for the user to manually query again; if there is no history record, the disclosure supports creating a new record and updating the database. According to different pages, user query information can be saved according to the page number, and different pages of the same book can also be associated according to the page number to improve the search speed. The characteristic information processing solution of the embodiment of the present disclosure supports automatic identification of page completion and calling and display of related information.
如图5所示,图5示出了本公开实施例的特征信息处理的装置。本公开实施例的装置10包括获取模块11和处理模块13。其中,获取模块11可用于获取图像;获取所述图像中的至少一个预设位置的特征信息;处理模块13可用于从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。As shown in FIG. 5 , FIG. 5 shows an apparatus for processing feature information according to an embodiment of the present disclosure. The
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the embodiment of the device, since it basically corresponds to the embodiment of the method, for relevant parts, please refer to part of the description of the embodiment of the method. The device embodiments described above are merely illustrative, wherein the modules described as separate modules may or may not be separate. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.
此外,本公开还提供一种终端,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述方法。In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method .
此外,本公开还提供一种非暂时性存储介质,所述非暂时性存储介质用于存储程序代码,程序代码用于执行上述方法。In addition, the present disclosure also provides a non-transitory storage medium, the non-transitory storage medium is used to store program codes, and the program codes are used to execute the above method.
下面参考图6,其示出了适于用来实现本公开实施例的电子设备800例如终端的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of an
如图6所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 6, an
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 805:
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 809 , or from storage means 808 , or from
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种特征信息处理的方法,包括:According to one or more embodiments of the present disclosure, a method for processing feature information is provided, including:
获取目标图像;Get the target image;
获取所述目标图像中的至少一个预设位置的特征信息;及Acquiring feature information of at least one preset position in the target image; and
从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。Searching for historical feature information matching the feature information from the database, if the database includes historical feature information matching the feature information, acquiring page information corresponding to the matching historical feature information.
根据本公开的一个或多个实施例,所述获取所述目标图像中的至少一个预设位置的特征信息包括:According to one or more embodiments of the present disclosure, the acquiring feature information of at least one preset position in the target image includes:
获取第一预设位置的第一特征信息;及Acquiring first characteristic information of the first preset position; and
获取第二预设位置的第二特征信息;acquiring second characteristic information of a second preset position;
其中,所述第一特征信息包括页码信息,第二特征信息包括文字信息和/或颜色信息。Wherein, the first feature information includes page number information, and the second feature information includes text information and/or color information.
根据本公开的一个或多个实施例,所述从数据库中查找与所述特征信息匹配的历史特征信息包括:According to one or more embodiments of the present disclosure, the searching for historical characteristic information matching the characteristic information from the database includes:
从所述数据库中查找与所述第一特征信息和所述第二特征信息匹配的历史特征信息,获得第一匹配结果;如所述第一匹配结果获取成功,则所述第一匹配结果为所述匹配的历史特征信息;如所述第一匹配结果获取失败,则从所述数据库中查找与所述第一特征信息和所述文字信息匹配的历史特征信息。Find historical feature information matching the first feature information and the second feature information from the database to obtain a first matching result; if the first matching result is obtained successfully, the first matching result is The matching historical feature information; if the first matching result fails to be acquired, searching the database for historical feature information matching the first feature information and the text information.
根据本公开的一个或多个实施例,所述方法还包括:According to one or more embodiments of the present disclosure, the method further includes:
获取所述目标图像的关联图像;Acquiring an associated image of the target image;
获取所述目标图像与所述关联图像之间的关联关系;及Acquiring an association relationship between the target image and the associated image; and
根据所述第一特征信息和所述关联关系,从所述数据库中获取所述关联图像的第三特征信息。Acquire third feature information of the associated image from the database according to the first feature information and the association relationship.
根据本公开的一个或多个实施例,所述获取所述目标图像与所述关联图像之间的关联关系包括:According to one or more embodiments of the present disclosure, the acquiring the association relationship between the target image and the associated image includes:
获取所述关联图像中的第三预设位置的第四特征信息;及Acquiring fourth characteristic information of a third preset position in the associated image; and
将获取的所述第四特征信息与所述第一特征信息进行比对,获得所述关联关系;Comparing the obtained fourth feature information with the first feature information to obtain the association relationship;
其中,所述关联图像中的所述第三预设位置对应所述目标图像中的所述第一预设位置。Wherein, the third preset position in the associated image corresponds to the first preset position in the target image.
根据本公开的一个或多个实施例,所述获取所述匹配的历史特征信息对应的页面信息包括:According to one or more embodiments of the present disclosure, the acquiring the page information corresponding to the matched historical feature information includes:
在预设显示区域显示所述页面信息;displaying the page information in a preset display area;
其中,所述页面信息包括用户在所述目标图像的历史操作信息。Wherein, the page information includes historical operation information of the user on the target image.
根据本公开的一个或多个实施例,所述方法还包括:According to one or more embodiments of the present disclosure, the method further includes:
如所述数据库中不包括与所述特征信息匹配的历史特征信息,则将所述特征信息记录在所述数据库中,并在所述数据库中建立与所述特征信息对应的页面信息。If the database does not include historical feature information matching the feature information, record the feature information in the database, and create page information corresponding to the feature information in the database.
根据本公开的一个或多个实施例,所述方法还包括:According to one or more embodiments of the present disclosure, the method further includes:
获取和所述目标图像相关的用户操作信息,将所述用户操作信息对应的显示结果保存到所述特征信息对应的页面信息中。The user operation information related to the target image is acquired, and the display result corresponding to the user operation information is saved in the page information corresponding to the characteristic information.
根据本公开的一个或多个实施例,提供了一种特征信息处理的装置,包括:According to one or more embodiments of the present disclosure, a feature information processing device is provided, including:
获取模块,用于获取图像;获取所述图像中的至少一个预设位置的特征信息;及An acquisition module, configured to acquire an image; acquire feature information of at least one preset position in the image; and
处理模块,用于从数据库中查找与所述特征信息匹配的历史特征信息,如所述数据库中包括与所述特征信息匹配的历史特征信息,获取所述匹配的历史特征信息对应的页面信息。A processing module, configured to search the database for historical feature information that matches the feature information, if the database includes historical feature information that matches the feature information, acquire page information corresponding to the matched historical feature information.
根据本公开的一个或多个实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述方法。According to one or more embodiments of the present disclosure, a terminal is provided, and the terminal includes: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call the The program code stored in the memory is used to execute the above method.
根据本公开的一个或多个实施例,提供了一种非暂时性存储介质,所述非暂时性存储介质用于存储程序代码,所述程序代码用于执行上述方法。According to one or more embodiments of the present disclosure, a non-transitory storage medium is provided, the non-transitory storage medium is used for storing program code, and the program code is used for executing the above method.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principles. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110686238.4A CN115510259A (en) | 2021-06-21 | 2021-06-21 | Method, device, terminal and non-transitory storage medium for feature information processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110686238.4A CN115510259A (en) | 2021-06-21 | 2021-06-21 | Method, device, terminal and non-transitory storage medium for feature information processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115510259A true CN115510259A (en) | 2022-12-23 |
Family
ID=84499611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110686238.4A Pending CN115510259A (en) | 2021-06-21 | 2021-06-21 | Method, device, terminal and non-transitory storage medium for feature information processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115510259A (en) |
-
2021
- 2021-06-21 CN CN202110686238.4A patent/CN115510259A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113378586B (en) | Speech translation method, translation model training method, device, medium, and apparatus | |
CN112883968B (en) | Image character recognition method, device, medium and electronic equipment | |
CN112883966B (en) | Image character recognition method, device, medium and electronic equipment | |
WO2022247562A1 (en) | Multi-modal data retrieval method and apparatus, and medium and electronic device | |
WO2022037419A1 (en) | Audio content recognition method and apparatus, and device and computer-readable medium | |
WO2023142914A1 (en) | Date recognition method and apparatus, readable medium and electronic device | |
CN114445754A (en) | Video processing method, apparatus, readable medium and electronic device | |
WO2022134968A1 (en) | Model training method, speech recognition method, apparatuses, medium and device | |
CN112509581B (en) | Error correction method and device for text after voice recognition, readable medium and electronic equipment | |
WO2025087031A1 (en) | Media data search method and apparatus, and storage medium and electronic device | |
CN112309389A (en) | Information interaction method and device | |
CN115510259A (en) | Method, device, terminal and non-transitory storage medium for feature information processing | |
CN111782895B (en) | Retrieval processing method and device, readable medium and electronic equipment | |
WO2023138361A1 (en) | Image processing method and apparatus, and readable storage medium and electronic device | |
CN115171122A (en) | Point reading processing method, device, equipment and medium | |
CN114697760A (en) | Processing method, processing device, electronic equipment and medium | |
CN114495080A (en) | Font identification method and device, readable medium and electronic equipment | |
CN115374320B (en) | Text matching method and device, electronic equipment and computer medium | |
WO2021218564A1 (en) | Semantic understanding method and apparatus, and device and storage medium | |
CN111681660B (en) | Speech recognition method, device, electronic device and computer readable medium | |
CN114997120B (en) | Method, device, terminal and storage medium for generating document tag | |
CN116386596A (en) | Language classification method, device, medium and electronic equipment | |
CN114627476A (en) | Text recognition method, device, readable medium and electronic device | |
CN119961392A (en) | Question and answer result output method, device, storage medium and program product | |
CN115204124A (en) | Word example generation method, device and electronic device |
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 |