Image training set generation method and device, storage medium and electronic device
A training set and image technology, applied in instruments, computing, character and pattern recognition, etc., can solve the problems of poor low-frequency category recognition effect and scarce image data to be processed, and achieve the effect of improving recognition accuracy and increasing training samples.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0094] According to another embodiment of the present invention, an apparatus for generating an image training set is also provided, image 3 is a block diagram of an image training set generating apparatus according to an embodiment of the present invention, such as image 3 shown, including:
[0095] an acquisition module 32, configured to acquire images of low-frequency categories to be processed from the initial image training set, wherein the low-frequency categories represent that the number of annotation frames of the to-be-processed images satisfies a first preset condition;
[0096] The processing module 34 is used for cropping the to-be-processed image to obtain a target image, and performing image enhancement processing on the target image to obtain a processed target image;
[0097] The replacement module 36 is configured to replace the target area in the image to be processed of the high-frequency category in the initial image training set with the processed targ...
Embodiment 3
[0116] An embodiment of the present invention further provides a storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0117] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the following steps:
[0118] S1, obtaining images of low-frequency categories to be processed from an initial image training set, wherein the low-frequency categories represent that the number of annotation frames of the to-be-processed images satisfies a first preset condition;
[0119] S2, cropping the to-be-processed image to obtain a target image, and performing image enhancement processing on the target image to obtain a processed target image;
[0120] S3: Replace the target area in the high-frequency category of the image to be processed in the initial image training set with the ...
Embodiment 4
[0123] An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
[0124] Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
[0125] Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
[0126] S1, obtaining images of low-frequency categories to be processed from an initial image training set, wherein the low-frequency categories represent that the number of annotation frames of the to-be-processed images satisfies a first preset condition;
[0127] S...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


