Automated testing method, device and equipment based on picture comparison, and storage medium

By importing an image library into the image recognition system and defining key field replacement areas, the system generates replaced image data for automated testing, solving the problem of low testing efficiency and achieving efficient evaluation of the recognition accuracy of the OCR system.

CN115937658BActive Publication Date: 2026-05-29PING AN HEALTH INSURANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PING AN HEALTH INSURANCE CO LTD
Filing Date
2022-12-06
Publication Date
2026-05-29

Smart Images

  • Figure CN115937658B_ABST
    Figure CN115937658B_ABST
Patent Text Reader

Abstract

The application discloses an automatic test method and device based on picture comparison, equipment and a storage medium. The method comprises the following steps: importing original picture data into a picture library, defining a key field replacement area and a random replacement field of the original picture data; replacing the key field in the key field replacement area with the random replacement field to generate replaced picture data; calling an OCR test interface to test an OCR picture recognition system by using the replaced picture data, and obtaining actual return data of the OCR test interface, wherein the actual return data comprises corresponding fields of each key field in the replaced picture data and values corresponding to each key field; matching and comparing the replaced picture data with the actual return data to obtain a field matching success rate and a field recognition accuracy of the replaced picture data, and obtaining a test result of the OCR picture recognition system. The embodiment of the application greatly improves the test efficiency of the OCR picture recognition system.
Need to check novelty before this filing date? Find Prior Art