A domain generalization target detection method, device, application system, equipment, medium and product
By constructing a geometric basis space and using image geometric correction, the problem of geometric distribution shift of the target detection model under different camera environments was solved, and the detection accuracy and generalization ability were improved without relying on target domain data and without updating model parameters.
Patent Information
- Application Number
- CN202611528508.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing target detection models cannot effectively generalize to the problem of geometric distribution shift under different camera environments, resulting in a significant decrease in detection performance. Existing methods cannot effectively handle geometric distribution shift caused by changes in camera parameters, and they rely on target domain data or require model updates.
By constructing a geometric basis space, a synthetic geometric domain is generated, and a geometric domain classifier is used for image geometric correction. The target domain image is estimated and inversely transformed in real time, and then mapped back to the source domain space for detection, thus achieving geometric correction.
Without accessing target domain data or updating model parameters, it significantly improves target detection accuracy in cross-camera environments, has sample-level adaptive capabilities, reduces computational overhead, adapts to complex geometric changes, and enhances generalization ability.
Smart Images

Figure CN123181817A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of target detection, and in particular to a domain-generalized target detection method, apparatus, application system, equipment, medium, and product. Background Technology
[0002] With the rapid development of computer vision and multimedia intelligence technologies, object detection has become a core foundational module in key applications such as autonomous driving, intelligent security, robot perception, and smart cities. In recent years, deep learning-based object detection models (such as Faster R-CNN, YOLO series, and DETR) have achieved significant performance improvements on standard datasets. However, these models are typically based on a crucial assumption: that the training data (source domain) and test data (target domain) follow the same data distribution (Independent and Identically Distributed, IID). In real-world applications, this assumption is often difficult to uphold. For example, in autonomous driving systems, data collected from different cities, road environments, and camera devices exhibit significant differences in visual features and imaging geometry; in video surveillance systems, the installation location, pitch angle, and focal length settings of different surveillance cameras also lead to significant data distribution shifts. This data distribution difference caused by environmental changes or device variations is called "domain shift," which can cause a significant performance degradation of object detection models in unfamiliar environments, severely limiting the practical deployment capabilities of these models.
[0003] To address this issue, Domain Generalization (DG) techniques have been proposed. Their core objective is to enable models to maintain good performance in completely unseen target domains, even when trained using only source domain data. Current mainstream object detection domain generalization methods mainly focus on the following directions: 1) Data augmentation methods: Simulating changes in different domains by applying style transformations, color perturbations, or random deformations to the training data, thereby improving model robustness; 2) Feature invariant learning methods: Enabling models to learn cross-domain shared feature representations through adversarial learning, feature alignment, or prototype learning; 3) Structural decoupling methods: Decomposing features into domain-dependent and domain-independent components to reduce the impact of domain shift. However, almost all of these methods focus on appearance-level changes, such as lighting, weather, and texture style, while neglecting a more fundamental and crucial issue: Geometric Domain Shift caused by changes in camera parameters. Based on this, in real-world scenarios, the following geometric factors significantly affect detection performance: (1) changes in the field-of-view (FoV) lead to changes in target scale and edge compression; (2) changes in the camera viewpoint lead to perspective distortion and changes in occlusion patterns. These geometric changes alter the projection relationship from the 3D scene to the 2D image, causing the same object to exhibit completely different shapes, positions, and scale distributions under different cameras.
[0004] Furthermore, statistical analysis revealed significant differences in the distribution of different datasets within the Angular Position Space; the spatial distribution of pedestrian targets differed significantly under different viewpoints (e.g., Cityscapes and MOT20); and some targets appeared in locations not even in the source domain. This indicates that geometric offset not only affects feature distribution but also leads to non-overlapping issues in target spatial distribution.
[0005] Based on the above description, existing research has at least the following obvious shortcomings: (1) The training phase augmentation cannot cover the real geometric changes.
[0006] While some methods attempt to use homography for data augmentation, they suffer from several drawbacks: they are static augmentations performed during training; they cannot adapt to individual differences among different test samples; and they cannot cover the complex combinations of real-world camera parameter variations. Therefore, relying solely on data augmentation cannot ensure that the target domain distribution falls within the convex hull of the source domain. (2) Depends on target domain data (does not meet DG settings).
[0007] Some methods (such as the Domain Adaptation method) require access to target domain data or even knowledge of the target camera parameters, which is usually not feasible in practical applications.
[0008] (3) Lack of sample-level adaptive capability.
[0009] Existing methods employ a uniform strategy for all test samples, failing to dynamically adjust for geometric differences between images. However, in reality, the geometric distortion of each image is different (camera-specific).
[0010] In summary, without accessing target domain data or updating the model, existing technologies are fundamentally unable to effectively address the geometric distribution shift caused by changes in camera parameters, thus failing to truly improve the generalization ability of target detection models in unseen domains. Summary of the Invention
[0011] To address the aforementioned problems in the existing technology, this application provides a domain-generalized target detection method, apparatus, application system, equipment, medium, and product.
[0012] To achieve the above objectives, this application provides the following solution: Firstly, this application provides a domain-generalized target detection method, including: Construct a geometric basis space, and generate a synthetic geometric domain based on the geometric basis space; A geometric domain classifier is trained based on multiple synthetic geometric domains; The geometric domain classifier is used to obtain weight results based on the target domain image; Based on the weight results, an estimated geometric transformation is performed, the estimated geometric transformation is inverted, and the target domain image is geometrically corrected based on the obtained inverse geometric transformation. The target domain image is geometrically mapped to the corrected image by performing an inverse geometric transformation based on geometric correction. Based on the corrected image, an online inference target detection model is developed. The target domain image to be detected is acquired in real time, and the detection result is obtained by using the inferred target detection model. The detection results are mapped back to the original space through geometric estimation to obtain the final image containing the detected target.
[0013] Secondly, this application provides a domain-generalized target detection device, comprising: A geometry basis generation module is used to construct a geometry basis space and generate a synthetic geometry domain based on the geometry basis space; The data filtering module is used to train a geometric domain classifier based on multiple synthetic geometric domains; The weight determination module is used to obtain weight results based on the target domain image using the geometric domain classifier. The geometric correction module is used to estimate the geometric transformation based on the weight result, inverse the estimated geometric transformation, and perform geometric correction on the target domain image based on the obtained inverse geometric transformation. The image mapping module performs geometric space mapping on the target domain image based on the inverse geometric transformation after geometric correction, to obtain the corrected image. The model inference module is used to infer an online target detection model based on the corrected image; The target detection module is used to acquire the target domain image to be detected in real time and obtain the detection result by using the inferred target detection model; The inverse mapping module is used to map the detection results back to the original space through geometric estimation to obtain the final image containing the detected target.
[0014] Thirdly, this application provides an application system for the above-mentioned domain generalization target detection method, wherein the application system is an autonomous driving system, a video surveillance system, a robot vision system, or a smart city and security system.
[0015] Fourthly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the domain generalization target detection method provided above.
[0016] Fifthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the domain generalization target detection method provided above.
[0017] Sixthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the domain generalization target detection method provided above.
[0018] According to the specific embodiments provided in this application, this application has the following technical effects: This application provides a domain-generalized target detection method, apparatus, application system, device, medium, and product. It constructs a geometric basis space as a representation of the source domain's geometric space and generates a synthetic geometric domain based on the geometric basis space. Geometric offset is modeled as a homography matrix transformation problem. Geometric estimation is obtained based on geometric data and weight results. Geometric inverse correction is performed on the geometric estimation, realizing the geometric transformation of the target image. The target image is mapped back to the source domain's geometric space through inverse transformation, and target detection is completed using the original target detection model. This shifts target detection from learning invariant features to correcting the input geometry. It enables instance-level geometric correction of the input image without accessing the target domain or updating model parameters, thereby improving target detection performance in cross-camera environments. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A schematic flowchart of a domain generalization target detection method provided in an embodiment of this application; Figure 2 A schematic diagram illustrating the framework of a domain generalization target detection method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the functional modules of a domain generalization target detection device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] In one exemplary embodiment, this application provides a domain-generalized target detection method. This method is executed by a computer device, specifically a terminal or server, or both. In this embodiment, the method is described using a server as an example. Figure 1 As shown, the method includes: Step 100: Construct the geometric basis space and generate the synthetic geometric domain based on the geometric basis space; Step 101: Train a geometric domain classifier based on multiple synthetic geometric domains; Step 102: Use a geometric domain classifier to obtain weight results based on the target domain image; Step 103: Based on the weight results, perform an estimated geometric transformation, inverse the estimated geometric transformation, and perform geometric correction on the target domain image based on the obtained inverse geometric transformation; Step 104: Perform geometric space mapping on the target domain image based on the inverse geometric transformation after geometric correction to obtain the corrected image; Step 105: Inferring an online target detection model based on the corrected image; Step 106: Acquire the target domain image to be detected in real time, and use the inferred target detection model to obtain the detection result; Step 107: Map the detection results back to the original space through geometric estimation to obtain the final image containing the detected target.
[0024] In an exemplary embodiment of this application, in order to model the geometric offset as a homography problem, this application constructs a set of geometric bases as a representation of the source domain's geometric space. Based on this, the implementation process of steps 100 and 101 above can be described as follows: Step 1: Construct the geometric basis space.
[0025] Define homography matrix H =[ S x , S y , L x , L y ], generating multiple geometric bases to form a geometric base space, such that: .
[0026] In the formula, the parameter S x and S y Parameters used to control scale variation (field of view, FoV) Lx and L y Used to control perspective changes (viewpoint).
[0027] The parametric description described above can decouple FoV changes from viewpoint changes.
[0028] Step 2: Generate a synthetic geometric domain based on the geometric basis space, and perform a T-transform on the source image to obtain multiple geometric domain data. D 1- D n By sorting and selecting the first k, the geometric basis is obtained. H i , i = 1, 2, ..., k. Where, .
[0029] The process of performing a T-transform on the source image can be described as follows: First, unify the left multiplication of the source image onto the geometric basis. ,have: .
[0030] In the formula, X i The source image after transformation. X s The source image, Let be the i-th geometric basis in the geometric basis space.
[0031] Then, transformations are performed to form the synthesized geometric domain data. D i Together they constitute the synthetic geometric domain D syn ,have: .
[0032] By fixing L x = L y =0 and change the parameter S x and S y This allows for precise simulation of field-of-view (FoV) shifts while maintaining a constant viewpoint. Secondly, it utilizes fixed parameters... S x and S y The value of , and change the parameter L x and L y It can simulate arbitrary viewpoint shifts while maintaining a constant field of view (FoV). Each set of geometric data...H i Corresponding to a geometric domain data Di Different geometric data H i For different geometric domain data Di .
[0033] In one exemplary embodiment of this application, the implementation process of step 102 described above can be described as follows: Step 1: Using the target domain image X t As input, a geometric domain classifier (such as a lightweight classifier DC, including but not limited to Faster R-CNN, YOLO-V12, or Deformable DETR models) is trained to obtain multiple weights. w 1, w 2, ..., w n .
[0034] Step 2: Sort the multiple weights and select the top k to normalize, which will be the final weight result. w i , i =1,2,..., k .
[0035] Based on the above description, each geometric transformation is mapped to a category label. A lightweight classifier DC is trained using synthetic data to predict geometric weights, thus obtaining the similarity weights of each test image (i.e., the target image) to each geometric basis. for: .
[0036] Based on this, during the testing phase, a lightweight classifier was used to predict the geometric features of the target image.
[0037] In an exemplary embodiment of this application, the implementation process of step 103 described above can be described as follows: in the parameter space, the geometric data and weight results are weighted and combined to obtain a geometric estimate. H t ,have: .
[0038] This process enables the combination of parameter spaces.
[0039] In an exemplary embodiment of this application, step 104, the process of geometrically mapping the target domain image, can be represented as: .
[0040] In the formula, The target domain image after inverse transformation. This is the geometric estimate after geometric inverse correction.
[0041] The above processing can map the target domain image back to the geometric space of the source domain.
[0042] Based on the above description, the final detection result can be expressed as: .
[0043] In the formula, For the test results, F ( ) represents the target detection model.
[0044] Based on the above... ,pass H t To obtain the final image information (i.e., the final image containing the detected target), that is, to output the... Multiply by one on the left H t Then transform it to the geometric space of the target domain.
[0045] Based on the above description, the implementation architecture of the domain generalization target detection method provided in this application is as follows: Figure 2 As shown, its core idea mainly includes: modeling geometric offset as a homography problem; constructing a set of geometric bases as a representation of the source domain's geometric space; predicting the geometric characteristics of the target image using a lightweight classifier during the testing phase; combining the geometric bases in the parameter space to estimate the geometric transformation of the target image; mapping the target image back to the source domain's geometric space through an inverse transformation; and using the original detector to complete target detection.
[0046] In one exemplary embodiment of this application, source domain data can be augmented through large-scale random sampling homography during the model training phase, thereby expanding the distribution range of training data and enabling the model to possess a certain degree of geometric robustness. However, this approach has the following shortcomings: (1) It is only static enhancement and cannot adapt to the specific geometric differences of the test sample.
[0047] (2) It is difficult to cover the complex combination of real camera parameter changes.
[0048] (3) Instance-level adaptation cannot be achieved.
[0049] In one exemplary embodiment of this application, unlabeled data from the target domain can be used to fine-tune the model through adversarial learning or feature alignment methods to adapt the model to the distribution of the target domain. However, this approach has the following drawbacks: (1) Need to access target domain data.
[0050] (2) Does not conform to the domain generalization setting.
[0051] (3) It is difficult to implement in actual deployment.
[0052] In one exemplary embodiment of this application, the intrinsic or extrinsic parameters (such as FoV, pose, etc.) of the camera in the target image can be estimated, and then corrected using a geometric model. However, this approach has the following drawbacks: (1) It is difficult to accurately estimate camera parameters from a single image.
[0053] (2) High calibration accuracy is required.
[0054] (3) It is unstable in complex scenarios.
[0055] In one exemplary embodiment of this application, an alternative aspect based on Test-Time Augmentation (TTA) can be used to apply multiple geometric transformations to the input image during the testing phase and fuse the detection results (e.g., averaging or voting). However, this approach has the following drawbacks: (1) The computational cost is high.
[0056] (2) The transformation selection lacks specificity.
[0057] (3) The true geometric structure cannot be explicitly recovered.
[0058] In one exemplary embodiment of this application, an alternative aspect based on feature space alignment can make the model robust to geometric changes in the feature space by learning geometrically invariant features. However, this approach has the following drawbacks: (1) Geometric information is difficult to completely decouple in the feature space.
[0059] (2) Limited ability to adapt to complex geometric distortions.
[0060] Based on the same inventive concept, this application also provides a domain generalization target detection device for implementing the domain generalization target detection method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more domain generalization target detection device embodiments provided below can be found in the limitations of the domain generalization target detection method described above, and will not be repeated here.
[0061] In one exemplary embodiment, such as Figure 3 As shown, a domain generalization target detection device is provided, comprising: a geometric basis generation module, a data filtering module, a weight determination module, a geometric correction module, an image mapping module, a model inference module, a target detection module, and an inverse mapping module.
[0062] The data filtering module is used to train a geometric domain classifier based on multiple synthetic geometric domains; The weight determination module is used to obtain weight results based on the target domain image using a geometric domain classifier. The geometric correction module is used to estimate the geometric transformation based on the weight results, invert the estimated geometric transformation, and perform geometric correction on the target domain image based on the obtained inverse geometric transformation. The image mapping module performs geometric space mapping on the target domain image based on the inverse geometric transformation after geometric correction, to obtain the corrected image. The model inference module is used to infer the target detection model online based on the corrected image. The target detection module is used to acquire the target domain image to be detected in real time and obtain the detection result by using the inferred target detection model; The inverse mapping module is used to map the detection results back to the original space through geometric estimation, so as to obtain the final image containing the detected target.
[0063] In an exemplary embodiment, this application also provides an application system for the above-described domain generalization target detection method, which is an autonomous driving system, a video surveillance system, a robot vision system, or a smart city and security system.
[0064] When the application system is an autonomous driving system, the camera configurations of different vehicles vary greatly. The domain generalization object detection method provided in this application can directly improve cross-vehicle generalization capability. When the application system is a video surveillance system, the angles of different surveillance cameras vary significantly. The domain generalization object detection method provided in this application can unify the geometric distribution. When the application system is a robot vision system, in unknown environments, the domain generalization object detection method provided in this application can improve the visual perception stability of the robot system. When the application system is a robot vision system, it supports cross-scene deployment without the need to retrain the model.
[0065] In summary, compared with the prior art, this application has at least the following advantages: (1) Significantly improves target detection accuracy in cross-camera scenarios. This application effectively eliminates the geometric distortion problem caused by changes in field of view (FoV) and viewpoint by performing instance-level geometric correction on the input image during the testing phase. By mapping the target image back to the source domain geometric space, the distribution difference between the target domain and the source domain is reduced, making the target spatially closer to the source domain training data, thereby significantly improving detection accuracy.
[0066] (2) Strict domain generalization is achieved without accessing target domain data. This application constructs the geometric basis space entirely based on source domain data and performs inference during the testing phase. Without accessing any target domain data or label information and without updating model parameters, it satisfies the strict domain generalization setting, avoids the problem of dependence on target domain data in existing methods, and improves the actual deployability of the method.
[0067] (3) No need to update model parameters, resulting in low computational overhead. In the testing phase, this application only introduces a lightweight geometric classifier and geometric transformation calculation (i.e., instance-level geometric correction of the input image), without requiring any parameter updates or retraining of the object detection model, thereby improving object detection performance in cross-camera environments. Compared with the test-time adaptation method, this application has lower computational overhead and higher stability.
[0068] (4) It has sample-level adaptive capability to adapt to complex geometric changes. Unlike the traditional uniform processing method, this application dynamically predicts the geometric distribution of each input image and performs personalized correction, thereby adapting to the complex and varied camera parameters in real scenes, enabling the model to handle the geometric differences between different images and improve generalization ability.
[0069] (5) The method has good versatility and scalability. This application does not depend on a specific detector structure and can be seamlessly integrated into various object detection frameworks, including but not limited to two-stage detectors (Faster R-CNN), single-stage detectors (YOLO), and Transformer structure detectors (DETR). It does not require modification of the original detection model structure and has good engineering adaptability.
[0070] (6) Fundamentally solves the geometric domain offset problem. This application is the first to model cross-camera geometric offset as a test-time geometric projection problem. By mapping the target domain back to the source domain, rather than using traditional feature alignment methods, it theoretically reduces inter-domain differences. Unlike existing technologies that rely on learning invariant features, this application provides a new solution paradigm.
[0071] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 4As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores domain-generalized target detection data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a domain-generalized target detection method.
[0072] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment to which the present application is applied. Specific computer equipment may include, for example, [the following is a list of possible additional structures]. Figure 4 The diagram shows more or fewer components, or combinations of certain components, or different component arrangements.
[0073] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0074] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0075] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0077] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (RRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0078] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0079] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0080] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A domain-generalized target detection method, characterized in that, include: Construct a geometric basis space, and generate a synthetic geometric domain based on the geometric basis space; A geometric domain classifier is trained based on multiple synthetic geometric domains; The geometric domain classifier is used to obtain weight results based on the target domain image; Based on the weight results, an estimated geometric transformation is performed, the estimated geometric transformation is inverted, and the target domain image is geometrically corrected based on the obtained inverse geometric transformation. The target domain image is geometrically mapped to the corrected image by performing an inverse geometric transformation based on geometric correction. Based on the corrected image, an online inference target detection model is developed. The target domain image to be detected is acquired in real time, and the detection result is obtained by using the inferred target detection model. The detection results are mapped back to the original space through geometric estimation to obtain the final image containing the detected target.
2. The domain generalization target detection method according to claim 1, characterized in that, Constructing a geometric basis space and generating a synthetic geometric domain based on the geometric basis space, including: The source image is transformed based on the geometric data in the geometric base space to obtain multiple geometric domain data. The synthetic geometric domain is formed based on the geometric domain data.
3. The domain generalization target detection method according to claim 1, characterized in that, Using the geometric domain classifier, weight results are obtained based on the target domain image, including: The target domain image is input into the geometric domain classifier to obtain multiple weights corresponding to multiple geometric bases; The weights are sorted, and the first k weights are normalized to obtain the weight result.
4. The domain generalization target detection method according to claim 1, characterized in that, A geometric estimate is obtained based on the geometric data and the weighting results, including: In the parameter space, the geometric data and the weighting results are weighted and combined to obtain the geometric estimate.
5. The domain generalization target detection method according to claim 1, characterized in that, The target detection model is either Faster R-CNN, YOLO-V12, or Deformable DETR.
6. A domain-generalized target detection device, characterized in that, include: A geometry basis generation module is used to construct a geometry basis space and generate a synthetic geometry domain based on the geometry basis space; The data filtering module is used to train a geometric domain classifier based on multiple synthetic geometric domains; The weight determination module is used to obtain weight results based on the target domain image using the geometric domain classifier. The geometric correction module is used to estimate the geometric transformation based on the weight result, inverse the estimated geometric transformation, and perform geometric correction on the target domain image based on the obtained inverse geometric transformation. The image mapping module performs geometric space mapping on the target domain image based on the inverse geometric transformation after geometric correction, to obtain the corrected image. The model inference module is used to infer an online target detection model based on the corrected image; The target detection module is used to acquire the target domain image to be detected in real time and obtain the detection result by using the inferred target detection model; The inverse mapping module is used to map the detection results back to the original space through geometric estimation to obtain the final image containing the detected target.
7. An application system for a domain generalization target detection method, characterized in that, The application systems mentioned are autonomous driving systems, video surveillance systems, robot vision systems, or smart city and security systems.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that the processor executes the computer program to implement the domain generalization target detection method according to any one of claims 1-5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the domain generalization target detection method as described in any one of claims 1-5.
10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the domain generalization target detection method as described in any one of claims 1-5.
