Image classification method and device, electronic equipment and storage medium
A classification method and image technology, applied in the computer field, can solve problems such as time-consuming, low development efficiency, and difficulty in obtaining images
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a flow chart of an image classification method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of classifying images through templates. This method can be executed by the image classification device provided by the embodiment of the present invention. The device can Realized by software and / or hardware. see figure 1 , the image classification method provided in this embodiment includes:
[0055] Step 110, acquiring all character strings in the image to be classified.
[0056] Wherein, the image to be classified is a text image, for example, it may be a reimbursement form, a leave form, and the like.
[0057] Obtain the text content of all text parts in the image to be classified, and store it in the form of a string. The text content includes picture titles and field names, and may also include specific content filled in after the field names, which is not limited in this embodiment.
[0058] figure 2 It...
Embodiment 2
[0085] image 3 It is a flow chart of an image classification method provided by Embodiment 2 of the present invention, and this technical solution is a supplementary explanation for the process of classifying images according to the matching degree. Compared with the above scheme, the specific optimization of this scheme is to classify the images according to the matching degree, including:
[0086] If the matching degree is greater than a preset threshold, it is determined that the image to be classified matches the template image;
[0087] The template category associated with the template image is determined as the type of the image to be classified. Specifically, the flow chart of the image classification method is as follows image 3 Shown:
[0088] Step 310, acquiring all character strings in the image to be classified.
[0089] Wherein, the image to be classified is a text image, for example, it may be a reimbursement form, a leave form, and the like.
[0090] Obt...
Embodiment 3
[0111] Figure 4 It is a schematic structural diagram of an image classification device provided by Embodiment 3 of the present invention. The device can be implemented by hardware and / or software, can execute an image classification method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Such as Figure 4 The device includes:
[0112] The first character string obtaining module 410, is used for obtaining all character strings in the image to be classified;
[0113] The phrase to be matched determining module 420 is used to determine the phrase to be matched according to the text string; wherein, the phrase to be matched is composed of a continuous preset number of characters in the text string;
[0114] Matching degree determining module 430, is used for described phrase to be matched and the phrase match in the template vocabulary, to determine the matching degree of described ph...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


