Image-based search processing method and device, equipment and storage medium
By integrating multiple functional entrances and recognition models into the image search interface, image search and demand clarification are realized within one page, solving the problems of long paths and low efficiency in the existing technology, and improving the intelligence and convenience of search. sex.
Patent Information
- Application Number
- CN202410694056.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-24
AI Technical Summary
Existing image search products have long paths and low efficiency when users have complex or deep-seated needs. They cannot meet users' diverse and personalized needs, and cannot directly complete multiple rounds of search and need clarification within the camera.
Provides an image-based search processing method that integrates multiple functional portals into a search interface, allowing users to complete image search, requirement clarification and extended search within one page, supports multiple rounds of clarification and questioning, and uses recognition models to perform image processing Identification and presentation of results.
It improves search efficiency, enhances the intelligence and convenience of search, meets the diverse needs of users, reduces operation paths, and enhances user experience.
Smart Images

Figure CN118690033A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, in particular to the field of computer vision, deep learning, natural language processing and search technology, and can be applied to scenarios such as image recognition, image search and intelligent recommendation, and specifically to an image-based search processing method, device, equipment and storage medium. Background Art
[0002] In related technologies, image search products automatically identify subjects based on image recognition and intent judgment, and output recognition results; when the recognition results fail to match the user's intent, or the user has deeper and more complex search needs, the user is often required to exit the current camera and turn to text search to initiate a new round of search, which is a long path and inefficient. Summary of the invention
[0003] The present disclosure provides an image-based search processing method, apparatus, device, and storage medium.
[0004] According to a first aspect of the present disclosure, there is provided an image-based search processing method, comprising:
[0005] In response to a triggering operation on a camera entry of a search application, displaying a shooting search interface, and displaying a plurality of function entries in a preset position area of the shooting search interface;
[0006] In response to receiving an image captured based on a first function entry among the multiple function entries, calling a recognition model corresponding to the first function entry to recognize the image, and obtaining a first recognition result of the image;
[0007] The first recognition result of the image is presented on the shooting search interface.
[0008] According to a second aspect of the present disclosure, there is provided an image-based search processing device, comprising:
[0009] A trigger module, configured to display a shooting search interface in response to a trigger operation on a camera entry of a search application, and display multiple function entries in a preset position area of the shooting search interface;
[0010] a recognition module, configured to, in response to receiving an image captured based on a first function entry among the multiple function entries, call a recognition model corresponding to the first function entry to recognize the image, and obtain a first recognition result of the image;
[0011] An output control module is used to present the first recognition result of the image on the shooting search interface.
[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.
[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any method according to the embodiments of the present disclosure.
[0017] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.
[0018] According to the solution disclosed in the present invention, the search efficiency can be improved, and the intelligence and convenience of the search can be enhanced.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0021] Figure 1 This is an illustration of the results of image search using traditional image search products. Figure 1 ;
[0022] Figure 2 This is an illustration of the results of image search using traditional image search products. Figure 2 ;
[0023] Figure 3 This is an illustration of the results of image search using traditional image search products. Figure 3 ;
[0024] Figure 4 is a flowchart of an image-based search processing method according to an embodiment of the present disclosure;
[0025] Figure 5 is a schematic diagram of a home page interface of a search application according to an embodiment of the present disclosure;
[0026] Figure 6 is a schematic diagram of a shooting search interface of a search application according to an embodiment of the present disclosure;
[0027] Figure 7 is a schematic diagram of a process based on image search according to an embodiment of the present disclosure;
[0028] Figure 8 is a schematic diagram of a search result page of a first round of search according to an embodiment of the present disclosure;
[0029] Fig. 9 is a schematic diagram of a first round of search results according to an embodiment of the present disclosure;
[0030] Fig.10 is a schematic diagram of a search result page of a multi-round search according to an embodiment of the present disclosure;
[0031] Fig.11 is a schematic diagram of search results at different times after a photo search according to an embodiment of the present disclosure;
[0032] Fig.12 is a structural schematic diagram of an image-based search processing device according to an embodiment of the present disclosure;
[0033] Fig.13 is a schematic diagram of a scene of image-based search processing according to an embodiment of the present disclosure;
[0034] Fig.14 It is a schematic diagram of the structure of an electronic device used to implement the image-based search processing method of an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0036] The terms "first", "second", "third", etc. in the specification embodiments and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The methods, systems, products, or devices are not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0037] Traditional image search products support users to initiate image retrieval by taking photos / uploading albums, and complete the satisfaction of various image information needs such as similar image matching, translation, and product search. However, these different types of image search functions are independent of each other. When users have more than one type of search needs or are not satisfied with the current search results, they need to exit the current search process, switch the search type, and then initiate a search. For example, when a user takes a photo of an imported product, there are two demands: ① to understand its price, user reviews, etc., which belongs to the demand for identifying the product; ② to translate the foreign language above and understand the usage, ingredients, and other information provided on the packaging. In traditional image search products, users need to switch between two functions and take and scan twice to get the results. If the user has further search needs for some information, it cannot be completed directly in the camera. The user needs to exit the camera, return to the search box on the homepage, and enter the text search term (query) to initiate a text search to meet it. After completing the text search, it is also impossible to return to the camera to view the image recognition results again. You need to enter the camera and re-initiate the search.
[0038] Some image search products have the "image and text search" function to query with a single text description, but they only support simple processing of filtering results. Figure 1 As shown, Figure 1 This is an illustration of the results of image search using traditional image search products. Figure 1 , specifically, Figure 1 (a) is a schematic diagram of the search results after the user took a photo of an eye drops. Figure 1 (b) is a diagram of the search results after the user enters "how about this brand" in the search box. The search results are empty and do not meet the user's needs.
[0039] Some image search products only support a single round of appending text search, such as Figure 2 As shown, Figure 2 This is an illustration of the results of image search using traditional image search products. Figure 2 , specifically, Figure 2 (a) is a diagram of search results after a user takes a photo of a pair of headphones. Figure 2 (b) is a schematic diagram of the search results after clicking the image and text search function. Figure 2 (c) A diagram showing the search results when a user selects text and asks the question “What brand is this?” If the user also wants to ask “How to pair Bluetooth?”, the user needs to delete “What brand is this?” in the search box. At the same time, the search results for “What brand is this?” will no longer be displayed, and the answer to the previous question will not be remembered for context understanding. Figure 2(d) Schematic diagram of search results after a user inputs "Bluetooth pairing method" to initiate a new search. The search content of traditional image search products mainly comes from existing user-generated content (UGC) or professionally produced content (PGC) on the Internet. When faced with personalized and diversified search needs of users, even if text questions are asked, due to the limited search results that can be called up, it can generally only meet the user's demand for "what" of the search subject, while the user's extended needs of "what to do" and "what is the reason" cannot be met.
[0040] Therefore, traditional image search products have at least the following disadvantages:
[0041] Long path for clarifying needs: In terms of search category clarification, the user's regular search path is "based on current needs -> select the corresponding search entry -> take a photo to complete the search". If the user finds that the search results are not satisfactory / wants to switch search needs, they can only exit the search results page, return to the camera page to switch the entry, take a photo again and initiate another round of search. For example, a user took a photo of an English book, selected the "product" entry to search and found the corresponding price. At the same time, the user also hopes to find the meaning of the English word in the picture. At this time, the user can only close the current result page, return to the camera page, switch to the "translation" entry to take a photo again, and find the meaning of the word. The overall operation process path is long and inefficient.
[0042] Search results are single: Figure 3 This is an illustration of the results of image search using traditional image search products. Figure 3 , specifically, Figure 3 As shown in the figure, the image search results only display cognitive search results and similar images, which lacks in content diversity. When users have the need for in-depth browsing, single cognitive results and similar images cannot stimulate and meet user needs. For example, if a user takes a photo of a pair of headphones for search, traditional image search products only display the item information description of the headphones and similar headphones images. However, for users searching for headphones, they may have more personalized needs and needs for details of the headphones, which traditional image search products cannot meet.
[0043] The quality of complex demand results is low: Using images as input alone usually cannot meet users' complex needs. For example, if a user wants to find the breed and feeding method of a cat, the user sends an image of a cat in the search. After finding the breed information, the user needs to return to the text search and further ask "How to care for xx cats" to complete the expression of complex needs and obtain relatively satisfactory search results. For users, the overall demand expression path is long, and it is necessary to switch from image search to text search scenarios to meet them, and the process is relatively cumbersome.
[0044] Because images contain rich information and user needs are hidden behind images, image search is relatively more complicated than text search. Before the inventor proposed this solution, no flexible and highly compatible framework has been found to help users express their needs faster, more completely and more freely.
[0045] In order to at least partially solve one or more of the above-mentioned problems and other potential problems, the present disclosure proposes an image-based search processing method, which integrates multiple function entrances in one search interface, so that image search, demand clarification, extended search, etc. can be completed within one page, which is convenient for users to conduct multiple rounds of clarification / questioning and obtain satisfactory results, improve search efficiency, enhance the intelligence and convenience of search, and thus improve the search experience.
[0046] The disclosed embodiment provides an image-based search processing method, which can be applied to a terminal having an image search function, and supports users to search, recognize, ask questions and make recommendations by taking photos or uploading images. In practical applications, the terminal includes but is not limited to mobile phones, tablet computers, laptop computers, smart screen speakers with cameras, augmented reality (AR) devices, etc. Figure 4 As shown, the image-based search processing method may include:
[0047] S401: In response to a triggering operation on a camera entry of a search application, displaying a shooting search interface, and displaying a plurality of function entries in a preset position area of the shooting search interface;
[0048] S402: In response to receiving an image captured based on a first function entry among the multiple function entries, calling a recognition model corresponding to the first function entry to recognize the image, and obtaining a first recognition result of the image;
[0049] S403: Presenting a first recognition result of the image on the shooting search interface.
[0050] In the disclosed embodiment, a search application client is provided on the terminal, and the search application client supports an image search function. In the search box on the home page of the search application, a camera entry icon is provided. By clicking the camera entry icon, the user can directly take an image and then search for the image. Alternatively, by clicking the camera entry icon, the user can also select an image from the album as the image for search.
[0051] Figure 5 A schematic diagram of the home page interface of the search application is shown, such as Figure 5As shown, a camera entry icon is provided in the search box of the search application. The search application is triggered by clicking the camera entry icon, and the search application displays a shooting search interface.
[0052] In the embodiments of the present disclosure, the preset position can be set or adjusted as needed. For example, the preset position can be located at the bottom of the shooting search interface. For another example, the preset position can be located at the side of the shooting search interface. For another example, the preset position can be located at the top of the shooting search interface. The present disclosure does not limit all possible positions included in the preset position, and no exhaustive list is given here.
[0053] The schematic diagram of the shooting search interface of the search application is as follows Figure 6 As shown. After the user clicks the camera entry icon in the search box of the search application, the terminal presents a shooting search interface. At the bottom of the shooting search interface, there are multiple function entries such as face measurement, product, code scanning, identification of all things, question answering, translation, and text. After the user points the terminal's camera at the desktop computer, the image of the desktop computer is presented in the image editing area of the shooting search interface, and the autofocus icon and the text "Keep stable, automatic recognition is about to begin" are also displayed. At the same time, the shooting search interface also presents a history search button, a shooting button, and an album button. If the user does not select the history search button or the album button within the preset time, the first function entry is determined based on the automatically shot image, and then the recognition model corresponding to the first function entry is called. If the user clicks the shooting button to take a photo, the first function entry is determined based on the image manually shot by the user, and then the recognition model corresponding to the first function entry is called. If the user selects the album button, the search application reads the album picture. After the user selects the image, the first function entry is determined based on the image selected by the user, and then the recognition model corresponding to the first function entry is called. If the user clicks the history search button, the history search record is called, and the user can view the search history. By shooting the search interface, users can intuitively select the functions they need, which improves the targetedness of the search and enhances the intuitiveness of the search.
[0054] In the disclosed embodiment, each function entry corresponds to a function that can search based on an image and can achieve at least one specific requirement, such as a facial recognition function, a product recognition function, a translation function, a recognition function, a text recognition function, etc.
[0055] In the embodiment of the present disclosure, multiple function entrances are function entrances integrated and supported by the search application, and each function entrance is a function that can realize at least one specific requirement based on image search processing, such as face measurement function, product recognition function, translation function, all things recognition function, text recognition function, etc.
[0056] In the disclosed embodiment, different functional entrances correspond to different recognition models. The recognition model can be a pre-trained deep learning model that can accurately recognize objects, text or other information in the image. For example, the functional entrance that meets the face measurement needs can call a recognition model with face measurement capabilities. For example, the functional entrance that meets the commodity recognition needs can call a recognition model with commodity recognition capabilities. For example, the functional entrance that meets the translation needs can call a recognition model with translation capabilities. For example, the functional entrance that meets the question-answering needs can call a recognition model with question-answering capabilities. For example, the functional entrance that meets the commodity query needs can call a recognition model with commodity query capabilities. For example, the functional entrance that meets the high-precision recognition and classification needs of different types of items can call a recognition model with the ability to identify, classify and provide relevant information for objects in the image. When the user selects and triggers the first functional entrance among multiple functional entrances for shooting, the system will call the recognition model corresponding to the functional entrance to recognize the image, obtain the first recognition result of the image, and call the recognition model corresponding to the first functional entrance to recognize the image, which can accurately recognize the information contained in the image and improve the accuracy of the search.
[0057] In the embodiment of the present disclosure, the first function entry may be a system default function entry, such as the "Recognize Everything" function. The "Recognize Everything" function refers to a function that uses artificial intelligence technology and computer vision technology to identify, classify objects in an image and provide relevant information.
[0058] In the disclosed embodiment, the first function entry may also be a function entry that matches the image based on the preliminary recognition of the image. Specifically, the first function entry is that after the user uploads the image, the system will first perform preliminary recognition on the image, and then provide the user with a more specific and relevant function entry based on the preliminary recognition result. For example, when the user uploads an image of a fruit, the system first recognizes that it is an image of a fruit through the "Know Everything" function. Then, based on this preliminary recognition result, the system can provide the user with a function entry related to the fruit, such as: Fruit type recognition: provide more specific fruit type information, such as "this is an apple" or "this is an orange". Nutritional value query: based on the recognized fruit type, provide the nutritional value information of the fruit. Purchase link recommendation: if the user expresses interest in purchasing this fruit, the system can provide nearby merchants or online purchase links. Recipe recommendation: based on the recognized fruit type, recommend recipes or cooking methods related to the fruit. In this way, the system can provide users with more personalized and accurate services based on the actual needs of the user and the content of the image, which not only improves the user experience, but also makes the application functions richer and more diverse.
[0059] When presenting the first recognition result of an image on the shooting search interface, the system can adopt different display methods according to different first recognition results. For example, if the first recognition result is a product, the system can display the detailed information, price, purchase link, etc. of the product; if the first recognition result is a piece of text, the system can display the recognition result, translation, search suggestions, etc. of the text. Such a display method can provide users with rich information and choices, and improve the efficiency and accuracy of search.
[0060] The technical solution of the disclosed embodiment provides an intuitive and convenient image search method for users by displaying a shooting search interface and displaying multiple function entrances in a preset position area of the interface in response to a trigger operation on the camera entrance of the search application, thereby improving the convenience, intuitiveness and accuracy of the search. Since users can directly shoot objects or scenes through the camera without leaving the current application and immediately obtain search results or information related to the shot content, the search efficiency can be improved, and the intelligence and convenience of the search can be enhanced.
[0061] In the embodiment of the present disclosure, the first image recognition result includes the search first card. Preferably, the first image recognition result also includes at least one of the following: a similar image stream card; a supplementary result stream.
[0062] Among them, the search first card includes content that is used to meet the core needs that best match the current image intent. For example, for cognitive needs, the search first card will provide cognitive entity words such as "what is it" and provide knowledge explanatory summaries such as encyclopedias; in specific scenarios, the search first card will also have vertical scene content supplements, such as medicines will provide drug instructions, etc.
[0063] By displaying the first search card in the first image recognition result, the user's core needs for the current image can be met efficiently and quickly.
[0064] Among them, the search for the first card usually has the following characteristics:
[0065] Prominent display: The first search card is usually displayed at the top or in a prominent position on the search results page.
[0066] High relevance: The content in the first search card is highly relevant to the user's search intent.
[0067] Rich information: In addition to the core content that meets the current image intent, the first search card may also contain additional information such as images and sources.
[0068] By displaying the first search card in the first image recognition result, users can quickly be shown the content that best matches their search intent, helping them quickly understand the main content and features of the search results.
[0069] Among them, similar image stream cards refer to the situation in which, in image search, when a user clicks on an image or is interested in the image, the system will display other images similar to the image. These collections of similar images are usually displayed in the form of stream cards, namely similar image stream cards.
[0070] Similar graph flow cards usually have the following characteristics:
[0071] Relevance: The images in the similar image stream card have a high similarity with the images that the user clicked or followed.
[0072] Continuity: Similar image flow cards are usually displayed in the form of sliding or flipping pages, so users can browse multiple similar images continuously.
[0073] Scalability: The system can continuously recommend more similar images based on the user's browsing behavior and interests.
[0074] By displaying similar image stream cards in the first image recognition result, it can meet users' needs for exploring similar images and help users discover more content of interest.
[0075] Among them, the supplementary result stream means that in addition to the direct image search results, the search engine may also display other types of information or content related to the search topic based on the user's search intent and keywords. These contents are usually displayed in the form of a supplementary result stream, which can be called the "big search supplementary result stream."
[0076] Among them, the supplementary result stream usually has the following characteristics:
[0077] Diversity: The supplementary result stream may contain various types of information such as text, video, products, news, etc.
[0078] Relevance: Although not directly displaying an image, this information is still relevant to the user’s search intent.
[0079] Assistive: Supplemental result streams are designed to provide users with a more comprehensive search experience and help users gain a deeper understanding of the search topic.
[0080] By displaying the supplementary result stream in the first image recognition result, the types and dimensions of search results can be enriched, meeting users' diverse search needs and helping to improve search satisfaction.
[0081] In this way, the first image recognition result not only includes the first search card, but also includes at least one of the similar image stream card and the supplementary result stream, which can enrich the content of the search results, enrich the types and dimensions of the search results, meet the diverse search needs of users, help improve search efficiency, and also help improve search satisfaction.
[0082] In an embodiment of the present disclosure, the image-based search processing method may further include: determining at least one second function entry related to the image from the multiple function entries; while presenting the first recognition result on the shooting search interface, displaying the first function entry and the at least one second function entry in the preset position area of the shooting search interface, wherein the number of the second function entry is less than the number of the multiple function entry.
[0083] Here, the second function entrance may provide additional information or services related to the first recognition result. While the first recognition result is presented on the shooting search interface, the system displays the first function entrance and at least one second function entrance in the preset location area, and the user can continue to explore other functions related to the image content without leaving the current interface.
[0084] Wherein, when there are multiple second function entrances, they are arranged in the vicinity of the first function entrance according to the magnitude of the correlation. Here, the vicinity may be one side or both sides or the surroundings.
[0085] For example, if a user searches based on an image of food with a foreign language label, the first function entry may be the "Recognize Everything" function, and the second function entry may include the "Translate" function and the "Commodity" function. Since the "face test" function and the "question answering" function are not very relevant to this search, the second function entry does not include the "face test" function and the "question answering" function. In the second function entry, the "translation" function and the "commodity" function have a greater relevance than the "commodity" function. If the "translation" function and the "commodity" function are arranged on the right side of the "Recognize Everything" function, the "translation" function is closer to the "Recognize Everything" function.
[0086] In this way, determining the second function entry related to the image from multiple function entries and displaying these second function entries simultaneously in the shooting search interface is an efficient and user-friendly display method, which can significantly improve the user experience and performance of the search application. By displaying the function entry directly related to the image content, users can find the required services or information more quickly without switching or searching between multiple functions, thereby improving user efficiency. By only displaying the function entry related to the image, unnecessary interface elements and computing resource consumption can be reduced, and the performance and response speed of the application can be improved. By displaying other function entries related to the current image, users can be encouraged to discover and use other functions in the application, thereby increasing the depth and breadth of application use. By dynamically adjusting the display of the function entry, the interface is made more personalized and in line with the user's current needs and interests. This intelligent interaction method can enhance user satisfaction and loyalty to the application.
[0087] In an embodiment of the present disclosure, the image-based search processing method may further include: before receiving an image taken based on the first function entrance, determining the first function entrance from the multiple function entrances based on whether a selection operation for the multiple function entrances is received within a preset time period.
[0088] In some embodiments, the user starts the camera function of the search application, and the system starts to monitor the user's selection operations on multiple function entrances within a preset time period. These selection operations may include clicks, slides, long presses, voice and other interactive methods. Here, the preset time can be 1 second, 2 seconds, 5 seconds, etc. The specific duration of the preset time is set or adjusted according to needs.
[0089] In some embodiments, if a user frequently selects or specifically selects a certain function entry within a preset time period, the system identifies the function entry as the user's preference or frequently used function, and determines it as the first function entry. Here, the preset time can be one day, two days, or one week, etc., and the specific duration of the preset time is set or adjusted according to demand. Function entrances that users frequently use will be displayed first, reducing the user's operating costs and search time. If there is no obvious user selection preference, the system can determine the first function entrance based on default settings or historical data or the current image. This intelligent recommendation method can help users discover new functions and services, and increase the depth and breadth of application usage.
[0090] In some implementations, when a selection operation is received for any of the multiple function entrances within a preset time, the selected function entrance is determined as the first function entrance. The user's selection operation within the preset time period is recorded and analyzed in real time, and the system can quickly determine the first function entrance, thereby improving search efficiency.
[0091] In this way, determining the first function entrance according to the user's selection operation for multiple function entrances within a preset time period is an efficient and user-friendly interaction method. Based on the user's behavior and the selection operation within the preset time period, the strategy of dynamically determining the first function entrance can provide users with a more personalized and efficient search experience. Users do not need to switch or search between multiple function entrances, which improves the convenience of operation. Determining the first function entrance according to the user's selection operation can reduce unnecessary computing resource consumption and interface element display. The system can more accurately meet the needs of users and improve resource utilization efficiency.
[0092] In an embodiment of the present disclosure, the image-based search processing method may also include: in response to receiving an operation of switching from the first function entrance to any second function entrance, calling the recognition model corresponding to the second function entrance to recognize the image to obtain a second recognition result of the image; and presenting the second recognition result of the image on the shooting search interface.
[0093] In some embodiments, during the shooting search process, the user can switch from the current first function entrance to any second function entrance through specific operations such as clicking, sliding, voice, etc. In response to the user's switching operation, the system identifies and determines the new function entrance selected by the user, that is, the second function entrance.
[0094] In some embodiments, according to the second function entry selected by the user, the system calls the recognition model corresponding to the second function entry, and the system uses the recognition model corresponding to the second function entry to recognize the previously captured image. Here, the recognition process may include steps such as feature extraction, classification, and labeling to generate a recognition result related to the second function entry.
[0095] For example, if a user takes an image of a piece of clothing with a foreign language label based on the "Know Everything" function, the "Know Everything" function gives the brand and price of the clothing. If the user wants to know the Chinese meaning of the foreign language on the clothing, he can directly switch to the "Translate" function at the bottom to get the translation result; then if the user wants to extract the text inside, he can directly switch to the "Text" function to extract the text inside. During the entire switching operation, there is no need to "return to the camera page, reselect, and re-initiate", which greatly shortens the search path, makes user search operations simpler and more convenient, and improves search efficiency.
[0096] In this way, image-based search further enriches the way users interact with search applications by introducing a mechanism for switching function entrances, providing a more flexible and diverse search experience. It supports users to dynamically switch function entrances during the search process according to actual needs, greatly enhancing the flexibility of the search method. Users can easily try different search methods to obtain more comprehensive and accurate search results. By calling the recognition model corresponding to the second function entrance, the system can perform more accurate image recognition for specific search needs, which helps reduce misidentification and improve the accuracy and relevance of search results.
[0097] In an embodiment of the present disclosure, the image-based search processing method may also include: determining at least one third function entry related to the image from multiple function entries; while presenting the second recognition result on the shooting search interface, displaying the second function entry and the at least one third function entry in the preset position area of the shooting search interface.
[0098] Here, the third function entrance may come from the function entrance presented in the shooting search interface before switching.
[0099] Here, the third function entrance may also come from a function entrance that was not presented in the shooting search interface before switching.
[0100] In some embodiments, after calling the recognition model corresponding to the second function entry to recognize the image and obtaining the second recognition result, the system further analyzes the content of the image according to the second recognition result. According to the analysis result, at least one third function entry related to the current image content is determined from the multiple function entries. These third function entries may provide further information or services related to the second recognition result.
[0101] In some embodiments, while the second recognition result is presented on the shooting search interface, the system displays the second function entrance and at least one third function entrance in the preset location area. Through such a layout, the user can intuitively see the currently used search function and other functions related to it, which facilitates the user to conduct further searches or operations. Displaying the relevant third function entrance while displaying the second recognition result can stimulate the user's curiosity, promote the user's exploration and use of other functions in the application, and promote function exploration.
[0102] Although the search application supports multiple functions, for the image currently searched by the user, the shooting search interface may not present all the function buttons, but some of the function buttons, and the order of these function buttons can be sorted according to the relevance of the intention. This part of the function can be a function that implements any intention, or it can be a function that inspires or stimulates the user. For example, when a user takes a photo of a celebrity, the user's intention may be to identify the person, find a picture, or identify the same style as the celebrity, and the face test function as a stimulating function can also be presented in the shooting search interface.
[0103] In this way, when using an image-based search processing method, the convenience and intelligence of image-based search are improved by dynamically displaying multiple function entrances related to the current image content. By displaying multiple function entrances related to the current image content, users can quickly access related functions without leaving the current interface, reducing the number of interface switching times and improving search efficiency. By dynamically displaying related function entrances, the user interface is made more intuitive and easy to understand, and users can find the required functions without guessing or searching, which improves the user experience. Automatically recommending related function entrances based on image content reflects the intelligence and personalization of search applications, which can help users discover new functions and services and increase the depth and breadth of application usage.
[0104] In the disclosed embodiment, calling the recognition model corresponding to the second function entrance to recognize the image to obtain a second recognition result of the image may include: the recognition model corresponding to the second function entrance obtains the image from the database of the first function entrance, and recognizes the image to obtain the second recognition result of the image; wherein different function entrances correspond to different databases, and the second function entrance has the authority to access the database corresponding to the first function entrance.
[0105] In some embodiments, the system sets up independent databases for different function entrances to store image data related to the function entrances. These databases may contain different types of images, labels, features and other information. When the user switches from the first function entrance to the second function entrance, the recognition model corresponding to the second function entrance is activated. The recognition model has the authority to access the database corresponding to the first function entrance, and can obtain images previously uploaded or processed by the user from the database.
[0106] In some embodiments, the recognition model uses the image obtained from the first function entry database as input to perform recognition operations such as feature extraction, classification, and labeling. Through analysis and processing, the model obtains a second recognition result related to the second function entry.
[0107] In this way, by allowing the recognition models of different functional entrances to access the corresponding databases, the existing image data can be used more flexibly. When users switch between different functional entrances, there is no need to repeatedly upload or process the same image, which improves the consistency and fluency of the search process, thereby improving the accuracy and efficiency of image recognition. By accessing the database of the first functional entrance, the recognition model of the second functional entrance can obtain more background information or context data related to the image, which helps to make full use of the existing image data and improve the accuracy and efficiency of image recognition.
[0108] In the disclosed embodiment, calling the recognition model corresponding to the second function entrance to recognize the image to obtain a second recognition result of the image may include: the recognition model corresponding to the second function entrance obtains the image from a public database, and recognizes the image to obtain the second recognition result of the image; wherein the public database stores images taken by different function entrances at different times, and different function entrances have the authority to access the public database.
[0109] In some embodiments, the system sets up a public database for storing images taken at different times by different function entrances. This public database can be shared and accessed by multiple function entrances. When a user takes an image through a certain function entrance, the image will be stored in the public database and marked with information such as the corresponding function entrance and timestamp.
[0110] In some embodiments, when the user switches from the first function entry to the second function entry and triggers a recognition request for a previously captured image, the recognition model corresponding to the second function entry is activated. The recognition model has permission to access a public database and can obtain the image previously captured by the user from the public database.
[0111] In some embodiments, the recognition model uses images obtained from a public database as input to perform recognition operations such as feature extraction, classification, and labeling. Through analysis and processing, the model obtains a second recognition result related to the second functional entry.
[0112] In this way, the public database allows different function portals to share and reuse image data, avoiding the need for users to repeatedly upload or process the same image when switching between different function portals, thus improving search efficiency. By centrally storing and managing image data, users can switch between different function portals more easily while maintaining access to previously captured images, more accurately understand image content, and improve recognition accuracy.
[0113] In the embodiment of the present disclosure, before the shooting search interface presents the second recognition result of the image, the following method may be further included:
[0114] In combination with the first recognition result, the second recognition result of the image obtained by the recognition model corresponding to the second function entry is enhanced to obtain the second recognition result for presentation.
[0115] In some embodiments, before the user switches to the second function entrance, the system has already recognized the image through the recognition model corresponding to the first function entrance and obtained the first recognition result. When the user switches to the second function entrance, the system calls the recognition model corresponding to the entrance to recognize the image and obtain the second recognition result.
[0116] In some embodiments, the enhancement processing is performed in combination with the first recognition result, including: before presenting the second recognition result, the system uses the first recognition result as reference information to enhance the second recognition result.
[0117] Here, the enhancement processing may include but is not limited to the following:
[0118] Verification: Use the first recognition result to verify the accuracy of the second recognition result and correct any inconsistent or erroneous parts.
[0119] Supplement: If some information is missing in the second recognition result, it can be supplemented with relevant information in the first recognition result.
[0120] Sorting or priority adjustment: Adjust the sorting or priority of each item of information in the search results based on the relevance between the first recognition result and the second recognition result.
[0121] By enhancing the second recognition result in combination with the first recognition result, errors or inconsistencies in the second recognition result can be verified and corrected, thereby improving the accuracy of the search results. By supplementing the second recognition result with relevant information in the first recognition result, the amount of information in the search results can be increased, providing users with more comprehensive and detailed information. By adjusting the order or priority of the search results based on the relevance of the first recognition result and the second recognition result, information that is more relevant to user needs can be more prominent, optimizing the display of search results. By improving the accuracy and richness of search results, as well as optimizing the display of search results, satisfaction and experience during search can be improved.
[0122] In this way, before the shooting search interface presents the second recognition result of the image, the second recognition result is enhanced in combination with the first recognition result, so as to further improve the quality and accuracy of the search results and provide users with more accurate, comprehensive and useful search results.
[0123] In the embodiment of the present disclosure, calling the recognition model corresponding to the first function entry to recognize the image may include:
[0124] In the case where there are multiple candidate recognition models corresponding to the first function entry, based on the category of the elements included in the image, a candidate recognition model that is compatible with the category is selected from the multiple candidate recognition models as the recognition model corresponding to the first function entry.
[0125] Here, different candidate recognition models may excel at processing different types of images.
[0126] In some embodiments, the system predefines one or more candidate recognition models for the first function entry, which are applicable to different image categories or scenes. Before recognizing an image, the system first identifies the main elements contained in the image and their categories by using a pre-trained classifier or model that can identify the key elements in the image and label them with categories.
[0127] In some embodiments, according to the category of the element in the image, the system selects the best matching model from the set of candidate recognition models corresponding to the first function entry. This selection process can match the image element category with the candidate recognition model based on a preset mapping rule or algorithm. Once the best matching recognition model is selected, the system will call the model to perform detailed recognition operations on the image to obtain a first recognition result. By selecting the recognition model that best matches the image element category, the accuracy of the recognition can be ensured. Selecting the best matching recognition model can avoid unnecessary waste of computing resources.
[0128] In this way, by selecting the most matching recognition model for recognition according to the category of the image element, the accuracy and efficiency of the image-based search processing method can be significantly improved, while optimizing resource utilization and improving user experience.
[0129] In the disclosed embodiment, calling the recognition model corresponding to the first function entry to recognize the image may include: determining the original intent corresponding to the image; and obtaining the first recognition result corresponding to the image under the original intent through the recognition model corresponding to the first function entry.
[0130] In some embodiments, the original intent may be one or more specific tasks or requirements, such as identifying objects in an image, detecting anomalies in an image, searching for information related to an image, etc.
[0131] In some embodiments, determining the original intent of an image includes: after a user uploads or selects an image, analyzing the content of the image to determine the original intent of the user. This can be achieved through a variety of technical means, such as image classification, object detection, scene recognition, etc.
[0132] In some embodiments, based on the determined original intent, the system selects the best matching model from the set of recognition models corresponding to the first function entry. Each recognition model may be trained and optimized for a specific intent or task, so selecting an appropriate model can ensure the accuracy and efficiency of the recognition results. Once the best matching recognition model is selected, the system calls the model to perform detailed recognition operations on the image. This may include steps such as feature extraction, classification, and annotation, depending on the function of the recognition model and the training data. Different recognition models may be suitable for different intents or tasks, so selecting an appropriate model can significantly improve the accuracy of recognition.
[0133] In this way, when calling the recognition model corresponding to the first function entry to recognize the image, the original intent of the image is first determined, and the corresponding recognition model is called according to the intent, which can ensure that the recognition result is more in line with the user's needs and expectations. By determining the original intent of the image and selecting the most matching recognition model for recognition, the accuracy and efficiency of image-based search can be significantly improved, while optimizing resource utilization and improving the user search experience.
[0134] In the disclosed embodiment, the image-based search processing method may further include: determining the potential intent corresponding to the image based on the original intent; and obtaining the first recognition result corresponding to the image under the potential intent through the recognition model corresponding to the first function entry.
[0135] In some implementations, the system performs a preliminary analysis of images uploaded by users through techniques such as image classification and object detection to identify the main content of the images and the possible original intentions of the users.
[0136] In some implementations, after determining the original intent, the system further mines the image for potential intent.
[0137] In some implementations, latent intent is an intent that is not explicitly expressed by the user but is inferred based on the image content and the original intent.
[0138] The determination of potential intent can be achieved through a variety of methods, such as association analysis based on image content, mining of user historical behavior, natural language processing, etc. The system may infer potential intent based on certain features of the image (such as color, texture, shape, etc.) or text information related to the image (such as title, tags, description, etc.). By mining the potential intent of the image, the system can expand the search scope for users and provide more information and resources related to the original intent. This helps users discover new points of interest or needs, thereby further enriching the user experience.
[0139] In some embodiments, after determining the original intent and the latent intent, the best matching model is selected from the set of recognition models corresponding to the first function entry. The "best match" here not only refers to matching the original intent, but also matching the latent intent. When selecting a model, the system may take into account multiple factors, such as the accuracy, efficiency, and applicability of the model. If a model performs well under both the original intent and the latent intent, it will be given priority. By considering the original intent and the latent intent of the image, the system can understand the user's needs more comprehensively, thereby providing more accurate recognition results, which helps to improve the user's search efficiency and satisfaction. When the system can accurately identify the user's original intent and latent intent, it can provide users with more personalized and accurate services.
[0140] In this way, by comprehensively considering the original intent and potential intent of the image and calling the most matching recognition model for recognition accordingly, the accuracy and efficiency of the image-based search processing method can be significantly improved, enhancing the user search experience and satisfaction.
[0141] In an embodiment of the present disclosure, the image-based search processing method may further include: displaying at least a partial area of the image in a first area of the shooting search page; and displaying the first image recognition result of the image in a second area of the shooting search page.
[0142] In some embodiments, the first area is used to display the image editing area of the image, such as the first area is the upper half of the shooting search page. The first area can display the image in its entirety, or it can be a zoomed, cropped, or scrolled display of the image so that the user can clearly see the content of the image.
[0143] In some embodiments, the second area is used to display search result information of the image, such as the second area is the lower half of the shooting search page. These results may include text descriptions, tags, similar images, related products, links, etc. related to the image content.
[0144] Here, the display method of image recognition results can be customized according to specific application scenarios and user needs. For example, different layout methods such as lists, grids, cards, etc., as well as different colors, fonts, and icons can be used to distinguish different result types.
[0145] In this way, by dividing the shooting search page into different areas to display partial areas of the image and image recognition results respectively, a more intuitive way of displaying search results is provided, which can provide users with a more intuitive, efficient and personalized search experience.
[0146] In the disclosed embodiment, the image-based search processing method may further include: in response to receiving a trigger operation of a preset button on the shooting search page, entering a full-screen intelligent dialogue window; in response to receiving follow-up information in the input box of the full-screen intelligent dialogue window, contextually associating the search history of the image, combining the associated contextual information, and using a large model to conduct a dialogue related to the follow-up information.
[0147] In some embodiments, triggering the full-screen smart dialogue window includes: when the user completes the image search on the shooting search page, the system will provide a preset button on the page (for example, the preset button can be called "Smart Dialogue" or "More Information" or "AI Continues Asking", etc.). The user can trigger the display of the full-screen smart dialogue window by clicking this button.
[0148] In some embodiments, once the user triggers the preset button, the system will immediately respond and enter a full-screen smart dialogue window, which will cover the entire screen and provide a clear, non-intrusive dialogue interface. The full-screen smart dialogue window provides users with an intuitive and concise interactive interface, allowing users to interact with the system more conveniently.
[0149] In some embodiments, in the input box of the full-screen intelligent dialogue window, the user can enter his or her own follow-up information or further questions. The system will receive these inputs in real time and process them. When processing the follow-up information, the system will contextualize it with the previous image search history. This means that the system will analyze the user's previous search behavior, query intent, and image content to build a complete context environment.
[0150] In some embodiments, in combination with the associated context information, the system uses a large model (such as a pre-trained deep learning model) to conduct a conversation related to the follow-up information. The large model can deeply understand the user's intention and generate natural and fluent responses, thereby providing users with more intelligent and personalized services.
[0151] For example, after a user takes a photo to search through the camera portal, if the user further searches for text, the user does not need to "close the camera, then return to the text search box, enter a word in the text, and then initiate the search". Instead, the user can automatically enter a multi-round dialogue framework by pulling up or triggering a preset button. The entire operation process is simple and natural. Since the search path is greatly reduced, it helps improve search efficiency.
[0152] In this way, by introducing the function of the full-screen intelligent dialogue window, the full-screen intelligent dialogue window allows users to interact with the system through natural language, without having to re-enter complex query statements, improving the efficiency and convenience of search, and saving users' time and energy. Using the large model to support multi-round dialogue capabilities, users can ask multiple questions or follow-up questions in a single conversation, and the system will give coherent and consistent responses based on contextual information. This multi-round dialogue capability enables the system to better understand the user's intentions and needs and provide more comprehensive and in-depth services.
[0153] In the embodiment of the present disclosure, before receiving the follow-up information in the input box of the full-screen intelligent dialogue window, the method may also include: displaying guidance information in the full-screen intelligent dialogue window; in response to receiving a response operation to the guidance information, outputting the search result of the image corresponding to the guidance information.
[0154] In some embodiments, the guidance information may be a series of suggested queries, FAQs, or dialogue prompts related to the image content. By displaying the guidance information, the system can provide the user with a clear search direction and ideas, which helps the user to understand how to interact with the system more quickly and ask more clear and targeted questions.
[0155] In some embodiments, when the user triggers and enters the full-screen smart dialogue window, the system will display guidance information in a prominent position of the window.
[0156] In some embodiments, the user can browse the guidance information in the full-screen intelligent dialogue window and select one or more of them as a response. This response operation can be clicking, selecting, or inputting keywords related to the guidance information.
[0157] In some embodiments, the system receives response operations to the guidance information, receives these response operations in real time, and identifies the user's selection and intention. Through the response operation of the guidance information, the system can immediately output the search results corresponding to the guidance information, avoiding the need for users to manually enter complex query statements or browse a large number of irrelevant search results, thereby improving the efficiency and accuracy of the search. Through the setting and response processing of the guidance information, the system can better understand the user's intentions and needs. This helps the system provide more personalized, accurate and intelligent services, and enhances the user's trust and satisfaction with the system. The combination of the full-screen intelligent dialogue window and the guidance information provides users with a more intuitive, convenient and intelligent search experience. Users can quickly obtain useful information related to the image through simple interactive operations.
[0158] In this way, by displaying guidance information in a full-screen intelligent dialogue window and responding to operations on this information, users are provided with more clear and targeted search guidance, which enhances the intelligence of the system and improves the efficiency and accuracy of the search.
[0159] The image-based search of the disclosed embodiment includes two parts: the first round search and multiple rounds of search. In the first round of search, by switching the search requirement button at the bottom (each button represents a function entry), the search type can be clarified in real time and a new round of search can be initiated in real time. In multiple rounds of search, multiple rounds of dialogue are supported, and context association is performed in combination with the first round of image search history, and a natural language dialogue with the user containing the information of the image search results of this round is conducted using large model technology.
[0160] The process diagram based on image search is as follows Figure 7 As shown, the search process includes:
[0161] S701: User uploads an image;
[0162] S702: Determine the intention of the image, and then proceed to S703a or S703b according to the determination result;
[0163] S703a: If the intention determination result is to scan the code, execute S704;
[0164] S703b: If the intention determination result is non-scanning code, such as face detection, product identification, all things identification, question answering, translation, text, etc., then identify the user intention based on the image information, perform a search, and then execute S705;
[0165] S704: Determine whether it is a specific type of code, if not, execute S705; if yes, execute S706; here, the specific type of code can be a QR code or bar code that is preset by the system and can be successfully recognized.
[0166] S705: calling the search result page; here, the search result page includes the search first card, similar flow cards and supplementary result flow, and then executing S707;
[0167] S706: Enter the scan code result page and end the process;
[0168] S707: Whether the user's needs are met, if not, execute S708; if yes, execute S709;
[0169] S708: The user switches the subject or searches for a vertical category, and then returns to S702;
[0170] Here, users can switch the subject in the image by re-anchoring or selecting a frame. Users can switch search vertical categories by switching the search requirement button.
[0171] S709: the user initiates a follow-up question, enters a multi-round interaction framework, and then executes S710;
[0172] S710: Multiple rounds of dialogue.
[0173] In the interaction process, the first round of search displays half-screen results, supporting users to flexibly switch intentions. Figure 8 is a schematic diagram of a search result page of a first round of search according to an embodiment of the present disclosure. Specifically, Figure 8 (a) shows the first round of search results displayed in half screen, that is, the image editing area and the search result information can be compared, where the image in the image editing area supports free selection, such as cropping, resizing, etc.; Figure 8 (b) shows that when the search object includes multiple subjects, the search results corresponding to any subject can be switched at will; Figure 8 (c) shows a schematic diagram of switching multiple subject anchor points when the image editing area includes multiple subjects.
[0174] In the interactive process, the first round of search supports directly switching the search type by sliding the bottom button.
[0175] In the interactive process, the search results of the first round of search include the first search card, similar image stream cards, and supplementary result streams, which meet the user's main demand for "what is the image" and stimulate the user's potential needs through the supplementary result stream, enriching the diversity of search result content. Fig. 9 is a schematic diagram of the first round of search results according to an embodiment of the present disclosure. Specifically, Fig. 9 (a) shows a schematic diagram of searching for the first card, Fig. 9 (b) shows a schematic diagram of a similarity graph flow card. Fig. 9 (c) shows a schematic diagram of the supplementary result flow. After the user initiates a search, if the subject of the intelligent positioning does not meet the user's intention, the user can directly select the target subject in the image, click on the anchor point, switch the subject, etc.; if the search results are not satisfactory and other types of searches need to be initiated, the search results page can be switched.
[0176] In the interactive process, multi-round search is displayed in full screen to meet the user's in-depth browsing needs. Users can swipe up to directly enter the in-depth browsing full screen state, and the interaction is smoother. The multi-round search full screen page can include the image information uploaded in this round of search, image search results and multi-round conversation records. When users have extended questions, they can directly enter text to ask questions in the search box at the bottom. Fig.10 is a schematic diagram of a search result page of a multi-round search according to an embodiment of the present disclosure. Specifically, Fig.10 (a) shows a full-screen page schematic diagram of multiple rounds of search, Fig.10 (b) shows a schematic diagram of the full-screen page after directly entering text to ask a question in the search box.
[0177] For example, based on image search, users may have the following requirements:
[0178] 1. Image recognition information query: After a user takes a photo of a health product and initiates an image search, the recognition function at this time meets the user's needs for "basic information such as product name, brand, ingredients, etc."
[0179] 2. Multi-intention switching: When the user wants to translate the text on the package, they can directly slide the search type at the bottom and switch to "Translate" to complete the image translation directly.
[0180] 3. Personalized follow-up questions: After querying the current health product information, users may have personalized follow-up questions (such as asking whether patients with gallstones can eat it, and whether they will not be able to sleep at night if they take it). At this time, users are supported to swipe up directly, and a search box will appear at the bottom, and they can directly complete the follow-up questions based on the image.
[0181] Fig.111 is a schematic diagram of search results at different times after a photo search according to an embodiment of the present disclosure. Specifically, Fig.11 (a) shows a schematic diagram of the search results at the first moment after taking a photo to search for a certain food; if the user's current demand is changed to "translate the product packaging text", then just click the button presented at the bottom of the search results page to trigger the "Translate" button. Fig.11 (b) shows a schematic diagram of search results at the second moment after a photo search for a food is performed, such as Fig.11 (b) It can be seen that the translation result is directly displayed at the corresponding position in the photo in the image editing area, which is convenient for users to understand the food. If the user's demand changes to "Can patients with gallstones eat it?", the "AI continues to ask" button is triggered or the current search result page is swiped up and "Can patients with gallstones eat it?" is entered in the search box. Fig.11 (c) shows a schematic diagram of search results at the third moment after a photo search for a certain food; if the user's demand is changed to "Can patients with gallstones eat this?", then "Will I be unable to sleep if I eat this at night?" is entered in the search box. Fig.11 (d) shows a schematic diagram of the search results at the fourth moment after taking a photo to search for a certain food. Users can enter the multi-round interaction framework by swiping up or triggering "AI continues to ask", which is simple and convenient; the new multi-round interaction framework integrates visual search and multi-round dialogue, and can complete image search, demand clarification, extended search, etc. on one page, making it convenient for users to conduct multiple rounds of clarification and follow-up questions to obtain satisfactory results; the support of the big model enables multi-round search to not only retrieve existing information on the Internet, but also integrate and form generative personalized results to meet the complex needs of users.
[0182] The present disclosure provides an image-based search processing device, which is applied to a terminal, such as Fig.12 As shown, a trigger module 1201 is used to display a shooting search interface in response to a trigger operation on a camera entry of a search application, and to display multiple function entries in a preset position area of the shooting search interface; a recognition module 1202 is used to respond to receiving an image shot based on a first function entry among the multiple function entries, call a recognition model corresponding to the first function entry to recognize the image, and obtain a first recognition result of the image; an output control module 1203 is used to present the first recognition result of the image in the shooting search interface.
[0183] In some embodiments, the image-based search processing device further includes: a first determination module 1204 ( Fig.12The output control module 1203 is further configured to display the first function entry and the at least one second function entry in the preset position area of the shooting search interface while presenting the first recognition result in the shooting search interface, wherein the number of the second function entry is less than the number of the multiple function entry.
[0184] In some embodiments, the image-based search processing device further includes: a second determination module 1205 ( Fig.12 ), which is not shown in the figure, and is used to determine the first function entrance from the multiple function entrances based on whether a selection operation for the multiple function entrances is received within a preset time period before receiving an image captured based on the first function entrance.
[0185] In some embodiments, the recognition module 1202 is also used to respond to receiving an operation of switching from the first function entrance to any second function entrance, call the recognition model corresponding to the second function entrance to recognize the image, and obtain a second recognition result of the image; the output control module 1203 is also used to present the second recognition result of the image on the shooting search interface.
[0186] In some embodiments, the image-based search processing device further includes: a third determination module 1206 ( Fig.12 The output control module 1203 is further configured to display the second function entry and the at least one third function entry in the preset position area of the shooting search interface while presenting the second recognition result in the shooting search interface.
[0187] In some embodiments, the recognition module 1202 is also used to: control the recognition model corresponding to the second function entrance to obtain the image from the database of the first function entrance, and recognize the image to obtain a second recognition result of the image; wherein different function entrances correspond to different databases, and the second function entrance has the authority to access the database corresponding to the first function entrance.
[0188] In some embodiments, the recognition module 1202 is also used to: control the recognition model corresponding to the second function entrance to obtain the image from a public database, and recognize the image to obtain a second recognition result of the image; wherein the public database stores images taken by different function entrances at different times, and different function entrances have the authority to access the public database.
[0189] In some embodiments, the recognition module 1202 is also used to: before presenting the second recognition result of the image on the shooting search interface, enhance the second recognition result of the image obtained by the recognition model corresponding to the second function entrance in combination with the first recognition result to obtain the second recognition result for presentation.
[0190] In some embodiments, the recognition module 1202 is also used to: when there are multiple candidate recognition models corresponding to the first function entry, based on the category of the elements included in the image, select a candidate recognition model that is compatible with the category from the multiple candidate recognition models as the recognition model corresponding to the first function entry.
[0191] In some embodiments, the recognition module 1202 is further used to: determine the original intent corresponding to the image; and obtain the first recognition result corresponding to the image under the original intent through the recognition model corresponding to the first function entry.
[0192] In some embodiments, the recognition module 1202 is also used to: determine the potential intention corresponding to the image based on the original intention; and obtain the first recognition result corresponding to the image under the potential intention through the recognition model corresponding to the first function entrance.
[0193] In some embodiments, the output control module 1203 is further used to: display at least a portion of the image in the first area of the shooting search page; and display the first image recognition result of the image in the second area of the shooting search page.
[0194] In some embodiments, the first image recognition result includes a search first card; the first image recognition result also includes at least one of the following: a similar image stream card; a supplementary result stream.
[0195] In some embodiments, the output control module 1203 is also used to: enter a full-screen intelligent dialogue window in response to receiving a trigger operation of a preset button on the shooting search page; in response to receiving follow-up information in the input box of the full-screen intelligent dialogue window, contextually associate the search history of the image, and use a large model to conduct a dialogue related to the follow-up information in combination with the associated contextual information.
[0196] In some embodiments, the output control module 1203 is further used to: display guidance information in the full-screen intelligent dialogue window; and in response to receiving a response operation to the guidance information, output a search result of the image corresponding to the guidance information.
[0197] Those skilled in the art should understand that the functions of each processing module in the image-based search processing device of the embodiment of the present disclosure can be understood with reference to the relevant description of the aforementioned image-based search processing method, and each processing module in the image-based search processing device of the embodiment of the present disclosure can be realized by a generation circuit that realizes the function of the embodiment of the present disclosure, and can also be realized by running software that executes the function of the embodiment of the present disclosure on an electronic device.
[0198] For the description of specific functions and examples of each module and submodule of the device in the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.
[0199] The image-based search processing device of the disclosed embodiment can support image search, demand clarification, extended search, etc. within one page, thereby improving the efficiency of the search and also improving the intelligence and convenience of the search.
[0200] The present disclosure provides a scene diagram of an image-based search processing method, such as Fig.13 As mentioned above, the image-based search processing method provided by the embodiment of the present disclosure is applied to an electronic device.
[0201] Specifically, the electronic device can perform the following operations:
[0202] In response to a triggering operation on a camera entry of a search application, displaying a shooting search interface, and displaying a plurality of function entries in a preset position area of the shooting search interface;
[0203] In response to receiving an image captured based on a first function entry among the multiple function entries, calling a recognition model corresponding to the first function entry to recognize the image, and obtaining a first recognition result of the image;
[0204] presenting the first recognition result of the image on the shooting search interface; displaying the first function entrance and at least one second function entrance in the preset position area of the shooting search interface;
[0205] In response to receiving an operation of switching from the first function entrance to any second function entrance, calling a recognition model corresponding to the second function entrance to recognize the image, and obtaining a second recognition result of the image;
[0206] The second recognition result of the image is presented on the shooting search interface.
[0207] It should be understood that Fig.13 The scene diagram shown is only illustrative and not restrictive. Those skilled in the art can Fig.13Various obvious changes and / or substitutions can be made to the examples, and the resulting technical solutions still fall within the scope of the disclosure of the embodiments of the present disclosure.
[0208] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0209] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0210] Fig.14 A schematic block diagram of an example electronic device 1400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0211] like Fig.14 As shown, the device 1400 includes a computing unit 1401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1402 or a computer program loaded from a storage unit 1408 to a random access memory (RAM) 1403. In RAM 1403, various programs and data required for the operation of the device 1400 can also be stored. The computing unit 1401, ROM 1402, and RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.
[0212] A number of components in the device 1400 are connected to the I / O interface 1405, including: an input unit 1406, such as a keyboard, a mouse, etc.; an output unit 1407, such as various types of displays, speakers, etc.; a storage unit 1408, such as a disk, an optical disk, etc.; and a communication unit 1409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1409 allows the device 1400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0213] The computing unit 1401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1401 performs the various methods and processes described above, such as image-based search processing methods. For example, in some embodiments, the image-based search processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1400 via the ROM 1402 and / or the communication unit 1409. When the computer program is loaded into the RAM 1403 and executed by the computing unit 1401, one or more steps of the image-based search processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1401 may be configured to perform the image-based search processing method in any other appropriate manner (eg, by means of firmware).
[0214] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0215] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0216] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0217] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0218] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
[0219] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0220] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0221] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A search processing method based on an image, include: In response to a triggering operation on a camera entry of a search application, displaying a shooting search interface, and displaying a plurality of function entries in a preset position area of the shooting search interface; In response to receiving an image captured based on a first function entry among the multiple function entries, calling a recognition model corresponding to the first function entry to recognize the image, and obtaining a first recognition result of the image; The first recognition result of the image is presented on the shooting search interface.
2. The method according to claim 1, further comprising: include: determining at least one second function entry related to the image from the plurality of function entries; While presenting the first recognition result on the shooting search interface, the first function entrance and the at least one second function entrance are displayed in the preset position area of the shooting search interface, wherein the number of the second function entrances is less than the number of the multiple function entrances.
3. The method according to claim 1, further comprising: include: Before receiving the image shot based on the first function entrance, the first function entrance is determined from the multiple function entrances according to whether a selection operation for the multiple function entrances is received within a preset time period.
4. The method according to claim 1, further comprising: include: In response to receiving an operation of switching from the first function entrance to any second function entrance, calling a recognition model corresponding to the second function entrance to recognize the image, and obtaining a second recognition result of the image; The second recognition result of the image is presented on the shooting search interface.
5. The method according to claim 4, further comprising: include: determining at least one third function entry related to the image from the plurality of function entries; While the second recognition result is presented on the shooting search interface, the second function entrance and the at least one third function entrance are displayed in the preset position area of the shooting search interface.
6. The method according to claim 4, in, The calling of the recognition model corresponding to the second function entry to recognize the image to obtain a second recognition result of the image includes: The recognition model corresponding to the second function entrance obtains the image from the database of the first function entrance, and recognizes the image to obtain a second recognition result of the image; wherein different function entrances correspond to different databases, and the second function entrance has the authority to access the database corresponding to the first function entrance.
7. The method according to claim 4, in, The calling of the recognition model corresponding to the second function entry to recognize the image to obtain a second recognition result of the image includes: The recognition model corresponding to the second function entry obtains the image from a public database, and recognizes the image to obtain a second recognition result of the image; The public database stores images taken by different function entrances at different times, and different function entrances have the authority to access the public database.
8. The method according to claim 4, in, Before the shooting search interface presents the second recognition result of the image, the method further includes: In combination with the first recognition result, the second recognition result of the image obtained by the recognition model corresponding to the second function entry is enhanced to obtain the second recognition result for presentation.
9. The method according to claim 1, in, The calling of the recognition model corresponding to the first function entry to recognize the image includes: In the case where there are multiple candidate recognition models corresponding to the first function entry, based on the category of the elements included in the image, a candidate recognition model that is compatible with the category is selected from the multiple candidate recognition models as the recognition model corresponding to the first function entry.
10. The method according to claim 1, in, The calling of the recognition model corresponding to the first function entry to recognize the image includes: determining an original intent corresponding to the image; The first recognition result corresponding to the image under the original intention is obtained through the recognition model corresponding to the first function entrance.
11. The method according to claim 10, further comprising: include: Determining a potential intent corresponding to the image based on the original intent; The first recognition result corresponding to the image under the potential intention is obtained through the recognition model corresponding to the first function entrance.
12. The method according to claim 1, further comprising: include: Displaying at least a portion of the image in a first area of the shooting search page; The first image recognition result of the image is displayed in the second area of the shooting search page.
13. The method according to claim 1, in, The first image recognition result includes the searched first card; The first image recognition result further includes at least one of the following: Similar picture flow card; Supplement the result stream.
14. The method according to claim 1 or 4, further comprising: include: In response to receiving a trigger operation of a preset button on the shooting search page, entering a full-screen intelligent dialogue window; In response to receiving the follow-up information in the input box of the full-screen intelligent dialogue window, context association is performed on the search history of the image, and a dialogue related to the follow-up information is conducted using a large model in combination with the associated context information.
15. The method according to claim 14, in, Before receiving the follow-up question information in the input box of the full-screen intelligent dialogue window, the method further includes: Displaying guidance information in the full-screen intelligent dialogue window; In response to receiving a response operation for the guide information, a search result of the image corresponding to the guide information is output.
16. An image-based search processing device, include: A trigger module, configured to display a shooting search interface in response to a trigger operation on a camera entry of a search application, and display multiple function entries in a preset position area of the shooting search interface; a recognition module, configured to, in response to receiving an image captured based on a first function entry among the multiple function entries, call a recognition model corresponding to the first function entry to recognize the image, and obtain a first recognition result of the image; An output control module is used to present the first recognition result of the image on the shooting search interface.
17. The device according to claim 16, further comprising: include: A first determining module, configured to determine at least one second function entry related to the image from the plurality of function entries; Among them, the output control module is also used to display the first function entrance and the at least one second function entrance in the preset position area of the shooting search interface while presenting the first recognition result on the shooting search interface, wherein the number of the second function entrances is less than the number of the multiple function entrances.
18. The device according to claim 16, further comprising: include: The second determining module is used to determine the first function entrance from the multiple function entrances according to whether a selection operation for the multiple function entrances is received within a preset time period before receiving the image shot based on the first function entrance.
19. The device according to claim 16, in, The recognition module is further configured to, in response to receiving an operation of switching from the first function entrance to any second function entrance, call a recognition model corresponding to the second function entrance to recognize the image, and obtain a second recognition result of the image; The output control module is further used to present the second recognition result of the image on the shooting search interface.
20. The device according to claim 19, further comprising: include: A third determining module, used to determine at least one third function entry related to the image from the plurality of function entries; The output control module is further configured to display the second function entry and the at least one third function entry in the preset position area of the shooting search interface while presenting the second recognition result on the shooting search interface.
21. The device according to claim 19, in, The identification module is further used for: The recognition model corresponding to the second function entrance is controlled to obtain the image from the database of the first function entrance, and recognize the image to obtain a second recognition result of the image; wherein different function entrances correspond to different databases, and the second function entrance has the authority to access the database corresponding to the first function entrance.
22. The device according to claim 19, in, The identification module is further used for: Controlling the recognition model corresponding to the second function entry to obtain the image from a public database, and recognize the image to obtain a second recognition result of the image; The public database stores images taken by different function entrances at different times, and different function entrances have the authority to access the public database.
23. The device according to claim 19, in, The identification module is further used for: Before presenting the second recognition result of the image on the shooting search interface, the second recognition result of the image obtained by the recognition model corresponding to the second function entrance is enhanced in combination with the first recognition result to obtain the second recognition result for presentation.
24. The device according to claim 16, in, The identification module is further used for: In the case where there are multiple candidate recognition models corresponding to the first function entry, based on the category of the elements included in the image, a candidate recognition model that is compatible with the category is selected from the multiple candidate recognition models as the recognition model corresponding to the first function entry.
25. The device according to claim 16, in, The identification module is further used for: determining an original intent corresponding to the image; The first recognition result corresponding to the image under the original intention is obtained through the recognition model corresponding to the first function entrance.
26. The device according to claim 25, in, The identification module is further used for: Determining a potential intent corresponding to the image based on the original intent; The first recognition result corresponding to the image under the potential intention is obtained through the recognition model corresponding to the first function entrance.
27. The device according to claim 16, in, The output control module is further used for: Displaying at least a portion of the image in a first area of the shooting search page; The first image recognition result of the image is displayed in the second area of the shooting search page.
28. The device according to claim 16, in, The first image recognition result includes the searched first card; The first image recognition result further includes at least one of the following: Similar picture flow card; Supplement the result stream.
29. The device according to claim 16 or 19, in, The output control module is further used for: In response to receiving a trigger operation of a preset button on the shooting search page, entering a full-screen intelligent dialogue window; In response to receiving the follow-up information in the input box of the full-screen intelligent dialogue window, context association is performed on the search history of the image, and a dialogue related to the follow-up information is conducted using a large model in combination with the associated context information.
30. The device according to claim 29, in, The output control module is further used for: Displaying guidance information in the full-screen intelligent dialogue window; In response to receiving a response operation for the guide information, a search result of the image corresponding to the guide information is output.
31. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 15.
32. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-15.
33. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 15.
Citation Information
Cited By
Image shooting interaction method and shooting terminal
CN119854628A
An image shooting interaction method and a shooting terminal
CN119854628B
Image-based information search method and device, electronic equipment and medium
CN120316292A
Image-based information search method and device, electronic equipment and medium
CN120316293A
