Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A way to convert pictures into html documents

A technology of HTML documents and pictures, applied in the field of web page development

Active Publication Date: 2021-04-27
G CLOUD TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there is no technology that can automatically convert pictures into HTML format files using WEB applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A way to convert pictures into html documents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, the solutions obtained by those skilled in the art without making substantive inventions all belong to the protection scope of the present invention.

[0026] The following is an implementation method of important function points of a method and device for converting pictures into HTML documents of the present invention:

[0027] 1: The background color traverses the scan to distinguish. Using the PHP recognition interface for OCR image recognition, it only recognizes the color value of the first horizontal pixel along the vertical direction of the image; when encountering a different pixel color, return to the previous pixel to get the same color in the vertical...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of web page development, in particular to a method for converting pictures into HTML documents. The method of the present invention uses the OCR image recognition technology and the PHP interface API recognized by OCR to set and obtain the results for the content to be recognized; to optimize the obtained parameters such as background color, size and position, to distinguish between layers and to convert them to CSS. storage, so as to realize the conversion of pictures to HTML; the method mainly includes background color traversal scanning distinction, background color recognition input background library, background library layer iteration OCR recognition, text / non-text recognition, adjacent / non-adjacent DIV recognition, CSS Attribute optimization, identified div border recognition. The invention can convert high-definition web page design pictures into files in HTML format, avoiding cumbersome manual operations and saving debugging time; it is suitable for web page design and the like.

Description

technical field [0001] The invention relates to the technical field of web page development, in particular to a method for converting pictures into HTML documents. Background technique [0002] Web design / artists usually export a web design into pictures; front-end staff are responsible for converting pictures into front-end HTML for back-end staff to develop functions; front-end staff often need a lot of work to complete the production of a front-end demo ; [0003] At present, there is no technology that can automatically convert pictures into HTML format files using WEB applications. Contents of the invention [0004] The technical problem to be solved by the invention is to provide a method for converting pictures into HTML documents; realizing the conversion of pictures on the web into HTML documents. [0005] The technical scheme that the present invention solves the problems of the technologies described above is: [0006] The method is to use the OCR image recog...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/958G06K9/00
Inventor 黄博关班记张远世齐兆勇庞毅何龙泉季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products