Text detection method and device, equipment and storage medium
A text detection and text technology, which is applied in the field of text detection, can solve the problems of long time consumption, slow training speed, and too long model training time, and achieve the effects of reducing training time, fast and efficient detection, and improving training speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] figure 1 A schematic flowchart of a text detection method provided in Embodiment 1 of the present application is given, and the method is suitable for detecting text in pictures. The method can be executed by computer equipment, and the computer equipment can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the computer equipment may be a notebook, a desktop computer, a smart tablet, and the like.
[0034] Such as figure 1 As shown, a text detection method provided in Embodiment 1 specifically includes the following steps:
[0035] S101. Acquire a picture to be detected.
[0036] In this embodiment, the picture to be detected can be specifically understood as a picture with detection requirements. The picture to be detected can include backgrounds such as text, people, trees, and sky, and the picture to be detected can be images such as books, newspapers, and periodicals taken. It can be any image taken, fo...
Embodiment 2
[0046] image 3 It is a flow chart of a text detection method provided by Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, and specifically mainly includes the following steps:
[0047] S301. Obtain a training sample set including at least one training sample. The training sample includes standard frame information of a standard detection frame. The standard frame information includes standard center point coordinates, standard length, standard width, and standard angle.
[0048] In this embodiment, the training sample set can be specifically understood as a set composed of one or more training samples, and the standard detection frame can be specifically understood as a standard detection frame used as a comparison standard for the prediction result. The standard frame information may specifically be understood as the detection frame information of the standard detectio...
Embodiment 3
[0101] Figure 5 It is a schematic structural diagram of a text detection device provided by Embodiment 3 of the present invention, and the device includes: an image acquisition module 51 , an input module 52 and a detection module 53 .
[0102] Wherein, the picture acquisition module 51 is used to acquire the picture to be detected;
[0103] The input module 52 is used to input the picture to be detected into a predetermined target text detection model, the loss function of the target text detection model is determined according to positive samples, and the positive samples are determined according to angles;
[0104] The detection module 53 is configured to detect the text in the picture to be detected according to the output result of the target text detection model, and obtain a target text box corresponding to the text.
[0105] An embodiment of the present invention provides a text detection device, by acquiring a picture to be detected; inputting the picture to be dete...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


