IP Library Patent Application 18494593
Patent Application
App. No. 18/494,593

METHOD AND APPARATUS FOR DEBUGGING IMAGE DETECTION ALGORITHM, DEVICE, MEDIUM, AND PROGRAM PRODUCT

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
18/494,593
Abstract

A method and an apparatus for debugging an image detection algorithm, a device, a medium, and a program product are provided. The method includes: obtaining a debug file that includes image indication information of a plurality of images and algorithm indication information of the images; further, obtaining the images based on the image indication information of the images, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images; and further, separately executing the corresponding image detection algorithms for the images to obtain detection result information corresponding to the images. In embodiments of the present application, the images and the image detection algorithms corresponding to the images are obtained based on the debug file, and then the corresponding image detection algorithms are separately executed for the images to obtain the detection result information of the images.

Claims (37)

1 . A method for debugging an image detection algorithm, comprising:

obtaining a debug file, wherein the debug file comprises image indication information of a plurality of images and algorithm indication information of the images;

obtaining the images based on the image indication information of the images, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images; and

separately executing the corresponding image detection algorithms for the images to obtain detection result information corresponding to the images.

2 . The method according to claim 1 , wherein separately executing the corresponding image detection algorithms for the images to obtain detection result information corresponding to the images comprises:

for the images, querying a parameter configuration file based on the image detection algorithms corresponding to the images, to obtain operation parameters of the image detection algorithms corresponding to the images; and

executing the corresponding image detection algorithms for the images based on the operation parameters of the image detection algorithms corresponding to the images, to obtain detection result information corresponding to the images.

3 . The method according to claim 2 , wherein the parameter configuration file comprises operation parameters corresponding to different detection functions of different image detection algorithms, wherein the operation parameters corresponding to the detection functions comprise operation parameters of different detection actions in the detection functions, and

wherein querying the parameter configuration file based on the image detection algorithms corresponding to the images, to obtain operation parameters of the image detection algorithms corresponding to the images comprises:

querying the parameter configuration file based on the image detection algorithms corresponding to the images, to obtain an operation parameter, in the parameter configuration file, that corresponds to at least one detection function in the image detection algorithms corresponding to the images, wherein the operation parameter corresponding to the detection function comprises an operation parameter of at least one detection action in the detection function.

4 . The method according to claim 2 , further comprising:

receiving a first parameter adjustment instruction, wherein the first parameter adjustment instruction is used to request to adjust an operation parameter of a target image detection algorithm corresponding to a target image; and

updating the parameter configuration file based on an adjusted operation parameter.

5 . The method according to claim 4 , wherein updating the parameter configuration file based on an adjusted operation parameter comprises:

re-executing the target image detection algorithm for the target image based on the adjusted operation parameter to obtain first debug detection result information; and

when the first debug detection result information meets a preset condition, performing the step of updating the parameter configuration file based on an adjusted operation parameter.

6 . The method according to claim 1 , wherein the detection result information comprises error prompt information, and the error prompt information is used to indicate to modify and debug an operation parameter of a target image detection algorithm corresponding to the error prompt information.

7 . The method according to claim 1 , further comprising:

receiving a second parameter adjustment instruction, wherein the second parameter adjustment instruction is used to request to adjust a region of interest (ROI) parameter corresponding to the target image; and

re-executing, for the target image based on an adjusted ROI parameter, the target image detection algorithm corresponding to the target image to obtain second debug detection result information.

8 . The method according to claim 1 , wherein obtaining the debug file comprises:

when the corresponding image detection algorithms are separately executed for the images, obtaining the image indication information of the images and the algorithm indication information corresponding to the images; and

generating the debug file based on the image indication information of the images and the algorithm indication information corresponding to the images.

9 . The method according to claim 1 , wherein the algorithm indication information comprises an algorithm identifier, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images comprises:

querying a correspondence between an algorithm identifier and a detection algorithm based on algorithm identifiers of the images, and determining the image detection algorithms corresponding to the images.

10 . The method according to claim 1 , wherein the algorithm indication information comprises capturing source information, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images comprises:

querying a correspondence between an image capturing source and a detection algorithm based on capturing source information of the images, and determining the image detection algorithms corresponding to the images.

11 . A device, comprising:

a processor and a memory,

wherein the memory is configure to store a computer program, which, when executed by the processor, causes the device to perform a process for debugging an image detection algorithm that comprises:

obtaining a debug file, wherein the debug file comprises image indication information of a plurality of images and algorithm indication information of the images;

obtaining the images based on the image indication information of the images, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images; and

separately executing the corresponding image detection algorithms for the images to obtain detection result information corresponding to the images.

12 . A computer program product comprising a non-transitory computer-readable storage medium storing a computer program thereon for execution by a processor, wherein the computer program comprises instructions for:

obtaining a debug file, wherein the debug file comprises image indication information of a plurality of images and algorithm indication information of the images;

obtaining the images based on the image indication information of the images, and determining image detection algorithms corresponding to the images based on the algorithm indication information of the images; and

separately executing the corresponding image detection algorithms for the images to obtain detection result information corresponding to the images.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 6, 2024
From: CONTEMPORARY AMPEREX TECHNOLOGY CO., LIMITED
To: CONTEMPORARY AMPEREX TECHNOLOGY (HONG KONG) LIMITED
Reel/Frame 068338/0402 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 25, 2023
From: XIE, XIANFENG; CHEN, JIWEI; WU, QIAN
To: CONTEMPORARY AMPEREX TECHNOLOGY CO., LIMITED
Reel/Frame 065347/0828 →