Resource application approval method and device, computer equipment, readable storage medium and program product

Automatically analyzing on-site construction images through the image segmentation network solves the problems of high human resource consumption and inaccurate progress in resource application and approval, and achieves an efficient and accurate resource application and approval process.

CN118608104APending Publication Date: 2024-09-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410983054.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-06

Smart Images

  • Figure CN118608104A
    Figure CN118608104A
Patent Text Reader

Abstract

The invention relates to a resource application approval method and device, computer equipment, a computer readable storage medium and a computer program product. The method relates to the technical field of big data and artificial intelligence. The method comprises the following steps: receiving a resource application request; determining an engineering project associated with a resource applicant based on the resource application request, and collecting a site construction image of the engineering project; inputting the on-site construction image into a trained image segmentation network for processing, dividing the on-site construction image into a plurality of image areas through the image segmentation network, and generating a category identification result of each image area; determining the construction progress of the engineering project based on the plurality of image areas and the category recognition result of each image area; and generating an approval result of the resource application request based on the construction progress of the engineering project. By adopting the method, human resource consumption in resource application approval can be reduced, and the error rate of approval results can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of big data technology and artificial intelligence technology, and in particular to a resource application approval method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In resource application scenarios, it is often necessary to analyze the progress of projects under the applicant's name, so as to determine the risks caused by providing the corresponding resources to the applicant and assist in the approval of resource applications. The current traditional method includes sending personnel to the project site for on-site inspections, taking aerial photos of the on-site construction images, and manually analyzing the on-site construction images to determine the progress of the project. It can be seen that the method of manually determining the progress of the project requires a large amount of human resources, resulting in a large consumption of human resources during the resource application approval. At the same time, it is affected by human subjective factors, and the determined project progress is not necessarily accurate, resulting in a high error rate in the approval results. Summary of the invention

[0003] Based on this, it is necessary to provide a resource application approval method, device, computer equipment, computer-readable storage medium and computer program product that can reduce the human resource consumption in resource application approval and reduce the error rate of approval results in response to the above technical problems.

[0004] In a first aspect, the present application provides a resource application approval method, comprising:

[0005] Receive resource application requests;

[0006] Determine a construction project associated with the resource applicant based on the resource application request, and collect on-site construction images of the construction project;

[0007] Inputting the on-site construction image into a trained image segmentation network for processing, dividing the on-site construction image into a plurality of image regions through the image segmentation network, and generating a category recognition result for each image region;

[0008] Determining the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region;

[0009] Based on the construction progress of the engineering project, an approval result of the resource application request is generated.

[0010] In one of the embodiments, determining the construction progress of the engineering project based on the multiple image areas and the category recognition results of each image area includes: determining at least two sub-project areas of the on-site construction image; for each sub-project area, determining a target image area located in the current sub-project area from the multiple image areas, and determining the construction progress of the current sub-project area based on the target image area and the category recognition results of the target image area; determining the construction progress of the engineering project based on the construction progress of each sub-project area and the weight of each sub-project area.

[0011] In one of the embodiments, determining the construction progress of the current sub-project area based on the target image area and the category recognition result of the target image area includes: determining an area with completed construction and an area with uncompleted construction from multiple target image areas based on the category recognition result of the target image area; and determining the construction progress of the current sub-project area based on the area area of ​​the completed construction and the area area of ​​the uncompleted construction.

[0012] In one of the embodiments, determining at least two sub-project areas of the on-site construction image includes: receiving a project division instruction for the on-site construction image input by a user; and dividing the on-site construction image into at least two sub-project areas based on division information carried in the project division instruction.

[0013] In one of the embodiments, the on-site construction image is divided into multiple image regions by the image segmentation network, and a category recognition result for each image region is generated, including: reducing the spatial dimension and extracting features of the on-site construction image by an encoder in the image segmentation network to obtain a processed on-site construction image; inputting the processed on-site construction image into a decoder in the image segmentation network, increasing the spatial dimension of the processed on-site construction image by the decoder, and performing feature fusion of the on-site construction image after the spatial dimension increase processing and the processed on-site construction image through a jump connection; dividing the on-site construction image into multiple image regions based on the fusion result, and generating a category recognition result for each image region.

[0014] In one of the embodiments, the approval result of the resource application request is generated based on the construction progress of the engineering project, including: when the construction progress of the engineering project is greater than a preset progress threshold, generating an approval result of the application being passed, and providing the user account with the amount of resources requested by the resource application request; when the construction progress of the engineering project is not greater than the preset progress threshold, generating an approval result of the application being failed, and generating a construction progress report of the engineering project based on the multiple image areas, the category recognition results of each image area, and the construction progress.

[0015] In one embodiment, the training process of the image segmentation network includes: obtaining a plurality of on-site construction image samples and a true category label of each pixel in each project pattern sample; inputting each on-site construction image sample into the image segmentation network to be trained for processing, and determining the predicted category of each pixel in the on-site construction image sample through the image segmentation network to be trained; calculating a loss function based on the true category label and the predicted category, adjusting parameters of the image segmentation network to be trained based on the loss function, and continuing to train the image segmentation network after parameter adjustment until the loss function is less than a threshold, thereby obtaining a trained image segmentation network.

[0016] In a second aspect, the present application also provides a resource application approval device, including:

[0017] A receiving module, used for receiving a resource application request;

[0018] A collection module, used to determine the engineering project associated with the resource applicant based on the resource application request, and collect on-site construction images of the engineering project;

[0019] A segmentation module, used for inputting the on-site construction image into a trained image segmentation network for processing, dividing the on-site construction image into a plurality of image regions through the image segmentation network, and generating a category recognition result for each image region;

[0020] A determination module, configured to determine the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region;

[0021] A generation module is used to generate the approval result of the resource application request based on the construction progress of the engineering project.

[0022] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned embodiments when executing the computer program.

[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above-mentioned methods when executed by a processor.

[0024] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned embodiments when executed by a processor.

[0025] The above-mentioned resource application approval method, device, computer equipment, computer-readable storage medium and computer program product, after receiving a resource application request, determine the engineering project associated with the resource applicant based on the resource application request, can collect on-site construction images of the engineering project, can input the on-site construction images into a trained image segmentation network for processing, divide the on-site construction images into multiple image areas through the image segmentation network, and generate category recognition results for each image area. It can be seen that the present application can automatically segment the on-site construction images through the image segmentation network, thereby automatically determining the construction progress of the engineering project based on the multiple image areas obtained by segmentation and the category recognition results of each image area, without the need to manually determine the progress of the engineering project, thereby generating the approval result of the resource application request based on the construction progress, reducing the human resource consumption in the resource application approval, and also avoiding the problem of inaccurate determined engineering project progress due to the influence of human subjective factors, thereby reducing the error rate of the approval result. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0027] FIG1 is a schematic diagram of a process flow of a resource application approval method in one embodiment;

[0028] Figure 2 A schematic diagram of a process flow of a resource application approval method in another embodiment;

[0029] Figure 3 A schematic diagram of a process flow of a resource application approval method in another embodiment;

[0030] Figure 4 A structural block diagram of a resource application approval device in an embodiment;

[0031] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0033] In one embodiment, as shown in FIG1 , a resource application approval method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0034] Step 102: receiving a resource application request;

[0035] The terminal receives a resource application request input by a user, where the resource application request is used by the user account to apply to the terminal for resources to be issued to the user account.

[0036] Step 104: determining a project associated with the resource applicant based on the resource application request, and collecting on-site construction images of the project;

[0037] The engineering project associated with the resource applicant refers to the engineering project under the name of the resource applicant, and the engineering project ID of the engineering project is associated with the resource applicant ID.

[0038] One possible situation is that the resource application request includes a project identifier, and the project is determined based on the project identifier;

[0039] Another possible situation is that the resource application request includes a resource applicant identifier, then the project identifier corresponding to the resource applicant identifier is searched from the terminal's database, and the project is determined based on the project identifier; or the terminal searches for the project identifier corresponding to the resource applicant identifier from a third-party device, which may be a database or web browser of other terminals, and the project is determined based on the project identifier.

[0040] In this embodiment, there are the following implementation methods for collecting on-site construction images of the engineering project: one implementation method is to dispatch workers to the construction site to take aerial photos of the on-site construction images of the engineering project, and the terminal receives the on-site construction images sent by the aerial photography equipment;

[0041] Another way to achieve this is that satellite images have global coverage and can provide high-resolution image data, making them a powerful tool for monitoring the progress of engineering projects. Satellite images of engineering projects are captured by satellite systems in the area where the engineering projects are located. The captured satellite images are on-site construction images, and the terminal receives and sends on-site construction images sent by the satellite system. Compared with aerial photography, this method does not require personnel to go to the construction site to take photos, thereby reducing the consumption of human resources in resource application approval.

[0042] Step 106: Input the on-site construction image into the trained image segmentation network for processing, divide the on-site construction image into multiple image regions through the image segmentation network, and generate a category recognition result for each image region;

[0043] The image segmentation network can be a U-net network. The on-site construction image is input into the trained U-net network. The U-net network can identify the category of each pixel in the on-site construction image. Based on the category of each pixel, the on-site construction image can be divided into multiple image regions through the segmentation network, and the category recognition results of each image region are generated. Among them, the regions where the same type of pixels are located are combined to form an image region.

[0044] Step 108: determining the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region;

[0045] Based on the category recognition results of each image area, it can be determined whether the image area has been completed, thereby determining the construction progress of the project.

[0046] Step 110: Generate an approval result of the resource application request based on the construction progress of the project.

[0047] When the construction progress of the project is greater than the preset progress threshold, an approval result indicating that the application is passed is generated; otherwise, an approval result indicating that the application is failed is generated.

[0048] After receiving a resource application request, the present application determines the engineering project associated with the resource applicant based on the resource application request, can collect on-site construction images of the engineering project, input the on-site construction images into a trained image segmentation network for processing, divide the on-site construction images into multiple image regions through the image segmentation network, and generate category recognition results for each image region. It can be seen that the present application can automatically segment the on-site construction images through the image segmentation network, thereby automatically determining the construction progress of the engineering project based on the multiple image regions obtained by segmentation and the category recognition results of each image region, without the need for manual determination of the engineering project progress, thereby generating an approval result of the resource application request based on the construction progress, reducing the human resource consumption in the resource application approval, and also avoiding the problem of inaccurate determined engineering project progress due to the influence of human subjective factors, thereby reducing the error rate of the approval result.

[0049] In one of the embodiments, the construction progress of the engineering project is determined based on multiple image areas and category recognition results of each image area, including: determining at least two sub-project areas of the on-site construction image; for each sub-project area, determining a target image area located in the current sub-project area from multiple image areas, and determining the construction progress of the current sub-project area based on the target image area and the category recognition results of the target image area; and determining the construction progress of the engineering project based on the construction progress of each sub-project area and the weight of each sub-project area.

[0050] A construction project may consist of multiple individual sub-projects, and the on-site construction image is divided into at least two sub-project areas;

[0051] In this embodiment, determining the target image area located in the current sub-item area from multiple image areas means: determining the image area overlapping with the current sub-item area from multiple image areas, and taking the overlapping image area as the target image area. The overlapping image area can be one or more than one.

[0052] In this embodiment, the weight of each sub-project area is preset, and the cumulative sum of the product of the construction progress of each sub-project area and the weight of each sub-project area is used as the construction progress of the engineering project. The specific formula is:

[0053] The construction progress of the engineering project = the construction progress of sub-project area 1 * the weight corresponding to sub-project area 1 + the construction progress of sub-project area 2 * the weight corresponding to sub-project area 2 + … the construction progress of sub-project area n * the weight corresponding to sub-project area n, where nw is an integer greater than 2 and n is the total number of projects.

[0054] For example, if a project includes three sub-projects, namely, shopping mall construction, residential area construction, and infrastructure construction, the construction progress of the three sub-projects can be determined separately, and the construction progress of the project can be finally obtained. For another example, if a project includes groundbreaking projects, construction projects, mining projects, and waste slag and gravel projects, the construction progress of the four sub-projects can be determined separately, and the construction progress of the project can be finally obtained.

[0055] In one of the embodiments, the construction progress of the current sub-project area is determined based on the target image area and the category recognition result of the target image area, including: determining the area with completed construction and the area with uncompleted construction from multiple target image areas based on the category recognition result of the target image area; and determining the construction progress of the current sub-project area based on the area area of ​​the area with completed construction and the area area of ​​the area with uncompleted construction.

[0056] Based on the category recognition result of each target image area among the multiple target image areas, determine whether each target image area has been completed or unfinished, so that one or more target image areas with completed construction can be used as the area with completed construction, and one or more target image areas with unfinished construction can be used as the area with unfinished construction;

[0057] The regional area of ​​the area where construction has been completed refers to the sum of the areas of all areas where construction has been completed, and the regional area of ​​the area where construction has not been completed refers to the sum of the areas of all areas where construction has not been completed.

[0058] For example, if the category recognition result of the target image area is farmland, then the construction of the target image area has not been completed; if the category recognition result of the target image area is a project work area, then the construction of the target image area has been completed.

[0059] In one possible embodiment, the construction progress of the current sub-project area can be determined based on the area of ​​the area where construction has been completed and the area of ​​the current sub-project area. For example, the construction progress of the current sub-project area = the area of ​​the area where construction has been completed divided by the area of ​​the current sub-project area.

[0060] In another possible embodiment, the construction progress of the current sub-project area can also be determined based on the area of ​​the area where the construction has been completed and the area of ​​the area where the construction has not been completed. For example, the sum of the area of ​​the area where the construction has been completed and the area of ​​the area where the construction has not been completed is calculated, and the construction progress of the current sub-project area = the area of ​​the area where the construction has been completed divided by the sum of the areas.

[0061] In one of the embodiments, determining at least two sub-project areas of a field construction image includes: receiving a project division instruction for the field construction image input by a user; and dividing the field construction image into at least two sub-project areas based on division information carried in the project division instruction.

[0062] In this embodiment, the user may divide the on-site construction image into multiple sub-project areas, and the division information carried in the project division instruction may be the area boundaries of the sub-project areas. For example, the user may frame the sub-project areas of the on-site construction image with a rectangular frame.

[0063] In another embodiment, the engineering project is pre-divided into at least two sub-project areas, and determining the at least two sub-project areas of the on-site construction image includes: the terminal searches a terminal database or a web browser based on the engineering project identifier, thereby determining the at least two sub-project areas based on the division results of the engineering project stored in the terminal database or the web browser.

[0064] In this embodiment, the on-site construction image is divided into at least two sub-project areas, and the construction progress of each sub-project area is determined, thereby determining the construction progress of the entire project. This is suitable for scenarios where the construction progress of multiple small sub-projects in the project is determined, and resource applications are approved based on the determined construction progress, thereby improving the scenario applicability of resource application approval.

[0065] In one embodiment, before the on-site construction images are input into the trained image segmentation network for processing, the on-site construction images are also pre-processed.

[0066] In this embodiment, high-resolution satellite images are obtained, which cover the area of ​​the engineering project. The satellite images are preprocessed, and the preprocessing includes removing clouds, atmospheric correction, and histogram equalization, etc., to improve the image quality.

[0067] In one of the embodiments, an on-site construction image is divided into multiple image regions through an image segmentation network, and a category recognition result for each image region is generated, including: reducing the spatial dimension and extracting features of the on-site construction image through an encoder in the image segmentation network to obtain a processed on-site construction image; inputting the processed on-site construction image into a decoder in the image segmentation network, increasing the spatial dimension of the processed on-site construction image through the decoder, and performing feature fusion of the on-site construction image after the spatial dimension increase processing and the processed on-site construction image through a jump connection; dividing the on-site construction image into multiple image regions based on the fusion result, and generating a category recognition result for each image region.

[0068] In this embodiment, the U-net network consists of two parts: an encoder and a decoder, wherein the encoder is used to extract feature information of the on-site construction image, and the decoder is used to restore the feature information and generate image segmentation results of the on-site construction image.

[0069] The encoder part includes a series of convolutional layers, activation functions and maximum pooling layers. The output of the convolutional layer is connected to the activation function, and the output of the activation function is connected to the maximum pooling layer. The convolutional layer is used to extract features from the input on-site construction images. The activation function introduces nonlinear factors to enable the network to learn more complex feature representations. The maximum pooling layer is used to reduce the spatial dimension of the on-site construction images.

[0070] The on-site construction image processed by the encoder is input into the decoder. The decoder consists of a series of upsampling layers, convolution layers and activation functions. The output of the upsampling layer is connected to the convolution layer, and the output of the convolution layer is connected to the activation function. The upsampling operation increases the spatial dimension of the processed on-site construction image and gradually restores it to the spatial resolution of the original input image. The feature map obtained by upsampling multiple convolution kernels in the convolution layer is convolved to further extract and fuse features. At the same time, the convolution layer in the decoder may also use the inter-layer jump connection corresponding to the encoder. The jump connection combines the low-level features in the encoder with the high-level features in the decoder to fuse feature information from different levels to obtain a fusion result. The activation function can map the fusion result to a more complex feature space, thereby enhancing the expression ability of the network.

[0071] For the on-site construction image processed by the activation function in the decoder, in the last layer of the decoder, a normalization function (such as a softmax function) is used to classify each pixel in the image. If the pixels in a certain area are all of the same category, the area is taken as an image area and marked with a category, so that the on-site construction image can be divided into multiple image areas.

[0072] For example, buildings, rocks, water flows, and trees in the on-site construction image are respectively marked as different categories, so that the building area, rock area, water flow area, and tree area are determined from the on-site construction image.

[0073] It can be seen that both the encoder and decoder parts of the U-net network use convolutional neural network structures, which can extract and restore the feature information of the image. The decoder part uses a deconvolutional neural network for segmentation, which can segment satellite images into multiple areas, making it easier to monitor and automatically determine the progress of engineering projects for the approval of resource applications, reducing the human resource consumption in the approval of resource application requests. At the same time, segmenting images through the U-net network can improve the efficiency and accuracy of determining the progress of engineering projects, making monitoring and reporting of engineering project progress more reliable.

[0074] At the same time, this application can obtain real-time satellite images and then automatically determine the progress of the project through the U-net network, that is, the progress of the project can be determined in real time, so as to approve the resource application request based on the real-time progress of the project, thereby ensuring the accuracy of the approval result.

[0075] Reference Figure 2 In one embodiment, the training process of the image segmentation network includes:

[0076] Step 202: obtaining a plurality of on-site construction image samples and a true category label of each pixel in each project pattern sample;

[0077] Step 204: input each on-site construction image sample into the image segmentation network to be trained for processing, and determine the prediction category of each pixel point in the on-site construction image sample through the image segmentation network to be trained;

[0078] Step 206: Based on the true category label and the predicted category, a loss function is calculated, parameters of the image segmentation network to be trained are adjusted based on the loss function, and the image segmentation network after parameter adjustment is continued to be trained until the loss function is less than a threshold, thereby obtaining a trained image segmentation network.

[0079] In this embodiment, the multiple on-site construction image samples may be on-site construction images taken multiple times for the same project, or may be on-site construction images taken for different projects;

[0080] The true category label of each pixel point can mark which category the pixel point belongs to, for example, marking the pixel point as a building category, a rock category, a water category, or a tree category.

[0081] The predicted category of each pixel point refers to the predicted category of each pixel point, for example, the predicted pixel point belongs to the building category, rock category, water category or tree category;

[0082] Based on the difference between the true category label and the predicted category of each pixel in each on-site construction image sample, a loss function is obtained, and then the parameters of the image segmentation network to be trained are adjusted based on the loss function training, and finally a trained image segmentation network is obtained.

[0083] In this embodiment, by pre-training the image segmentation network, the trained image segmentation network is used to achieve automatic segmentation of on-site construction images, thereby reducing the human resource consumption in the approval of resource application requests.

[0084] In one of the embodiments, an approval result of a resource application request is generated based on the construction progress of the engineering project, including: when the construction progress of the engineering project is greater than a preset progress threshold, an approval result of the application being passed is generated, and the amount of resources requested by the resource application request is provided to the user account; when the construction progress of the engineering project is not greater than the preset progress threshold, an approval result of the application being failed is generated, and a construction progress report of the engineering project is generated based on multiple image areas, the category recognition results of each image area, and the construction progress.

[0085] This application can be used in loan approval scenarios. The resource application request can be a loan application request. When the construction progress of the project is greater than the preset progress threshold, an approval result of the loan application is generated, and the loan amount requested by the loan application request is provided to the user account;

[0086] When the construction progress of the project is not greater than the preset progress threshold, an approval result of loan application failure is generated, and a construction progress report of the project is generated at the same time. The construction report may include the segmentation results of the on-site construction image, that is, multiple image areas obtained by segmentation and category labels of each image area. Different categories of areas can be marked with different colors. The construction report also includes construction progress.

[0087] The construction progress report can be used as a reference for project managers so that they can take necessary measures in a timely manner to ensure that the project proceeds as planned.

[0088] like Figure 3 As shown, the overall scheme of this application is as follows:

[0089] Step 1: Receive resource application request;

[0090] The resource application request is a loan application request, which includes a project identifier and an application amount.

[0091] Step 2: Receive satellite images;

[0092] An image acquisition request is sent to a satellite system of an area where a project is located corresponding to the project identifier, and a satellite image of the project site sent by the satellite system is received.

[0093] Step 3: Input the satellite image into the trained U-net network, use the U-net network to mark the category of each pixel in the satellite image, divide the on-site construction image into multiple image areas based on the category of each pixel, and generate category recognition results for each image area.

[0094] Step 4: Determine the construction progress of the project;

[0095] Step 5: Generate the approval result of the resource application request based on the construction progress of the project.

[0096] This application provides users with corresponding operation entrances in the loan approval process, allowing users to choose to agree or reject the automated decision results; if the user chooses to reject, the expert decision process will be entered.

[0097] In this application, in the scenario of using remote sensing images to analyze project progress to determine the risk of lending, the U-net network model is used for high-resolution satellite image segmentation, which can effectively segment different areas in the image with high accuracy, helping to accurately identify different parts of the project, thereby facilitating the analysis of lending risks.

[0098] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0099] Based on the same inventive concept, the embodiment of the present application also provides a resource application approval device for implementing the resource application approval method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource application approval device embodiments provided below can refer to the limitations of the resource application approval method above, and will not be repeated here.

[0100] In an exemplary embodiment, Figure 4 As shown, a resource application approval device 400 is provided, comprising:

[0101] Receiving module 401, used to receive a resource application request;

[0102] A collection module 402 is used to determine a project associated with the resource applicant based on the resource application request, and collect on-site construction images of the project;

[0103] The segmentation module 403 is used to input the on-site construction image into a trained image segmentation network for processing, divide the on-site construction image into multiple image regions through the image segmentation network, and generate a category recognition result for each image region;

[0104] A determination module 404, configured to determine the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region;

[0105] The generation module 405 is used to generate the approval result of the resource application request based on the construction progress of the engineering project.

[0106] In one embodiment, the determination module 404 is specifically used to: determine at least two sub-project areas of the on-site construction image; for each sub-project area, determine a target image area located in the current sub-project area from the multiple image areas, and determine the construction progress of the current sub-project area based on the target image area and the category recognition result of the target image area; determine the construction progress of the engineering project based on the construction progress of each sub-project area and the weight of each sub-project area.

[0107] In one of the embodiments, when determining the construction progress of the current sub-project area based on the target image area and the category recognition result of the target image area, the determination module 404 is specifically used to: determine the area where construction has been completed and the area where construction has not been completed from multiple target image areas based on the category recognition result of the target image area; determine the construction progress of the current sub-project area based on the area area of ​​the completed construction and the area area of ​​the unfinished construction.

[0108] In one of the embodiments, when determining at least two sub-project areas of the on-site construction image, the determination module 404 is specifically used to: receive a project division instruction for the on-site construction image input by a user; and divide the on-site construction image into at least two sub-project areas based on the division information carried in the project division instruction.

[0109] In one embodiment, when the segmentation module 403 divides the on-site construction image into multiple image regions through the image segmentation network and generates a category recognition result for each image region, it is specifically used to:

[0110] The encoder in the image segmentation network performs spatial dimension reduction and feature extraction processing on the on-site construction image to obtain a processed on-site construction image; the processed on-site construction image is input into a decoder in the image segmentation network, the decoder performs spatial dimension increase processing on the processed on-site construction image, and the on-site construction image after the spatial dimension increase processing is fused with the processed on-site construction image through a jump connection; the on-site construction image is divided into multiple image areas based on the fusion result, and a category recognition result of each image area is generated.

[0111] In one of the embodiments, the generation module 405 is specifically used to: when the construction progress of the project is greater than a preset progress threshold, generate an approval result of the application being passed, and provide the user account with the resource quantity requested by the resource application request; when the construction progress of the project is not greater than the preset progress threshold, generate an approval result of the application being failed, and generate a construction progress report for the project based on the multiple image areas, the category recognition results of each image area and the construction progress.

[0112] In one embodiment, the training process of the image segmentation network includes:

[0113] Obtain multiple on-site construction image samples and true category labels for each pixel in each project pattern sample;

[0114] Inputting each on-site construction image sample into the image segmentation network to be trained for processing, and determining the prediction category of each pixel point in the on-site construction image sample through the image segmentation network to be trained;

[0115] Based on the true category label and the predicted category, a loss function is calculated, parameters of the image segmentation network to be trained are adjusted based on the loss function, and training is continued based on the image segmentation network after parameter adjustment until the loss function is less than a threshold, thereby obtaining a trained image segmentation network.

[0116] Each module in the resource application approval device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0117] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a resource application approval method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0118] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0119] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the method of each embodiment when executing the computer program.

[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method of each embodiment are implemented.

[0121] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the methods of various embodiments when executed by a processor.

[0122] 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, stored data, displayed data, 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 relevant data must comply with relevant regulations.

[0123] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory 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 (ReRAM), 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0124] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 application.

[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource application approval method, It is characterized in that The method comprises: Receive resource application requests; Determine a construction project associated with the resource applicant based on the resource application request, and collect on-site construction images of the construction project; Inputting the on-site construction image into a trained image segmentation network for processing, dividing the on-site construction image into a plurality of image regions through the image segmentation network, and generating a category recognition result for each image region; Determining the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region; Based on the construction progress of the engineering project, an approval result of the resource application request is generated.

2. The method according to claim 1, It is characterized in that The determining the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region includes: Determining at least two sub-project areas of the on-site construction image; For each sub-project area, determining a target image area located in the current sub-project area from the multiple image areas, and determining the construction progress of the current sub-project area based on the target image area and a category recognition result of the target image area; The construction progress of the engineering project is determined based on the construction progress of each sub-project area and the weight of each sub-project area.

3. The method according to claim 2, It is characterized in that The determining the construction progress of the current sub-project area based on the target image area and the category recognition result of the target image area includes: Based on the category recognition result of the target image area, determining a region where construction has been completed and a region where construction has not been completed from a plurality of target image areas; The construction progress of the current sub-project area is determined based on the area area of ​​the area where the construction has been completed and the area area of ​​the area where the construction has not been completed.

4. The method according to claim 2, It is characterized in that The determining of at least two sub-project areas of the on-site construction image includes: receiving a project division instruction input by a user for the on-site construction image; Based on the division information carried in the project division instruction, the on-site construction image is divided into at least two sub-project areas.

5. The method according to any one of claims 1 to 4, It is characterized in that The on-site construction image is divided into a plurality of image regions by the image segmentation network, and a category recognition result of each image region is generated, including: Performing spatial dimension reduction and feature extraction processing on the on-site construction image through an encoder in the image segmentation network to obtain a processed on-site construction image; Inputting the processed on-site construction image into a decoder in the image segmentation network, performing spatial dimension increase processing on the processed on-site construction image through the decoder, and performing feature fusion between the on-site construction image after the spatial dimension increase processing and the processed on-site construction image through a jump connection; The on-site construction image is divided into a plurality of image regions based on the fusion result, and a category recognition result of each image region is generated.

6. The method according to any one of claims 1 to 4, It is characterized in that The step of generating the approval result of the resource application request based on the construction progress of the engineering project includes: When the construction progress of the engineering project is greater than a preset progress threshold, an approval result of the application is generated, and the resource quantity requested by the resource application request is provided to the user account; When the construction progress of the engineering project is not greater than a preset progress threshold, an approval result of application failure is generated, and a construction progress report of the engineering project is generated based on the multiple image areas, the category recognition results of each image area and the construction progress.

7. The method according to any one of claims 1 to 4, It is characterized in that The training process of the image segmentation network includes: Obtain multiple on-site construction image samples and true category labels for each pixel in each project pattern sample; Inputting each on-site construction image sample into the image segmentation network to be trained for processing, and determining the prediction category of each pixel point in the on-site construction image sample through the image segmentation network to be trained; Based on the true category label and the predicted category, a loss function is calculated, parameters of the image segmentation network to be trained are adjusted based on the loss function, and training is continued based on the image segmentation network after parameter adjustment until the loss function is less than a threshold, thereby obtaining a trained image segmentation network.

8. A resource application approval device, It is characterized in that The device comprises: A receiving module, used for receiving a resource application request; A collection module, used to determine the engineering project associated with the resource applicant based on the resource application request, and collect on-site construction images of the engineering project; A segmentation module, used for inputting the on-site construction image into a trained image segmentation network for processing, dividing the on-site construction image into a plurality of image regions through the image segmentation network, and generating a category recognition result for each image region; A determination module, configured to determine the construction progress of the engineering project based on the multiple image regions and the category recognition results of each image region; A generation module is used to generate the approval result of the resource application request based on the construction progress of the engineering project.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.