WO2019041527A1 - 文档图表抽取方法、电子设备及计算机可读存储介质 - Google Patents

文档图表抽取方法、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2019041527A1
WO2019041527A1 PCT/CN2017/108810 CN2017108810W WO2019041527A1 WO 2019041527 A1 WO2019041527 A1 WO 2019041527A1 CN 2017108810 W CN2017108810 W CN 2017108810W WO 2019041527 A1 WO2019041527 A1 WO 2019041527A1
Authority
WO
WIPO (PCT)
Prior art keywords
chart
image
document
picture
page
Prior art date
Application number
PCT/CN2017/108810
Other languages
English (en)
French (fr)
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 WO2019041527A1 publication Critical patent/WO2019041527A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/414Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text

Definitions

  • the present application relates to the field of computer information technology, and in particular, to a document chart extraction method, an electronic device, and a computer readable storage medium.
  • the existing PDF chart extraction tools and programs are mostly based on PDF storage objects. This method can only extract charts stored as separate image objects, and contains more chart information (such as Office charts, etc.) in a PDF document. These charts can visually express some of the information in the document.
  • existing PDF chart extraction tools and programs cannot be correctly extracted for charts composed of multiple parts such as Office charts. Therefore, the design of the document chart extraction method in the prior art is not reasonable enough and needs to be improved.
  • the present application proposes a document chart extraction method, an electronic device, and a computer readable storage medium, which extracts a chart from a PDF document by a page rendering method, thereby improving the efficiency and coverage of the chart extraction.
  • the present application provides an electronic device including a memory and a processor, wherein the memory stores a document chart extraction system executable on the processor, and the document chart is extracted.
  • the system implements the following steps when executed by the processor:
  • a blank area in the rendered picture is marked as a candidate chart area, and chart information is extracted from the candidate chart area as a chart extracted from the specified document page.
  • the rendering of the blank picture comprises: for all the pixel position positions in the blank picture, the pixel point position occupied by the text is rendered as black, and the pixel point position occupied by the text remains white.
  • the rendered picture is processed by an image morphology processing method to significantly distinguish the boundary of the text information in the rendered picture.
  • the extracting the chart information from the candidate chart area comprises:
  • the filtering the converted picture by the pixel distribution analysis comprises:
  • the number of rows containing the specific content is counted. If the number of rows containing the specific content is greater than or equal to the set threshold, it is determined that the converted image is a picture containing the chart information.
  • the present application further provides a document chart extraction method, which is applied to an electronic device, and the method includes:
  • a blank area in the rendered picture is marked as a candidate chart area, and chart information is extracted from the candidate chart area as a chart extracted from the specified document page.
  • the rendering of the blank picture comprises:
  • the pixel position occupied by the text is rendered as black, and the pixel position occupied by the text remains white;
  • the document chart extraction method further includes:
  • the rendered picture is processed by an image morphology processing method to significantly distinguish the boundary of the text information in the rendered picture.
  • the extracting the chart information from the candidate chart area comprises:
  • the marked candidate chart area is converted into a picture, and the converted picture is filtered by pixel distribution analysis, and a picture containing the chart information is selected as a chart extracted from the specified document page.
  • the filtering the converted picture by the pixel distribution analysis comprises:
  • the number of rows containing the specific content is counted. If the number of rows containing the specific content is greater than or equal to the set threshold, it is determined that the converted image is a picture containing the chart information.
  • the present application further provides a computer readable storage medium storing a document chart extraction system, the document chart extraction system being executable by at least one processor, such that The at least one processor performs the steps of the document chart extraction method as described above.
  • the electronic device, the document chart extracting method and the computer readable storage medium proposed by the present application extract a chart from a PDF document by means of page rendering, in addition to extracting a chart that can be extracted by a conventional method. It can also extract charts composed of multiple parts such as Office chart information that cannot be extracted by traditional methods, which improves the efficiency and coverage of chart extraction.
  • 1 is a schematic diagram of an optional hardware architecture of an electronic device of the present application
  • FIG. 2 is a schematic diagram of a program module of an embodiment of a document chart extraction system in an electronic device of the present application
  • FIG. 3 is a schematic diagram of an implementation process of an embodiment of a method for extracting a document in the present application.
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the electronic device 2 of the present application.
  • the electronic device 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. It is pointed out that FIG. 1 only shows the electronic device 2 with the components 21-23, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the electronic device 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the electronic device 2 may be an independent server or a server cluster composed of multiple servers. .
  • the memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2.
  • the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk equipped on the electronic device 2, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, flash card, etc.
  • the memory 21 may also include both an internal storage unit of the electronic device 2 and an external storage device thereof.
  • the memory 21 is generally used to store an operating system installed in the electronic device 2 and various types of application software, such as program codes of the document chart extraction system 20, and the like. Further, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing related to data interaction or communication with the electronic device 2.
  • the processor 22 is configured to run program code or process data stored in the memory 21, such as running the document chart extraction system 20 and the like.
  • the network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 2 and other electronic devices.
  • the network interface 23 is configured to connect the electronic device 2 to an external data platform through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and an external data platform.
  • the network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network.
  • Wireless or wired networks such as network, Bluetooth, Wi-Fi, etc.
  • FIG. 2 it is a program module diagram of an embodiment of the document chart extraction system 20 in the electronic device 2 of the present application.
  • the document chart extraction system 20 may be divided into one or more program modules, the one or more program modules being stored in the memory 21 and being processed by one or more processors ( This embodiment is executed by the processor 22) to complete the application.
  • the document chart extraction system 20 can be segmented into an acquisition module 201, a rendering module 202, and an extraction module 203.
  • a program module as referred to in the present application refers to a series of computer program instruction segments capable of performing a specific function, and is more suitable than the program for describing the execution process of the document chart extraction system 20 in the electronic device 2. The function of each program module 201-203 will be described in detail below.
  • the obtaining module 201 is configured to acquire location information of all characters in a specified document (such as a PDF document).
  • a specific character recognition tool such as a pdf2html tool
  • the specific text recognition tool can parse the PDF document into a text file, and at the same time parse the specific position information of each line of text in the PDF document (such as the coordinates of the upper left corner, the length and width of the line of text, etc.).
  • the rendering module 202 is configured to generate a blank image of the same size as the specified document page for each page in the specified document, and then convert all the characters in the page according to the location information of all the characters in the page. The pixel in the blank image and render the blank image.
  • each line of text occupies a specific position of the specified document page.
  • the rendering of the blank image includes: for all the pixel positions in the blank image, the pixel position occupied by the text is rendered as black, and the pixel position occupied by the text remains white.
  • the blank picture can be rendered as black and white, black is the text area, and white is the non-text area.
  • the rendering module 202 is further configured to: adopt an image form
  • the processing method (such as expansion processing, shrink processing, etc.) processes the rendered image to significantly distinguish the text information boundary in the rendered image.
  • the extracting module 203 is configured to mark a blank area (ie, a non-text area) in the rendered picture as a candidate chart area, and extract chart information from the candidate chart area, and extract the chart information as the specified document page. chart.
  • a blank area ie, a non-text area
  • the extracting the chart information from the candidate chart area comprises:
  • the marked candidate chart area Converting the marked candidate chart area into a picture, and filtering the converted picture by pixel distribution analysis (or content richness analysis), and selecting a picture containing chart information (such as PDF chart information) as the designation The chart extracted from the document page.
  • the marked candidate chart area can be converted to a picture using a specific image processing tool such as the ImageMagick tool.
  • the image including the chart information is filtered from the converted image by pixel distribution analysis, including:
  • each pixel of the picture is represented as 0 or 255. Where 0 is black, which is a pixel with information content in the picture, and 255 is white, which is a blank pixel in the picture.
  • the number of rows containing specific content is counted to determine the richness of the content in the image. The more rows containing the specific content, the richer the content representing the image. If the number of lines containing the specific content is greater than or equal to the set threshold (such as 2 lines), it is determined that the converted picture is rich in content, and is a picture containing the chart information. On the other hand, if the number of rows containing the specific content is less than the set threshold (such as 2 rows), it is determined that the converted image content is not rich enough, and is a blank image that does not contain the chart information.
  • the set threshold such as 2 lines
  • the document chart extraction system 20 proposed by the present application extracts a chart from a PDF document by means of page rendering.
  • the method can also extract the traditional method.
  • the present application also proposes a document chart extraction method.
  • FIG. 3 it is a schematic flowchart of an implementation process of an embodiment of a method for extracting a chart of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 3 may be changed according to different requirements, and some steps may be omitted.
  • Step S31 Acquire location information of all the characters in the specified document (such as a PDF document).
  • a specific text recognition tool such as a pdf2html tool
  • the specific text recognition tool can parse the PDF document into a text file, and at the same time parse the specific position information of each line of text in the PDF document (such as the coordinates of the upper left corner, the length and width of the line of text, etc.).
  • Step S32 for each page in the specified document, generate a blank image of the same size as the specified document page, and then convert all the text in the page into the blank image according to the location information of all the characters in the page. Pixels and render the blank image.
  • each line of text occupies a specific position of the specified document page.
  • the rendering of the blank image includes: for all the pixel positions in the blank image, the pixel position occupied by the text is rendered as black, and the pixel position occupied by the text remains white.
  • the blank picture can be rendered as black and white, black is the text area, and white is the non-text area.
  • step S32 further includes the following steps: processing the rendered picture by an image morphology processing method (such as expansion processing, shrink processing, etc.), in the rendered picture
  • image morphology processing method such as expansion processing, shrink processing, etc.
  • Step S33 marking a blank area (ie, no text area) in the rendered picture as a candidate chart area, and extracting chart information from the candidate chart area as a chart extracted from the specified document page.
  • the extracting the chart information from the candidate chart area comprises:
  • the marked candidate chart area Converting the marked candidate chart area into a picture, and filtering the converted picture by pixel distribution analysis (or content richness analysis), and selecting a picture containing chart information (such as PDF chart information) as the designation The chart extracted from the document page.
  • the marked candidate chart area can be converted to a picture using a specific image processing tool such as the ImageMagick tool.
  • the image including the chart information is filtered from the converted image by pixel distribution analysis, including:
  • each pixel of the picture is represented as 0 or 255. Where 0 is black, which is a pixel with information content in the picture, and 255 is white, which is a blank pixel in the picture.
  • the number of rows containing specific content is counted to determine the richness of the content in the image. The more rows containing the specific content, the richer the content representing the image. If it contains specific If the number of lines of content is greater than or equal to a set threshold (such as 2 lines), it is determined that the converted picture is rich in content, and is a picture containing chart information. On the other hand, if the number of rows containing the specific content is less than the set threshold (such as 2 rows), it is determined that the converted image content is not rich enough, and is a blank image that does not contain the chart information.
  • a set threshold such as 2 lines
  • the document chart extraction method proposed by the present application extracts a chart from a PDF document by means of page rendering, and the method can extract the chart which can be extracted by the traditional method, and can extract the traditional method which cannot be extracted.
  • the present application further provides a computer readable storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), where the computer readable storage medium stores a document chart extraction system 20, the document chart
  • the extraction system 20 can be executed by at least one processor 22 to cause the at least one processor 22 to perform the steps of the document chart extraction method as described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)
  • Character Input (AREA)

Abstract

一种文档图表抽取方法,该方法包括步骤:获取指定文档中所有文字的位置信息(S31);针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染(S32);将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表(S33)。上述方法可以提升图表抽取的效率和覆盖面。

Description

文档图表抽取方法、电子设备及计算机可读存储介质
本专利申请以2017年8月31日提交的申请号为201710776354.9,名称为“文档图表抽取方法、电子设备及计算机可读存储介质”的中国发明专利申请为基础,并要求其优先权。
技术领域
本申请涉及计算机信息技术领域,尤其涉及一种文档图表抽取方法、电子设备及计算机可读存储介质。
背景技术
现有的PDF图表抽取工具及程序大多是基于PDF存储对象的,这种方式仅能抽取作为单独图片对象存储的图表,而在一个PDF文档中,含有较多的图表信息(如Office图表等),这些图表都能直观地表达出文档中的部分信息。然而,现有的PDF图表抽取工具及程序对于Office图表等由多个部分组成的图表则无法正确抽取。故,现有技术中的文档图表抽取方法设计不够合理,亟需改进。
发明内容
有鉴于此,本申请提出一种文档图表抽取方法、电子设备及计算机可读存储介质,通过页面渲染方式从PDF文档中抽取图表,提升了图表抽取的效率和覆盖面。
首先,为实现上述目的,本申请提出一种电子设备,所述电子设备包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的文档图表抽取系统,所述文档图表抽取系统被所述处理器执行时实现如下步骤:
获取指定文档中所有文字的位置信息;
针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
优选地,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。
优选地,所述文档图表抽取系统被所述处理器执行时还实现如下步骤:
通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
优选地,所述从该候选图表区域中抽取图表信息包括:
将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换 后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
优选地,所述通过像素分布分析对转换后的图片进行筛选包括:
对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
此外,为实现上述目的,本申请还提供一种文档图表抽取方法,该方法应用于电子设备,所述方法包括:
获取指定文档中所有文字的位置信息;
针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
优选地,所述对该空白图片进行渲染包括:
针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色;
所述文档图表抽取方法还包括:
通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
优选地,所述从该候选图表区域中抽取图表信息包括:
将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
优选地,所述通过像素分布分析对转换后的图片进行筛选包括:
对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有文档图表抽取系统,所述文档图表抽取系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的文档图表抽取方法的步骤。
相较于现有技术,本申请所提出的电子设备、文档图表抽取方法及计算机可读存储介质,通过页面渲染方式从PDF文档中抽取图表,该方法除了能提取传统方法能抽取的图表外,还能提取出传统方法无法提取的Office图表信息等由多个部分组成的图表,提升了图表抽取的效率和覆盖面。
附图说明
图1是本申请电子设备一可选的硬件架构的示意图;
图2是本申请电子设备中文档图表抽取系统一实施例的程序模块示意图;
图3为本申请文档图表抽取方法一实施例的实施流程示意图。
附图标记:
电子设备 2
存储器 21
处理器 22
网络接口 23
文档图表抽取系统 20
获取模块 201
渲染模块 202
抽取模块 203
流程步骤 S31-S33
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必 须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。
进一步需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
首先,本申请提出一种电子设备2。
参阅图1所示,是本申请电子设备2一可选的硬件架构的示意图。本实施例中,所述电子设备2可包括,但不限于,可通过系统总线相互通信连接存储器21、处理器22、网络接口23。需要指出的是,图1仅示出了具有组件21-23的电子设备2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
其中,所述电子设备2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该电子设备2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。
所述存储器21至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器21可以是所述电子设备2的内部存储单元,例如该电子设备2的硬盘或内存。在另一些实施例中,所述存储器21也可以是所述电子设备2的外部存储设备,例如该电子设备2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器21还可以既包括所述电子设备2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器21通常用于存储安装于所述电子设备2的操作系统和各类应用软件,例如所述文档图表抽取系统20的程序代码等。此外,所述存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。
所述处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制所述电子设备2的总体操作,例如执行与所述电子设备2进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器22用于运行所述存储器21中存储的程序代码或者处理数据,例如运行所述的文档图表抽取系统20等。
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在所述电子设备2与其他电子设备之间建立通信连接。例如,所述网络接口23用于通过网络将所述电子设备2与外部数据平台相连,在所述电子设备2与外部数据平台之间的建立数据传输通道和通信连接。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。
参阅图2所示,是本申请电子设备2中文档图表抽取系统20一实施例的程序模块图。本实施例中,所述的文档图表抽取系统20可以被分割成一个或多个程序模块,所述一个或者多个程序模块被存储于所述存储器21中,并由一个或多个处理器(本实施例中为所述处理器22)所执行,以完成本申请。例如,在图2中,所述的文档图表抽取系统20可以被分割成获取模块201、渲染模块202、以及抽取模块203。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述文档图表抽取系统20在所述电子设备2中的执行过程。以下将就各程序模块201-203的功能进行详细描述。
所述获取模块201,用于获取指定文档(如PDF文档)中所有文字的位置信息。在本实施例中,可以使用特定的文字识别工具(如pdf2html工具)获取该指定文档中所有文字的位置信息。该特定的文字识别工具可以将PDF文档解析为文本文件,同时解析出每行文本在PDF文档中的具体位置信息(如左上角坐标,该行文字的长度和宽度等)。
所述渲染模块202,用于针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染。
在本实施例中,通过所有文字的位置信息,就可以判断出每行文字占据该指定文档页面的具体位置。其中,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。通过上述渲染,可以将该空白图片渲染为黑白二色,黑色为文字区域,白色为无文字区域。
进一步地,在其它实施例中,所述渲染模块202还用于:通过图像形态 学处理方法(如膨胀处理、收缩处理等)对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
所述抽取模块203,用于将所述渲染后的图片中的空白区域(即无文字区域)标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
优选地,在本实施例中,所述从该候选图表区域中抽取图表信息包括:
将所述标记的候选图表区域转换为图片,并通过像素分布分析(或内容丰富程度分析),对转换后的图片进行筛选,选择出包含图表信息(如PDF图表信息)的图片,作为该指定文档页面抽取出的图表。在本实施例中,可以使用特定的图片处理工具(如ImageMagick工具)将所述标记的候选图表区域转换为图片。
具体而言,通过像素分布分析从转换后的图片中筛选出包含图表信息的图片包括:
(1)对该转换后的图片进行灰度处理(如通过应用程序Python中的Opencv模块进行灰度处理),将该转换后的图片转换为灰度图。在该灰度图中,图片的每个像素点都被表示为0或255。其中,0代表黑色,为图片中有信息内容的像素点,255代表白色,为图片中空白的像素点。
(2)按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值(如数量超过5,比例超过50%),则判定该行包含有具体内容。
(3)统计包含有具体内容的行的数量,以此来判定图片中内容的丰富程度,包含有具体内容的行越多,则代表该图片的内容越丰富。若包含有具体内容的行数大于或等于设定阈值(如2行),则判定该转换后的图片内容丰富,是一张包含图表信息的图片。反之,若包含有具体内容的行数小于该设定阈值(如2行),则判定该转换后的图片内容不够丰富,是一张没有包含图表信息的空白图片。
通过上述程序模块201-203,本申请所提出的文档图表抽取系统20,通过页面渲染方式从PDF文档中抽取图表,该方法除了能提取传统方法能抽取的图表外,还能提取出传统方法无法提取的Office图表信息等由多个部分组成的图表,提升了图表抽取的效率和覆盖面。
此外,本申请还提出一种文档图表抽取方法。
参阅图3所示,是本申请文档图表抽取方法一实施例的实施流程示意图。在本实施例中,根据不同的需求,图3所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。
步骤S31,获取指定文档(如PDF文档)中所有文字的位置信息。在本实 施例中,可以使用特定的文字识别工具(如pdf2html工具)获取该指定文档中所有文字的位置信息。该特定的文字识别工具可以将PDF文档解析为文本文件,同时解析出每行文本在PDF文档中的具体位置信息(如左上角坐标,该行文字的长度和宽度等)。
步骤S32,针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染。
在本实施例中,通过所有文字的位置信息,就可以判断出每行文字占据该指定文档页面的具体位置。其中,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。通过上述渲染,可以将该空白图片渲染为黑白二色,黑色为文字区域,白色为无文字区域。
进一步地,在其它实施例中,步骤S32还包括如下步骤:通过图像形态学处理方法(如膨胀处理、收缩处理等)对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
步骤S33,将所述渲染后的图片中的空白区域(即无文字区域)标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
优选地,在本实施例中,所述从该候选图表区域中抽取图表信息包括:
将所述标记的候选图表区域转换为图片,并通过像素分布分析(或内容丰富程度分析),对转换后的图片进行筛选,选择出包含图表信息(如PDF图表信息)的图片,作为该指定文档页面抽取出的图表。在本实施例中,可以使用特定的图片处理工具(如ImageMagick工具)将所述标记的候选图表区域转换为图片。
具体而言,通过像素分布分析从转换后的图片中筛选出包含图表信息的图片包括:
(1)对该转换后的图片进行灰度处理(如通过应用程序Python中的Opencv模块进行灰度处理),将该转换后的图片转换为灰度图。在该灰度图中,图片的每个像素点都被表示为0或255。其中,0代表黑色,为图片中有信息内容的像素点,255代表白色,为图片中空白的像素点。
(2)按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值(如数量超过5,比例超过50%),则判定该行包含有具体内容。
(3)统计包含有具体内容的行的数量,以此来判定图片中内容的丰富程度,包含有具体内容的行越多,则代表该图片的内容越丰富。若包含有具体 内容的行数大于或等于设定阈值(如2行),则判定该转换后的图片内容丰富,是一张包含图表信息的图片。反之,若包含有具体内容的行数小于该设定阈值(如2行),则判定该转换后的图片内容不够丰富,是一张没有包含图表信息的空白图片。
通过上述步骤S31-S33,本申请所提出的文档图表抽取方法,通过页面渲染方式从PDF文档中抽取图表,该方法除了能提取传统方法能抽取的图表外,还能提取出传统方法无法提取的Office图表信息等由多个部分组成的图表,提升了图表抽取的效率和覆盖面。
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质(如ROM/RAM、磁碟、光盘),所述计算机可读存储介质存储有文档图表抽取系统20,所述文档图表抽取系统20可被至少一个处理器22执行,以使所述至少一个处理器22执行如上所述的文档图表抽取方法的步骤。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本领域技术人员不脱离本申请的范围和实质,可以有多种变型方案实现本申请,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种电子设备,其特征在于,所述电子设备包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的文档图表抽取系统,所述文档图表抽取系统被所述处理器执行时实现如下步骤:
    获取指定文档中所有文字的位置信息;
    针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
    将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
  2. 如权利要求1所述的电子设备,其特征在于,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。
  3. 如权利要求2所述的电子设备,其特征在于,所述文档图表抽取系统被所述处理器执行时还实现如下步骤:
    通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
  4. 如权利要求3所述的电子设备,其特征在于,所述从该候选图表区域中抽取图表信息包括:
    将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
  5. 如权利要求4所述的电子设备,其特征在于,所述通过像素分布分析对转换后的图片进行筛选包括:
    对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
    按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
    统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
  6. 一种文档图表抽取方法,应用于电子设备,其特征在于,所述方法包括:
    获取指定文档中所有文字的位置信息;
    针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的 空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
    将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
  7. 如权利要求6所述的文档图表抽取方法,其特征在于,所述对该空白图片进行渲染包括:
    针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。
  8. 如权利要求7所述的文档图表抽取方法,其特征在于,所述文档图表抽取方法还包括:
    通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
  9. 如权利要求8所述的文档图表抽取方法,其特征在于,所述从该候选图表区域中抽取图表信息包括:
    将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
  10. 如权利要求9所述的文档图表抽取方法,其特征在于,所述通过像素分布分析对转换后的图片进行筛选包括:
    对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
    按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
    统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
  11. 一种计算机可读存储介质,所述计算机可读存储介质存储有文档图表抽取系统,所述文档图表抽取系统可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
    获取指定文档中所有文字的位置信息;
    针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
    将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
  12. 如权利要求11所述的计算机可读存储介质,其特征在于,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。
  13. 如权利要求12所述的计算机可读存储介质,其特征在于,所述文档图表抽取系统被所述处理器执行时还实现如下步骤:
    通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后的图片中的文字信息界限显著化。
  14. 如权利要求13所述的计算机可读存储介质,其特征在于,所述从该候选图表区域中抽取图表信息包括:
    将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
  15. 如权利要求14所述的计算机可读存储介质,其特征在于,所述通过像素分布分析对转换后的图片进行筛选包括:
    对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
    按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
    统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
  16. 一种文档图表抽取系统,所述文档图表抽取系统可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
    获取指定文档中所有文字的位置信息;
    针对该指定文档中的每张页面,生成一张与该指定文档页面相同大小的空白图片,然后根据该页面中所有文字的位置信息,将该页面中所有文字转换为该空白图片中的像素点,并对该空白图片进行渲染;及
    将所述渲染后的图片中的空白区域标记为候选图表区域,并从该候选图表区域中抽取图表信息,作为该指定文档页面抽取出的图表。
  17. 如权利要求16所述的文档图表抽取系统,其特征在于,所述对该空白图片进行渲染包括:针对该空白图片中的所有像素点位置,将有文字占据的像素点位置渲染为黑色,没有文字占据的像素点位置保持白色。
  18. 如权利要求17所述的文档图表抽取系统,其特征在于,所述文档图表抽取系统被所述处理器执行时还实现如下步骤:
    通过图像形态学处理方法对所述渲染后的图片进行处理,将所述渲染后 的图片中的文字信息界限显著化。
  19. 如权利要求18所述的文档图表抽取系统,其特征在于,所述从该候选图表区域中抽取图表信息包括:
    将所述标记的候选图表区域转换为图片,并通过像素分布分析,对转换后的图片进行筛选,选择出包含图表信息的图片,作为该指定文档页面抽取出的图表。
  20. 如权利要求19所述的文档图表抽取系统,其特征在于,所述通过像素分布分析对转换后的图片进行筛选包括:
    对该转换后的图片进行灰度处理,将该转换后的图片转换为灰度图;
    按行统计该灰度图中黑色像素点的数量和比例,若一行中黑色像素点的数量和比例超过指定阈值,则判定该行包含有具体内容;及
    统计包含有具体内容的行的数量,若包含有具体内容的行数大于或等于设定阈值,则判定该转换后的图片为一张包含图表信息的图片。
PCT/CN2017/108810 2017-08-31 2017-10-31 文档图表抽取方法、电子设备及计算机可读存储介质 WO2019041527A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710776354.9 2017-08-31
CN201710776354.9A CN107688789B (zh) 2017-08-31 2017-08-31 文档图表抽取方法、电子设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019041527A1 true WO2019041527A1 (zh) 2019-03-07

Family

ID=61155971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108810 WO2019041527A1 (zh) 2017-08-31 2017-10-31 文档图表抽取方法、电子设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107688789B (zh)
WO (1) WO2019041527A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221888A (zh) * 2019-04-28 2019-09-10 中至数据集团股份有限公司 截图处理方法、装置、可读存储介质及智能设备
CN110377285A (zh) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 一种生成页面骨架屏的方法、装置及计算机设备
CN110390269A (zh) * 2019-06-26 2019-10-29 平安科技(深圳)有限公司 Pdf文档表格提取方法、装置、设备及计算机可读存储介质
CN110502710A (zh) * 2019-07-11 2019-11-26 平安普惠企业管理有限公司 页面生成方法、装置、设备及可读存储介质
CN111338627A (zh) * 2020-03-05 2020-06-26 苏宁云计算有限公司 前端网页主题颜色调节方法及装置
CN112579066A (zh) * 2019-09-30 2021-03-30 北京国双科技有限公司 图表展示方法、装置、存储介质及设备
CN112748923A (zh) * 2021-01-18 2021-05-04 恒安嘉新(北京)科技股份公司 一种可视化看板的创建方法、装置、电子设备和存储介质
CN112785659A (zh) * 2021-01-28 2021-05-11 特赞(上海)信息科技有限公司 企业案例素材图片检测方法、装置、设备和存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959346B (zh) * 2018-04-12 2020-11-24 腾讯科技(上海)有限公司 确定文本文件缩略信息的方法、装置、介质及设备
CN109445652B (zh) * 2018-09-26 2021-08-13 中国平安人寿保险股份有限公司 一种pdf文档显示方法及终端设备
CN109656647B (zh) * 2018-09-27 2023-04-11 平安科技(深圳)有限公司 图表图片生成方法、装置、设备及计算机可读存储介质
CN111414738B (zh) * 2019-01-04 2024-05-07 珠海金山办公软件有限公司 一种信息分析的方法、装置、计算机存储介质及终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010024520A1 (en) * 2000-03-15 2001-09-27 Ricoh Company, Limited Method and apparatus for table recognition, apparatus for character recognition, and computer product
CN101923723A (zh) * 2009-06-16 2010-12-22 汉王科技股份有限公司 实现电子文档显示的方法
CN104063364A (zh) * 2013-03-19 2014-09-24 福建福昕软件开发股份有限公司北京分公司 一种pdf文档识别方法
CN104346615A (zh) * 2013-08-08 2015-02-11 北大方正集团有限公司 版式文档中复合图的提取装置和提取方法
CN106874252A (zh) * 2017-02-17 2017-06-20 张家口浩扬科技有限公司 一种文档识别和显示方法及其移动终端

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007200014A (ja) * 2006-01-26 2007-08-09 Ricoh Co Ltd 情報処理装置、情報処理方法、情報処理プログラム及び記録媒体
CN102081736B (zh) * 2009-11-27 2014-11-26 株式会社理光 从可移植电子文档中提取字符外接矩形的设备和方法
CN105159869B (zh) * 2011-05-23 2020-06-16 成都科创知识产权研究所 图片编辑方法及系统
CN102567300B (zh) * 2011-12-29 2013-11-27 方正国际软件有限公司 图片文档的处理方法及装置
US9448982B2 (en) * 2014-01-29 2016-09-20 Konica Minolta Laboratory U.S.A., Inc. Immediate independent rasterization
CN106940804B (zh) * 2017-02-23 2018-02-27 杭州仟金顶信息科技有限公司 建筑工程物料管理系统表单数据自动录入方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010024520A1 (en) * 2000-03-15 2001-09-27 Ricoh Company, Limited Method and apparatus for table recognition, apparatus for character recognition, and computer product
CN101923723A (zh) * 2009-06-16 2010-12-22 汉王科技股份有限公司 实现电子文档显示的方法
CN104063364A (zh) * 2013-03-19 2014-09-24 福建福昕软件开发股份有限公司北京分公司 一种pdf文档识别方法
CN104346615A (zh) * 2013-08-08 2015-02-11 北大方正集团有限公司 版式文档中复合图的提取装置和提取方法
CN106874252A (zh) * 2017-02-17 2017-06-20 张家口浩扬科技有限公司 一种文档识别和显示方法及其移动终端

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221888A (zh) * 2019-04-28 2019-09-10 中至数据集团股份有限公司 截图处理方法、装置、可读存储介质及智能设备
CN110390269A (zh) * 2019-06-26 2019-10-29 平安科技(深圳)有限公司 Pdf文档表格提取方法、装置、设备及计算机可读存储介质
CN110390269B (zh) * 2019-06-26 2023-08-01 平安科技(深圳)有限公司 Pdf文档表格提取方法、装置、设备及计算机可读存储介质
CN110502710A (zh) * 2019-07-11 2019-11-26 平安普惠企业管理有限公司 页面生成方法、装置、设备及可读存储介质
CN110377285A (zh) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 一种生成页面骨架屏的方法、装置及计算机设备
CN110377285B (zh) * 2019-07-23 2023-10-03 腾讯科技(深圳)有限公司 一种生成页面骨架屏的方法、装置及计算机设备
CN112579066A (zh) * 2019-09-30 2021-03-30 北京国双科技有限公司 图表展示方法、装置、存储介质及设备
CN111338627A (zh) * 2020-03-05 2020-06-26 苏宁云计算有限公司 前端网页主题颜色调节方法及装置
CN111338627B (zh) * 2020-03-05 2023-05-16 苏宁云计算有限公司 前端网页主题颜色调节方法及装置
CN112748923A (zh) * 2021-01-18 2021-05-04 恒安嘉新(北京)科技股份公司 一种可视化看板的创建方法、装置、电子设备和存储介质
CN112785659A (zh) * 2021-01-28 2021-05-11 特赞(上海)信息科技有限公司 企业案例素材图片检测方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN107688789B (zh) 2021-05-18
CN107688789A (zh) 2018-02-13

Similar Documents

Publication Publication Date Title
WO2019041527A1 (zh) 文档图表抽取方法、电子设备及计算机可读存储介质
CN107689070B (zh) 图表数据结构化提取方法、电子设备及计算机可读存储介质
CN110795919B (zh) 一种pdf文档中的表格抽取方法、装置、设备及介质
WO2019075969A1 (zh) 表格信息结构化提取方法、电子设备及计算机可读存储介质
CN106599940B (zh) 图片文字的识别方法及装置
WO2022156066A1 (zh) 文字识别方法、装置、电子设备及存储介质
CN110879937A (zh) 文档生成网页的方法、装置、计算机设备和存储介质
CN110675940A (zh) 病理图像标注方法、装置、计算机设备及存储介质
WO2019075968A1 (zh) 表格信息跨页识别方法、电子设备及计算机可读存储介质
WO2019075967A1 (zh) 企业名称识别方法、电子设备及计算机可读存储介质
JP6795195B2 (ja) 文字種推定システム、文字種推定方法、および文字種推定プログラム
CN110728687B (zh) 文件图像分割方法、装置、计算机设备和存储介质
CN111914597B (zh) 一种文档对照识别方法、装置、电子设备和可读存储介质
CN108255555A (zh) 一种系统语言切换方法及终端设备
US11641438B2 (en) Systems and methods for rendering a secure document with a text selection capability
CN108038441B (zh) 一种基于图像识别的系统与方法
CN116402020A (zh) 基于ofd文档的签名图像化处理方法、系统和存储介质
CN106776527B (zh) 电子书数据的显示方法、装置及终端设备
CN114049540A (zh) 基于人工智能的标注图像检测方法、装置、设备及介质
WO2019041526A1 (zh) 文档图表抽取方法、电子设备及计算机可读存储介质
CN112528832A (zh) 对pdf格式的继电保护定值单进行处理的方法和系统
CN117058157A (zh) 一种cad图纸的切割与标注方法
CN109101973B (zh) 文字识别方法、电子设备、存储介质
CN109145879B (zh) 一种打印字体识别的方法、设备及存储介质
CN107943760B (zh) Pdf文档编辑的字体优化方法、装置、终端设备和存储介质

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: 17923563

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 25/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17923563

Country of ref document: EP

Kind code of ref document: A1