Method for storing and retrieving picture and video resources based on large model
The deep learning model is used to extract features and reduce dimensionality of pictures and video resources, solving the problem of time-consuming and inaccurate manual annotation in traditional media asset management systems, achieving efficient and automated warehousing and retrieval, and improving retrieval accuracy. performance and efficiency, adapting to large-scale data processing.
Patent Information
- Application Number
- CN202410657330.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-25
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, traditional media asset management systems rely on manual annotation to generate metadata and tags, which is time-consuming and error-prone. It is difficult to cope with large-scale data sets, resulting in low retrieval efficiency and poor user experience.
Large models based on deep learning are used to extract features, reduce dimensions, store and retrieve images and video resources, and utilize pre-training models and fine-tuning technology, combined with principal component analysis and linear discriminant analysis, to achieve automated warehousing and efficient retrieval.
It achieves efficient warehousing processing, accurate metadata generation, fast retrieval, saves storage space, reduces operating costs, improves content management efficiency, reduces manual operations, improves retrieval accuracy and efficiency, and adapts to large-scale data processing.
Smart Images

Figure CN118606505A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of picture and video processing, and in particular to a method for storing and retrieving picture and video resources based on a large model. Background Art
[0002] The development of deep learning technology has provided new possibilities for automated media content analysis. Through models such as convolutional neural networks (CNN), recurrent neural networks (RNN), and long short-term memory networks (LSTM), efficient analysis of image, video, and audio content can be achieved, thereby automatically generating accurate metadata and tags. With the explosive growth of digital media content, how to effectively manage and retrieve this content has become an increasingly severe challenge. The accuracy of metadata and tags directly affects the retrieval efficiency of content and user experience.
[0003] In the existing technology, traditional media asset management systems usually rely on manual annotation to generate metadata and tags. This method is time-consuming and error-prone, and it is difficult to cope with large-scale data sets. To this end, we propose a method for storing and retrieving image and video resources based on a large model to solve the above problems. Summary of the invention
[0004] Based on the technical problems existing in the background technology, the present invention proposes a method for storing and retrieving picture and video resources based on a large model.
[0005] The present invention proposes a method for storing and retrieving image and video resources based on a large model, comprising the following steps:
[0006] S1: Use deep learning models to extract features from images and video resources to obtain high-dimensional feature vectors;
[0007] S2: Perform dimensionality reduction processing on the high-dimensional feature vector to obtain a low-dimensional feature vector;
[0008] S3: Store the low-dimensional feature vectors and their corresponding images and video resources in the database;
[0009] S4: When receiving a user query request, use the deep learning model to extract features of the query image and video to obtain a query feature vector;
[0010] S5: Perform dimensionality reduction processing on the query feature vector to obtain a low-dimensional query feature vector;
[0011] S5: Retrieve images and video resources similar to the low-dimensional query feature vector in the database and return the retrieval results.
[0012] Preferably, the deep learning model is pre-trained and fine-tuned on a specific image and video resource dataset to adapt to specific analysis needs.
[0013] Preferably, the dimensionality reduction process uses methods such as principal component analysis (PCA) and linear discriminant analysis (LDA).
[0014] Preferably, the retrieval step includes calculating the similarity between the query feature vector and the material feature vector.
[0015] Preferably, the retrieval step includes performing natural language processing on the query content to generate a query feature vector.
[0016] Preferably, the retrieval step also includes performing sentiment analysis or semantic analysis on the retrieval results.
[0017] Preferably, the retrieval step also includes making personalized recommendations for the retrieval results.
[0018] The beneficial effects of the present invention are:
[0019] 1. Ability to achieve efficient warehousing processing, accurate metadata generation, efficient retrieval capability, scalability and flexibility, automation and intelligence, save storage space, improve content management efficiency and reduce operating costs;
[0020] 2. Through automated storage and retrieval processes, manual operations can be reduced, labor costs can be lowered, and efficient content management and retrieval can be achieved;
[0021] 3. The large model can understand and capture the complex relationships and semantic information of image and video content, and content-based retrieval improves the accuracy and efficiency of retrieval. At the same time, the large model has good scalability and can process large-scale image and video data, and can be flexibly adjusted and optimized according to actual needs. In addition, the efficiency and accuracy of the large model reduce errors and repeated operations, further reducing operating costs.
[0022] The large model of the present invention can process large-scale image and video data, and can be adjusted and optimized according to different application scenarios, with good scalability and adaptability; through automatic feature extraction, metadata generation, label generation and other steps, it reduces manual intervention and improves processing efficiency; at the same time, it adopts an efficient retrieval mechanism, and performs similarity calculation based on the features extracted by the deep learning model, which can quickly and accurately retrieve image and video resources related to the query content. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the content storage and preservation process of a method for storing and retrieving picture and video resources based on a large model proposed by the present invention;
[0024] Figure 2 A content retrieval process diagram of a method for storing and retrieving image and video resources based on a large model proposed by the present invention. DETAILED DESCRIPTION
[0025] The present invention will be further explained below in conjunction with specific embodiments.
[0026] refer to Figure 1-Figure 2 In this embodiment, a method for storing and retrieving image and video resources based on a large model is proposed, which includes the following steps:
[0027] S1: Use deep learning models to extract features from images and video resources to obtain high-dimensional feature vectors;
[0028] S2: Perform dimensionality reduction processing on the high-dimensional feature vector to obtain a low-dimensional feature vector;
[0029] S3: Store the low-dimensional feature vectors and their corresponding images and video resources in the database;
[0030] S4: When receiving a user query request, use the deep learning model to extract features of the query image and video to obtain a query feature vector;
[0031] S5: Perform dimensionality reduction processing on the query feature vector to obtain a low-dimensional query feature vector;
[0032] S5: Retrieve images and video resources similar to the low-dimensional query feature vector in the database and return the retrieval results.
[0033] In this embodiment, the deep learning model is pre-trained and fine-tuned on specific image and video resource data sets to adapt to specific analysis needs.
[0034] In this embodiment, the dimensionality reduction process adopts methods such as principal component analysis (PCA) and linear discriminant analysis (LDA).
[0035] In this embodiment, the retrieval step includes calculating the similarity between the query feature vector and the material feature vector.
[0036] In this embodiment, the retrieval step includes performing natural language processing on the query content to generate a query feature vector.
[0037] In this embodiment, the retrieval step also includes performing sentiment analysis or semantic analysis on the retrieval results.
[0038] In this embodiment, the retrieval step also includes making personalized recommendations for the retrieval results.
[0039] This technology is divided into four stages: content analysis and identification, metadata generation, content archiving and warehousing, and large model retrieval.
[0040] Content analysis and identification: AI is used to identify the content of materials stored in the media asset management system and generate corresponding content tags. The analysis items include but are not limited to the following:
[0041] Image recognition includes: object recognition, scene recognition and sentiment analysis;
[0042] Object recognition: Identify objects in images, such as people, animals, vehicles, etc.
[0043] Scene recognition: determine the background and scene of the picture, such as indoor, outdoor, sports field, etc.;
[0044] Sentiment analysis: Analyze the expressions and postures of people in the picture to determine their emotional state.
[0045] Video analysis includes: action recognition, face recognition and voice recognition;
[0046] Action recognition: Identify the actions and behaviors of people in the video, such as walking, running, dancing, etc.
[0047] Face recognition: extracting and identifying facial features of people from videos;
[0048] Speech recognition: Convert the speech content in the video into text to achieve subtitle generation or content understanding.
[0049] Audio analysis includes: music recognition, speaker recognition and sentiment analysis;
[0050] Music recognition: Identify the type and style of music in audio;
[0051] Speaker recognition: Identify and distinguish different speakers from audio;
[0052] Sentiment Analysis: Analyze the speech emotions in audio, such as happiness, sadness, anger, etc.
[0053] Text analysis includes: keyword extraction, sentiment analysis, and entity recognition;
[0054] Keyword extraction: extract important keywords and phrases from text;
[0055] Sentiment analysis: Analyze the emotional tendency of the text, such as positive, negative, and neutral;
[0056] Entity recognition: Identify entities in text, such as names of people, places, organizations, etc.
[0057] Metadata generation: The system pre-processes the original content, including cleaning, word segmentation, grammatical analysis and other steps, then extracts key information through the algorithm model and generates corresponding tags based on contextual semantics. System administrators or professional catalogers can also manually adjust or add catalog content to accurately control the metadata fields of each resource, including but not limited to title, author, subject terms, abstract, etc. Finally, these two parts of content are integrated together to form a complete metadata record and saved in the search library.
[0058] Archive and save: In the media content library, each media item will be archived in order according to its automatically extracted index keywords and matching tags. Based on the dynamic matching results of indexes and tags, the system will automatically classify media content into corresponding folders or sub-libraries, forming a tree-like or mesh-like organizational structure, which is convenient for users to browse and manage in a hierarchical manner.
[0059] Large model search:
[0060] Retrieval request processing: When a retrieval request is received, the request is first preprocessed in the same way, and then the trained model is used to calculate and analyze the request to find data related to the request.
[0061] Result presentation: The retrieved results are sorted and displayed according to factors such as relevance and timeliness, so that users can quickly obtain the required information. At the same time, some additional functions can also be provided, such as result explanation and related recommendations.
[0062] Working principle: When in use, first extract the features of the content in the media resource library, extract the feature data of the content, and use the pre-trained large model to extract the features of the pre-processed pictures and video resources. When extracting features from images and video resources, the pre-processed data can be input into these pre-trained models. Through the multi-layer convolutional layer and pooling layer in the model, it can automatically learn and capture the rich features of the data from low-level (such as edges, textures) to high-level (such as shapes, objects), and generate metadata based on the recognition results and the manually revised cataloging information. The intelligent recognition system accurately identifies the feature content and its structural relationship; combined with manual revision, the accuracy and consistency of the recognition results are ensured. On this basis, further refine the operation, add semantic tags to each cataloging information, and form highly structured metadata records. These metadata greatly improve the precision and recall of information retrieval, strongly support users to efficiently and accurately locate and obtain information at different levels and granularity, automatically match content indexes, and archive and save them. The automatically extracted index keywords and matching tags are archived in an orderly manner. Based on the dynamic matching results of indexes and tags, the system will automatically classify media content into corresponding folders or sub-libraries to form a tree-like or mesh-like organizational structure, which is convenient for users to browse and manage in a hierarchical manner. For large-scale model retrieval, when receiving a user's retrieval request, a series of standardized and optimized preprocessing operations will be performed first. Next, the system will use a deep learning model that has been trained with a large amount of data and is highly adaptable to perform in-depth calculations and analysis on the preprocessed requests. This model can capture key features related to the retrieval request from massive amounts of information, and find data resources that are highly matched with user needs through complex correlation analysis, semantic understanding, and reasoning.
[0063] The present invention innovates on the basis of the existing product image and video resource management mode. A method for automated and intelligent warehousing and retrieval of image and video resources based on large-scale artificial intelligence model technology is proposed. The core of this method is to utilize the powerful learning and processing capabilities of the artificial intelligence model to automatically identify, classify and archive massive multimedia assets, eliminating a large amount of tedious manual operations in traditional manual management methods and significantly improving management efficiency. At the same time, the present invention emphasizes the use of deep learning and pattern recognition technology to achieve high-precision content understanding and retrieval, whether in image recognition, scene classification, video analysis, object tracking, etc., it can achieve the accuracy of manual operation, thereby solving the current problems of low efficiency, low accuracy and high labor costs faced in the manual management of massive multimedia assets.
[0064] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for storing and retrieving image and video resources based on a large model, characterized in that: The following steps are involved: S1: Use deep learning models to extract features from images and video resources to obtain high-dimensional feature vectors; S2: Perform dimensionality reduction processing on the high-dimensional feature vector to obtain a low-dimensional feature vector; S3: Store the low-dimensional feature vectors and their corresponding images and video resources in the database; S4: When receiving a user query request, use the deep learning model to extract features of the query image and video to obtain a query feature vector; S5: Perform dimensionality reduction processing on the query feature vector to obtain a low-dimensional query feature vector; S5: Retrieve images and video resources similar to the low-dimensional query feature vector in the database and return the retrieval results.
2. The method according to claim 1, characterized in that The deep learning model is pre-trained and fine-tuned on specific image and video resource data sets to meet specific analysis needs.
3. The method according to claim 1, characterized in that The dimensionality reduction process uses principal component analysis and linear discriminant analysis methods.
4. The method according to claim 1, characterized in that: The retrieval step includes calculating the similarity between the query feature vector and the material feature vector.
5. The method according to claim 1, characterized in that The retrieval step includes performing natural language processing on the query content to generate a query feature vector.
6. The method according to claim 1, characterized in that The retrieval step also includes sentiment analysis or semantic analysis of the retrieval results.
7. The method according to claim 1, characterized in that The retrieval step also includes personalized recommendations for the retrieval results.
