Second-hand commodity identification method, device and equipment and storage medium
By extracting image and text fusion features of second-hand products and using classification models to determine the quality of second-hand products, the problem of low efficiency and low accuracy in second-hand product screening in the existing technology is solved, and more efficient second-hand product screening is achieved.
Patent Information
- Application Number
- CN202310484897.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-29
AI Technical Summary
The screening efficiency of second-hand products in the existing technology is low and the accuracy is low. This is mainly due to the inconsistency between product description information and images, resulting in low manual review efficiency.
By combining product images and description information, image and text fusion features are extracted, and a preset classification model is used to determine the association between images and text, thereby determining the quality of second-hand products.
It significantly improves the screening efficiency and accuracy of second-hand goods, can quickly identify inferior goods, and reduces the burden of manual review.
Smart Images

Figure CN118865337A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and storage medium for identifying second-hand goods. Background Art
[0002] At present, with the improvement of people's environmental awareness and the rapid development of Internet technology, users are gradually inclined to trade second-hand goods on various e-commerce platforms. Many sellers edit the content of product releases very casually, and there is a situation where the product description information is inconsistent with the product image. Staff are required to manually review the description and image of the product to filter out inferior second-hand goods, but the efficiency of manual screening of second-hand goods is low, and it is difficult to ensure the accuracy of screening. Summary of the invention
[0003] In order to solve the above problems, the present application proposes a second-hand goods identification method, device, equipment and storage medium, which can significantly improve the efficiency and accuracy of second-hand goods screening.
[0004] According to a first aspect of an embodiment of the present application, a method for identifying a second-hand commodity is provided, comprising:
[0005] Determining image-text fusion features according to a product image of the second-hand product and product description information of the second-hand product;
[0006] Determining the association between the image and the text according to the image and the text fusion feature;
[0007] The image-text association is used to determine the identification result of the second-hand commodity.
[0008] According to a second aspect of an embodiment of the present application, a second-hand commodity identification device is provided, including:
[0009] A fusion module, used to determine image-text fusion features based on the product image of the second-hand product and the product description information of the second-hand product;
[0010] An association module, used to determine the association between the image and the text according to the image and text fusion features;
[0011] The recognition module is used to determine the recognition result of the second-hand commodity by using the image-text association.
[0012] A third aspect of the present application provides an electronic device, including:
[0013] Memory and processor;
[0014] The memory is connected to the processor and is used to store programs;
[0015] The processor implements the above-mentioned second-hand goods identification method by running the program in the memory.
[0016] A fourth aspect of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned method for identifying second-hand goods is implemented.
[0017] In the multiple implementations provided in this specification, the image-text fusion feature is determined based on the product image and product description information, the image-text association is determined based on the image-text fusion feature, and the second-hand product recognition result is determined based on the image-text association. In this way, the product image and product description information are combined to supplement the second-hand product information, so that the image-text association can be more accurately determined through the image-text fusion feature, and the quality of the second-hand product can be more accurately judged based on the image-text association. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0019] Figure 1 A flowchart of a method for identifying second-hand goods provided for one embodiment of this specification;
[0020] Figure 2 A flowchart of step S110 in a method for identifying second-hand goods provided in one embodiment of this specification;
[0021] Figure 3 A flowchart of step S1130 in a second-hand commodity identification method provided in one embodiment of this specification;
[0022] Figure 4 A schematic diagram of the structure of a second-hand commodity identification device provided in one embodiment of this specification;
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided for one embodiment of the present specification. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] Overview
[0026] With the improvement of people's environmental awareness and the rapid development of Internet technology, users are gradually inclined to trade second-hand goods on various e-commerce platforms. Most of the second-hand goods in the industry are non-standard single-stock goods, and it is often necessary to display each second-hand product separately on the page of the e-commerce platform. However, many sellers edit the product release content very casually, and there is a situation where the product description information is inconsistent with the product image. There are also some sellers who upload unrealistic images to defraud traffic.
[0027] Currently, after the seller publishes product information, staff manually review the product description and images to filter out low-quality second-hand goods, making the screening of second-hand goods inefficient and low in accuracy.
[0028] Therefore, it is necessary to provide a second-hand goods identification method, device, equipment and storage medium, which combines the product image and product description information to supplement the second-hand goods information, so that the image and text association can be more accurately determined through the image and text fusion features, thereby more accurately judging the quality of the second-hand goods based on the image and text association.
[0029] Example Method
[0030] Figure 1 : is a flow chart of a method for identifying second-hand goods according to an embodiment of the present application. In an exemplary embodiment, a method for identifying second-hand goods is provided, comprising:
[0031] S110, determining an image-text fusion feature according to a product image of the second-hand product and product description information of the second-hand product;
[0032] S120, determining the association between the image and text according to the image and text fusion feature;
[0033] S130: Determine the recognition result of the second-hand commodity by using the image-text association.
[0034] It should be noted that the application scenario of the second-hand goods identification method provided in step S110 to step S130 can be a second-hand e-commerce scenario, etc. The second-hand goods identification method can be applied to a terminal device, and the terminal device can be any device that can run an application or a mini-program, such as a mobile phone, a computer, a tablet computer, a wearable device, etc.
[0035] In step S110, illustratively, second-hand goods refer to used goods. Second-hand goods may include: second-hand electronic devices (such as second-hand mobile phones, second-hand tablets, second-hand computers, etc.), second-hand bags, second-hand shoes, etc. The product image refers to the image uploaded by the user. The product description information refers to information reflecting the condition of the product. Optionally, the description information may be a title text entered by the user.
[0036] Specifically, the image-text fusion feature includes the product image and product description information of the second-hand product. Optionally, the product image and product description information may be represented by vectors, and the image vector and the text vector may be concatenated to obtain the image-text fusion feature.
[0037] In step S120, exemplarily, the image-text association situation represents the association between the product description information and the product image. Preferably, the image-text fusion features are processed according to a preset classification model, and the image-text consistency classification result is output; the image-text consistency classification result is determined as the image-text association situation. Among them, the pre-classification model can adopt a fully connected neural network model (DNN), and image training data and text training data corresponding to the image training data are pre-acquired. The image-text fusion features are generated according to the image training data and the text training data, and then the fully connected neural network model is trained according to the image-text fusion training sequence, and the output result is input into the Softmax layer for normalization, and the final classification result is output. The classification result is generally set to 0 or 1. 0 indicates that the image-text consistency classification result is that the product image is inconsistent with the product description information, and 1 indicates that the image-text consistency classification result is that the product image is consistent with the product description information.
[0038] In step S130, for example, if the image-text association is that the product image is consistent with the product description information, the second-hand product is not a low-quality product; if the image-text association is that the product image is inconsistent with the product description information, the second-hand product is a low-quality product. In this way, the quality of the second-hand product can be determined by judging the image-text association, so that the low-quality second-hand products on the e-commerce platform can be quickly screened, so that the second-hand products on the e-commerce platform can be processed in a timely manner.
[0039] In the technical solution of the present application, the image-text fusion feature is determined based on the product image and product description information, the image-text association is determined based on the image-text fusion feature, and the image-text association is then used to determine the recognition result of the second-hand product. In this way, the product image and product description information are combined to supplement the second-hand product information, so that the image-text association can be more accurately determined through the image-text fusion feature, so that the quality of the second-hand product can be more accurately judged based on the image-text association.
[0040] In one embodiment, if Figure 2As shown, the image-text fusion feature is determined according to the product image of the second-hand product and the product description information of the second-hand product, and step S110 includes:
[0041] S1110, determining product image features according to the product image of the second-hand product;
[0042] S1120, determining commodity text features according to commodity description information of the second-hand commodity;
[0043] S1130: Determine image-text fusion features according to the product image features and the product text features.
[0044] Exemplarily, the product image features represent features related to the product in the image. Optionally, an image feature extraction algorithm may be used to process the product image and output the product image features. The image feature extraction algorithm includes: LBP algorithm (Local Binary Patterns), HOG feature extraction algorithm (Histogram of Oriented Gradient), SIFT operator (Scale-invariant feature transform), etc. Optionally, an image classification model may be used to process the product image and output the product image features. The product image features may be an image sequence, such as I R = {I t1 ,I t2 ,I t3 …I tn}. The image classification model can be a residual network (ResNet).
[0045] Exemplarily, the product description information indicates information reflecting the product situation. Optionally, the description information may be a title text input by a user. Specifically, a text feature extraction algorithm may be used to extract features from the product description information and output product text features. Text feature extraction algorithms include one-hot encoding, TF-IDF model, bag-of-words model, etc.
[0046] Specifically, the product image features and product text features may be input into a pre-trained neural network model to output image-text fusion features. The pre-trained neural network model is trained based on image training data, text training data and corresponding image-text training data.
[0047] In one implementation, the determining of the commodity text feature according to the commodity description information of the second-hand commodity, step S1120 includes:
[0048] S1121, pre-processing the commodity description information to determine the target information of the commodity;
[0049] S1122: Obtain product text features according to semantic information in the target information of the product.
[0050] Exemplarily, preprocessing may include data cleaning, data segmentation, etc. Specifically, Jieba segmentation tool is used to segment the product description information to obtain multiple segmentations. Stop words in the multiple segmentations are then determined, and the stop words are filtered, and the filtered multiple segmentations are used as target information. Then, a semantic analysis model (latent semantic indexing (LSI)) can be used to determine the semantic information in the target information, and the semantic information is used as a feature of the product text. In this way, meaningless words in the product description information can be filtered, thereby improving the processing efficiency of the product description information.
[0051] Furthermore, the step S1122 of obtaining the commodity text feature according to the semantic information in the target information of the commodity includes:
[0052] Determine a feature vector corresponding to the target information of the product;
[0053] The semantic information in the target information of the commodity is extracted using the intermediate vector of the feature vector, and a text sequence is generated according to the semantic information.
[0054] Exemplarily, the intermediate vector represents the remaining vector in the feature vector after removing the beginning vector and the ending vector. The feature vector represents the corresponding word vector converted according to the target information. Specifically, the integrated BERT pre-trained model is used to process multiple word segments in the target information, and the word vector (i.e., feature vector) corresponding to each pre-trained word is obtained in turn to form a vector sequence.
[0055] Preferably, the extracting semantic information from the target information of the commodity by using the intermediate vector of the feature vector and generating a text sequence according to the semantic information includes:
[0056] Determine the middle vector of the feature vector by using the beginning vector and the ending vector of the feature vector;
[0057] Performing feature extraction on the intermediate vector to obtain an intermediate feature vector;
[0058] The beginning vector, the ending vector and the intermediate feature vector are fused to obtain the text sequence.
[0059] Exemplarily, extract the vector of the CLS header (i.e., the beginning vector) and the vector of the SEP header (i.e., the ending vector) from the vector sequence. Segment the vector of the CLS header and the vector of the SEP header in the vector sequence to determine multiple intermediate vectors in the vector sequence. Then use the TextCNN model to extract features from multiple intermediate vectors using one-dimensional convolution, where conv-dim refers to the number of feature maps after convolution. Then use maximum pooling to reduce noise and obtain the corresponding intermediate vector features. Finally, concatenate the beginning vector, the ending vector, and the intermediate feature vectors to obtain a concatenated sequence, and use a fully connected layer to reduce the dimensionality of the concatenated sequence to obtain a text sequence. For example, E T ={E t1 ,E t2 ,E t3 …E tn In this way, by integrating the BERT pre-trained model and TextCNN and incorporating text features, the text semantic features are fully extracted and mined, thereby obtaining a more accurate text fusion sequence.
[0060] In one embodiment, obtaining the commodity text feature according to the semantic information in the target information of the commodity includes:
[0061] Extracting product quality information from the product description information;
[0062] The text sequence is generated according to the semantic information in the target information and the product quality information.
[0063] For example, the product condition information is used to reflect the newness or oldness of the product. A semantic analysis model can be used to determine the semantic information in the target information, and then the semantic information and the product condition information are spliced to generate a text sequence. In this way, the condition information can be used to further determine whether the newness or oldness of the product in the product image is consistent, and the consistency of the product image and product description information can be determined from multiple perspectives.
[0064] In one embodiment, if Figure 3 As shown, the image-text fusion feature is determined according to the product image feature and the product text feature, and step S1130 includes:
[0065] S1131, combining the product image feature and the product text feature to obtain a picture-text combination feature;
[0066] S1132: Process the image-text splicing feature according to a preset weight coefficient to obtain the image-text fusion feature. The preset weight coefficient may be pre-set as required or may be set according to an attention model, which is not limited here.
[0067] In this embodiment, the image classification model is used to process the product image and output the product image sequence. The product description information is processed by integrating the BERT pre-trained model and TextCNN to output the text sequence. The image sequence and the text sequence are concatenated to obtain the image-text splicing sequence (i.e., the image-text splicing feature), i.e., S T =Concat{E t1 ,E t2 …E tn …I t1 ,I t2 …I tn}. Then, according to the attention model, the weight coefficients of each vector in the image-text concatenation sequence are assigned, and the pre-set bias is extracted. The image-text fusion sequence (i.e., image-text fusion features) is generated according to the weight coefficients and bias. In this way, the most important feature vector representation can be obtained, so that the image-text fusion features can more accurately express the content of the product image and product description information.
[0068] The formula of the image-text fusion sequence is as follows:
[0069] Z g =ω z S T +b z
[0070] Among them, Z g represents the image-text fusion sequence, ω z represents the weight coefficient, S T represents the image and text concatenation sequence, b z Indicates the offset.
[0071] Then, the image-text fusion feature is input into the pre-trained classification model, the prediction result is output, the prediction result is normalized, the classification result of the image-text fusion feature is determined, and the recognition result of the second-hand goods is determined according to the classification result. That is, if the classification result of the image-text fusion feature is that the product image and the product description information are consistent, then the second-hand goods are not inferior goods; if the classification result of the image-text fusion feature is that the product image and the product description information are inconsistent, then the second-hand goods are inferior goods. In this way, the quality of second-hand goods can be determined by judging the classification result of the image-text fusion feature, so that inferior second-hand goods on the e-commerce platform can be quickly screened, so that the goods on the e-commerce platform can be processed in a timely manner.
[0072] Optionally, the pre-trained classification model can use a fully connected neural network model (DNN) to pre-acquire image training data and text training data corresponding to the image training data. Pre-process the text training data separately, mark the text training data after word segmentation, and associate and map each text training data with the corresponding image training data to ensure the correlation between text and image, which is convenient for the subsequent image-text fusion process. Then extract the semantic features of the text training data after word segmentation to obtain a text training sequence, and extract the features of the image training data to obtain an image training sequence. The text training sequence and the image training sequence are concatenated and spliced to obtain a spliced sequence. The spliced sequence is input into the attention layer to obtain an image-text fusion training sequence. Then, the fully connected neural network model is trained according to the image-text fusion training sequence, and the output result is input into the Softmax layer for normalization, and the final classification result is output. The classification result is generally set to 0 or 1. 0 indicates that the classification result of the image-text fusion feature is that the product image is inconsistent with the product description information, and 1 indicates that the classification result of the image-text fusion feature is that the product image is consistent with the product description information.
[0073] Example device
[0074] Accordingly, Figure 4 1 is a schematic diagram of a second-hand commodity identification device according to an embodiment of the present application. In an exemplary embodiment, a second-hand commodity identification device is provided, comprising:
[0075] A fusion module 410 is used to determine an image-text fusion feature based on a product image of a second-hand product and product description information of the second-hand product;
[0076] An association module 420, configured to determine the association between the image and the text according to the image and the text fusion feature;
[0077] The identification module 430 is used to determine the identification result of the second-hand commodity by using the image-text association.
[0078] In one embodiment, determining the image-text fusion feature according to the product image of the second-hand product and the product description information of the second-hand product includes:
[0079] determining a product image feature based on the product image of the second-hand product;
[0080] Determining product text features according to product description information of the second-hand product;
[0081] Determine image-text fusion features according to the product image features and the product text features.
[0082] In one implementation, determining the commodity text feature according to the commodity description information of the second-hand commodity includes:
[0083] Preprocessing the product description information to determine target information of the product;
[0084] The commodity text feature is obtained according to the semantic information in the target information of the commodity.
[0085] In one embodiment, obtaining the commodity text feature according to the semantic information in the target information of the commodity includes:
[0086] Determine a feature vector corresponding to the target information of the product;
[0087] The semantic information in the target information of the commodity is extracted using the intermediate vector of the feature vector, and a text sequence is generated according to the semantic information.
[0088] In one embodiment, extracting semantic information from the target information of the commodity by using the intermediate vector of the feature vector and generating a text sequence according to the semantic information includes:
[0089] Determine the middle vector of the feature vector by using the beginning vector and the ending vector of the feature vector;
[0090] Performing feature extraction on the intermediate vector to obtain an intermediate feature vector;
[0091] The beginning vector, the ending vector and the intermediate feature vector are fused to obtain the text sequence.
[0092] In one embodiment, obtaining the commodity text feature according to the semantic information in the target information of the commodity includes:
[0093] Extracting product quality information from the product description information;
[0094] The text sequence is generated according to the semantic information in the target information and the product quality information.
[0095] In one implementation, determining the image-text fusion feature according to the product image feature and the product text feature includes:
[0096] Splicing the product image feature and the product text feature to obtain an image-text splicing feature;
[0097] The image-text splicing feature is processed according to a preset weight coefficient to obtain the image-text fusion feature.
[0098] The second-hand goods identification device provided in this embodiment belongs to the same application concept as the second-hand goods identification method provided in the above-mentioned embodiment of this application, and can execute the second-hand goods identification method provided in any of the above-mentioned embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the second-hand goods identification method. For technical details not fully described in this embodiment, please refer to the specific processing content of the second-hand goods identification method provided in the above-mentioned embodiment of this application, and will not be repeated here.
[0099] Exemplary Electronic Devices
[0100] Another embodiment of the present application also provides an electronic device, see Figure 5 As shown, the device includes:
[0101] Memory 500 and processor 510;
[0102] The memory 500 is connected to the processor 510 and is used to store programs;
[0103] The processor 510 is used to implement the second-hand commodity identification method disclosed in any of the above embodiments by running the program stored in the memory 500.
[0104] Specifically, the electronic device may further include: a bus, a communication interface 520 , an input device 530 and an output device 540 .
[0105] The processor 510, the memory 500, the communication interface 520, the input device 530 and the output device 540 are connected to each other via a bus.
[0106] A bus may include a pathway that transfers information between components of a computer system.
[0107] The processor 510 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0108] The processor 510 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0109] The memory 500 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 500 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0110] The input device 530 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0111] Output device 540 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0112] The communication interface 520 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0113] The processor 510 executes the program stored in the memory 500 and calls other devices, which can be used to implement each step of any second-hand commodity identification method provided in the above embodiments of the present application.
[0114] Exemplary computer program products and storage media
[0115] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method for identifying second-hand goods according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
[0116] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0117] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the second-hand goods identification method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification. The specific working content of the above-mentioned electronic device, as well as the specific working content of the above-mentioned computer program product and the computer program on the storage medium when being executed by the processor, can all be referred to the contents of the above-mentioned method embodiment, and will not be repeated here.
[0118] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0119] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0120] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0121] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0122] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0123] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0124] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0125] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0126] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0127] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0128] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for identifying second-hand goods, characterized in that: include: Determining image-text fusion features according to a product image of the second-hand product and product description information of the second-hand product; Determining the association between the image and the text according to the image and the text fusion feature; The image-text association is used to determine the identification result of the second-hand commodity.
2. The method according to claim 1, characterized in that The determining of the image-text fusion feature according to the commodity image of the second-hand commodity and the commodity description information of the second-hand commodity includes: determining a product image feature according to the product image; Determining product text features according to the product description information; Determine image-text fusion features according to the product image features and the product text features.
3. The method according to claim 2, characterized in that The determining of the commodity text feature according to the commodity description information includes: Preprocessing the product description information to determine target information of the product; The commodity text feature is obtained according to the semantic information in the target information of the commodity.
4. The method according to claim 3, characterized in that The obtaining of the commodity text feature according to the semantic information in the target information of the commodity includes: Determine a feature vector corresponding to the target information of the product; The semantic information in the target information of the commodity is extracted using the intermediate vector of the feature vector, and a text sequence is generated according to the semantic information.
5. The method according to claim 4, characterized in that The extracting semantic information from the target information of the commodity by using the intermediate vector of the feature vector and generating a text sequence according to the semantic information includes: Determine the middle vector of the feature vector by using the beginning vector and the ending vector of the feature vector; Performing feature extraction on the intermediate vector to obtain an intermediate feature vector; The beginning vector, the ending vector and the intermediate feature vector are fused to obtain the text sequence.
6. The method according to claim 3, characterized in that The obtaining of the commodity text feature according to the semantic information in the target information of the commodity includes: Extracting product quality information from the product description information; The text sequence is generated according to the semantic information in the target information and the product quality information.
7. The method according to claim 2, characterized in that The determining of the image-text fusion feature according to the product image feature and the product text feature includes: Splicing the product image feature and the product text feature to obtain an image-text splicing feature; The image-text splicing feature is processed according to a preset weight coefficient to obtain the image-text fusion feature.
8. A second-hand commodity identification device, characterized in that: include: A fusion module, used to determine image-text fusion features based on the product image of the second-hand product and the product description information of the second-hand product; An association module, used to determine the association between the image and the text according to the image and text fusion features; The recognition module is used to determine the recognition result of the second-hand commodity by using the image-text association.
9. An electronic device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor implements the second-hand goods identification method as claimed in any one of claims 1 to 7 by running the program in the memory.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the method for identifying second-hand goods according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Commodity object searching method and device, equipment, medium and product
CN113869048A
Target commodity identification method and device, equipment, medium and product
CN114898349A
Method and device for identifying commodities of same type
CN115222972A
Commodity named entity identification method and device, equipment, medium and product
CN115470794A
Internet shopping mall building method and Internetshopping servicemethod using thereof
KR1020020005928A
