Display method and device, electronic equipment and storage medium

By acquiring and screening of the preview image on the dictionary pen, and displaying the local image on the display full screen, and displaying the preview image in full, the problem of poor text entry effect caused by the small display screen size is solved, and image acquisition is improved user experience and effects.

CN119415200APending Publication Date: 2025-02-11HEFEI IFLYTEK TOYCLOUD TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411409274.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

Due to the shape structure of the dictionary pen, the display screen installed on the dictionary pen is small, which leads to the crowded or stacked content when large segments of text are entered, making it difficult for users to see clearly, and the input effect is not good.

Method used

By obtaining the preview image captured by the camera in real time, sewing the local image from it, and displaying the preview image in full while displaying the local image in full screen. The preview image is above the layer of the local image when displayed, covering the part of the local image.

Benefits of technology

During the image acquisition process, the user's need to judge the clear image and complete collection content is taken into account, optimize the user experience during image acquisition, and ensure the image acquisition effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415200A_ABST
    Figure CN119415200A_ABST
Patent Text Reader

Abstract

The invention provides a display method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a preview image collected by a camera in real time, and intercepting a local image from the preview image; the local image is displayed in a full-screen mode, meanwhile, the preview image is completely displayed, and the preview image is located above the image layer of the local image when displayed and covers the part in the local image. According to the method and device, the electronic equipment and the storage medium provided by the invention, the local image is intercepted from the preview image, and the preview image is completely displayed while the local image is displayed in a full screen, so that the judgment requirements of a user on image clearness and collection content completeness can be considered in the image collection process, and the user experience is improved. Therefore, the user experience during image acquisition is optimized, and the image acquisition effect is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic products, and in particular to a display method, device, electronic equipment and storage medium. Background Art

[0002] In order to enable users to input text more conveniently and quickly when using dictionary pens for learning, some dictionary pens are equipped with a camera on the side of the pen body opposite to the display screen. The camera is used to take photos and input text, so as to achieve the purpose of quickly inputting large sections of text.

[0003] However, due to the physical structure of the dictionary pen, the display screen currently installed on the dictionary pen is relatively small. In this case, when entering a large paragraph of text, in order to ensure complete entry, the user usually moves away from the shooting target, and the shot content appears crowded or stacked when displayed on the display screen, which is often difficult for the user to see clearly, resulting in poor entry results. Summary of the invention

[0004] The present invention provides a display method, device, electronic device and storage medium, which are used to solve the defect of poor shooting and recording effect due to the limitation of screen size in the related art.

[0005] The present invention provides a display method, comprising: Obtaining a preview image captured by a camera in real time, and capturing a partial image from the preview image; The partial image is displayed in full screen, and the preview image is displayed completely at the same time. When displayed, the preview image is above the layer of the partial image and covers part of the partial image.

[0006] A display method provided by the present invention further includes: A position indicating icon is displayed, wherein the position indicating icon is located above the layer of the preview image when displayed, and the position indicating icon is used to indicate the position of the partial image in the preview image.

[0007] A display method provided by the present invention further includes: receiving an adjustment operation on the position indication icon; Based on the adjustment operation, a new partial image is captured from the preview image, and the new partial image is displayed in full screen.

[0008] A display method provided by the present invention further includes: In a case where the adjustment operation includes a position adjustment operation, adjusting the display position of the position indication icon based on the position adjustment operation; In a case where the adjustment operation is a size adjustment operation, the display size of the position indication icon is adjusted based on the size adjustment operation.

[0009] According to a display method provided by the present invention, the position indication icon includes a content selection box, and the content selection box is used to distinguish and display the area where the partial image is located in the preview image and the area outside the partial image in the preview image.

[0010] A display method provided by the present invention further includes: A content scale is displayed, where the content scale and the preview image are displayed on the same layer, and the content scale is used to indicate the position of each content in the preview image in the preview image.

[0011] According to a display method provided by the present invention, the position indication icon includes an indication arrow, and the indication arrow is used to indicate the position of the content in the partial image in the content scale.

[0012] A display method provided by the present invention further includes: Display shooting controls; When a trigger operation for the shooting control is received, the preview image is determined as a shooting image and stored.

[0013] The present invention also provides a display device, comprising: A capture unit, used to obtain a preview image collected by the camera in real time, and capture a partial image from the preview image; The display unit is used to display the partial image in full screen and completely display the preview image at the same time. When displayed, the preview image is above the layer of the partial image and partially covers the partial image.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the display methods described above is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the display method described in any one of the above is implemented.

[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned display methods.

[0017] The display method, device, electronic device and storage medium provided by the present invention capture a partial image from a preview image, and display the preview image completely while displaying the partial image in full screen, thereby taking into account the user's judgment requirements for image clarity and completeness of captured content during the image acquisition process, thereby optimizing the user experience during image acquisition and ensuring the image acquisition effect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 It is a schematic diagram of shooting a preview image based on a dictionary pen in the related art.

[0020] Figure 2 It is a flow chart of the display method provided by the present invention.

[0021] Figure 3 It is one of the schematic diagrams of displaying images provided by the present invention.

[0022] Figure 4 This is the second schematic diagram of displaying images provided by the present invention.

[0023] Figure 5 This is the third schematic diagram of displaying images provided by the present invention.

[0024] Figure 6 It is a schematic diagram of the structure of the display device provided by the present invention.

[0025] Figure 7 It is a structural schematic diagram of the dictionary pen provided by the present invention.

[0026] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention.

[0027] Reference numerals: 10: Preview image; 20: Partial image; 30: Content selection box; 40: Indicator arrow; 50: Shooting controls. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] With the development of science and technology, more and more portable electronic devices have entered people's lives. The portable devices referred to here are handheld devices, also known as mobile devices (mobile devices, or cellphone devices), pocket computers (Pocket PCs), etc., which are pocket-sized computing devices that usually have a small display screen and input through touch input or in the form of a small keyboard. Typical portable devices include smart phones, tablet computers, e-books, GPS navigators, etc., or they can also be personal digital assistants (Personal Digital Assistant, PDA) and handheld game consoles, handheld computers, etc.

[0030] In order to improve the efficiency of text input and realize the rapid input of long paragraphs of text, for some portable devices, a camera is set on the side opposite to the display screen, and content is input through the camera.

[0031] However, due to the limitation of the physical structure of portable devices, the display screens that can be installed on portable devices are mostly small. For example, the display screen installed on a dictionary pen is usually a slender display screen.

[0032] Therefore, when using a portable device to input long paragraphs of text, in order to ensure complete input, the user usually moves away from the shooting target, which will cause the shot content to appear crowded or stacked when displayed on the display screen, and the image clarity is not high and the quality is poor. For example, Figure 1 is a schematic diagram of shooting a preview image based on a dictionary pen in the related art, such as Figure 1 As shown, since the text displayed on the narrow and long display screen is too small and dense, users often have difficulty seeing it clearly, and therefore cannot determine whether the camera has successfully focused on the content to be recorded, nor can the clarity of the captured image be guaranteed, resulting in poor photo recording effects.

[0033] In view of the above problems, an embodiment of the present invention provides a display method. Figure 2 It is a flow chart of the display method provided by the present invention, such as Figure 2 As shown, the method can be applied to the above-mentioned various portable devices, and the method includes: Step 210: Obtain a preview image captured by the camera in real time, and capture a local image from the preview image.

[0034] Here, the camera can be a camera installed on the portable device, or a camera installed outside the portable device and connected to the portable device. Before shooting and collecting, it is necessary to turn on the shooting function of the portable device to drive the camera to enter the shooting state. After the camera enters the shooting state, image collection can be performed in real time. Here, the image collected by the camera in real time is recorded as a preview image.

[0035] The portable device can obtain the preview image captured by the camera in real time, and perform screenshot processing on the local area of ​​the preview image, thereby obtaining a local image in the preview image. It can be understood that the local image here belongs to the image of a partial area in the preview image, the overall size of the local image is smaller than the preview image, and the content contained in the local image is a part of the content contained in the preview image.

[0036] For example, the preview image may be a complete image of a test paper, while the partial image may be an image of a test question or several test questions in the test paper. For another example, the preview image may be a complete image of a page in a book, while the partial image may be an image of one or several paragraphs in the page.

[0037] Step 220, displaying the partial image in full screen, and displaying the preview image completely at the same time, wherein the preview image is located above the layer of the partial image and covers part of the partial image when displayed.

[0038] Specifically, after obtaining the preview image and the partial image captured from the preview image, the preview image and the partial image may be displayed on the same screen, that is, the preview image and the partial image are simultaneously displayed on the display screen of the portable device.

[0039] Furthermore, when the preview image and the partial image are displayed on the same screen, it is specifically necessary to display the partial image in full screen and to display the preview image completely.

[0040] Among them, full-screen display of a partial image means displaying the partial image on the display screen in a maximized manner, usually occupying all or most of the space of the entire display screen, leaving no or only a very small border. By displaying the partial image in full screen, the partial image that is smaller in size than the preview image can be enlarged and displayed in a maximized manner on the display screen, so that the user can intuitively judge whether the preview image is clear through the partial image displayed in full screen.

[0041] Full display of the preview image means displaying the preview image on the display screen in a manner that ensures that all the contents in the preview image can be fully presented. The full display usually does not need to occupy the entire display screen space, but is scaled according to the size and proportion of the preview image itself to ensure the integrity of the content of the preview image when it is displayed. By fully displaying the preview image, a preview image that is larger in size than a partial image can be scaled and displayed on the display screen in a manner that ensures the integrity of the content, thereby allowing the user to intuitively determine whether the preview image covers all the content that needs to be collected and entered through the fully displayed preview image.

[0042] That is, when the preview image and the partial image are displayed on the same screen, displaying the partial image in full screen can make it easier for users to judge whether the preview image is clear or not, and displaying the preview image in full screen can make it easier for users to judge whether the content covered by the preview image is complete or not. The combination of the two can take into account the user's judgment needs for image clarity and completeness of captured content during image capture, thereby ensuring the user experience of image capture.

[0043] In this case, considering that the full-screen display of the partial image may occupy the entire display screen, resulting in no place for the full display of the preview image, in an embodiment of the present invention, the partial image and the preview image are displayed in layers. That is, the full-screen displayed partial image and the full-screen displayed preview image can be regarded as two images, and the layer where the full-screen displayed preview image is located is located above the layer where the full-screen displayed partial image is located. In this way, the full-screen displayed preview image can be directly observed by the user on the full-screen displayed partial image, and because the full-screen displayed preview image occupies a smaller display space than the full-screen displayed partial image, even if the preview image layer is set above the partial image layer, the preview image will only block part of the partial image, and the unblocked part of the partial image is still sufficient to reflect the clarity of the preview image, and will not affect the user's judgment on the clarity of the preview image based on the partial image.

[0044] For example, Figure 3 It is one of the schematic diagrams of displaying images provided by the present invention. Figure 3 As shown, the preview image 10 and the partial image 20 are displayed on the same screen, and the size of the preview image 10 on the display interface is smaller than the size of the partial image 20 on the display interface. The layer where the preview image 10 is located is located above the layer where the partial image 20 is located, and the preview image 10 covers part of the content of the partial image 20.

[0045] In the method provided in the embodiment of the present invention, a partial image is captured from the preview image, and the preview image is displayed completely while the partial image is displayed in full screen. Thus, during the image acquisition process, the user's judgment requirements for image clarity and completeness of acquired content can be taken into account, thereby optimizing the user experience during image acquisition and ensuring the image acquisition effect.

[0046] Based on the above embodiment, the method further includes: A position indicating icon is displayed, wherein the position indicating icon is located above the layer of the preview image when displayed, and the position indicating icon is used to indicate the position of the partial image in the preview image.

[0047] Here, the position indication icon is an icon used to indicate the position of the partial image in the preview image, that is, an icon used to indicate the capture position of the partial image from the preview image.

[0048] For example, the position indication icon may be in the form of a content selection box, that is, the position of the partial image in the preview image may be selected through the content selection box. For another example, the position indication icon may be in the form of an indicating arrow, that is, the indicating arrow may point to the position of the partial image in the preview image.

[0049] While displaying the partial image and the preview image on the same screen, a position indicator icon can also be displayed. In order to prevent the display of the position indicator icon from being blocked by the partial image displayed in full screen, the layer where the position indicator icon is located is set above the layer where the partial image is located.

[0050] In this way, while the user is judging the comprehensiveness of image acquisition by viewing the preview image displayed on the display screen and judging the clarity of image acquisition by viewing the partial image displayed on the display screen, the user can also understand the position of the partial image in the preview image by viewing the position indicator icon displayed on the display screen, thereby further optimizing the user experience during image acquisition.

[0051] Based on any of the above embodiments, the method further includes: receiving an adjustment operation on the position indication icon; Based on the adjustment operation, a new partial image is captured from the preview image, and the new partial image is displayed in full screen.

[0052] Specifically, for the position indication icon displayed on the display screen, the user can input an adjustment operation for the position indication icon to the portable device by operating the portable device. The adjustment operation referred to here can be input by the user by touching the display screen of the portable device, or can be input by the user by pressing a button of the portable device, and the embodiment of the present invention does not specifically limit this. The adjustment operation can be used to implement the position adjustment of the position indication icon, that is, the position adjustment of the partial image in the preview image, and / or the size adjustment of the position indication icon, that is, the adjustment of the size occupied by the partial image in the preview image.

[0053] After receiving the adjustment operation, the portable device may respond to the adjustment operation. Specifically, the position and / or size of the partial image in the preview image may be adjusted based on the position and / or size adjustment indicated by the adjustment operation, and based on this, a new partial image after the position and / or size adjustment is captured from the preview image, and the new partial image obtained is displayed in full screen.

[0054] That is, in an embodiment of the present invention, the position indication icon can serve as an interface for the user to adjust the local image, and the portable device can respond to the adjustment operation on the position indication icon, thereby realizing the update, capture and display of the local image, thereby allowing the user to adjust the local image by himself during the image acquisition process, thereby improving the reliability of the user judging the clarity of the acquired image by observing the local image during the image acquisition process.

[0055] Based on any of the above embodiments, the method further includes: In a case where the adjustment operation includes a position adjustment operation, adjusting the display position of the position indication icon based on the position adjustment operation; In a case where the adjustment operation is a size adjustment operation, the display size of the position indication icon is adjusted based on the size adjustment operation.

[0056] Specifically, the adjustment operation may include a position adjustment operation, where the position adjustment operation is an adjustment operation for the position of the partial image in the preview image. The position adjustment operation may be triggered by the user dragging the position indication icon up and down or left and right with a finger.

[0057] When a position adjustment operation for the position indicator icon is received, the position of the partial image in the preview image can be adjusted accordingly based on the position adjustment operation, thereby capturing a new partial image to achieve updated full-screen display of the partial image. At the same time, since the position of the new partial image in the preview image has changed compared to the position of the previous partial image in the preview image, the display position of the position indicator icon in the display screen will also change accordingly, thereby achieving the effect of dynamically adjusting the display position of the position indicator icon as the position adjustment operation is executed.

[0058] In addition, the adjustment operation may include a size adjustment operation, where the size adjustment operation is an adjustment operation for the size of the partial image in the preview image. The size adjustment operation may be performed by the user dragging the selection box corner of the position indication icon with a finger, or by the user opening and closing two fingers, which is not specifically limited in the embodiments of the present invention.

[0059] When a size adjustment operation is received for the position indication icon, the size occupied by the partial image in the preview image can be adjusted accordingly based on the size adjustment operation, thereby capturing a new partial image to achieve updated full-screen display of the partial image. The adjustment of the occupied size here can be a proportional lengthening and enlargement, or a proportional shortening and reduction, which is not specifically limited in the embodiments of the present invention. At the same time, since the size occupied by the new partial image in the preview image changes compared to the size occupied by the previous partial image in the preview image, the display size of the position indication icon in the display screen will also change accordingly, thereby achieving the effect of dynamically adjusting the display size of the position indication icon as the size adjustment operation is performed.

[0060] Based on any of the above embodiments, the position indication icon includes a content selection box, and the content selection box is used to distinguish and display the area where the partial image is located in the preview image and the area outside the partial image in the preview image.

[0061] Specifically, the position indication icon may include a content selection box. The content selection box here is an icon that selects the frame of the partial image in the preview image. Through the content selection box, the area where the partial image is located in the preview image and the area outside the partial image can be distinguished, so that the user can intuitively locate the partial image from the preview image.

[0062] Furthermore, in order to further facilitate users in observing the position of the partial image in the preview image, while displaying the content selection box, the area inside the content selection box where the partial image in the preview image is located and the area outside the content selection box outside the partial image in the preview image can be displayed in different forms, thereby further distinguishing them from the perspective of display method.

[0063] For example, Figure 4 is a second schematic diagram of a display image provided by the present invention, in Figure 4 The area inside the content selection box in the preview image is covered with a semi-transparent layer, while the area outside the content selection box in the preview image is not covered by the semi-transparent layer. Therefore, the area where the partial image is located and the area outside the partial image in the preview image are displayed in different colors, so that users can observe the position of the partial image more intuitively.

[0064] Based on any of the above embodiments, the method further includes: A content scale is displayed, where the content scale and the preview image are displayed on the same layer, and the content scale is used to indicate the position of each content in the preview image in the preview image.

[0065] Here, the content scale is a scale mark used to measure and divide the content in the preview image. For example, the text paragraphs or text lines in the preview image can be used as the scale, or the length or width of the preview image can be used as the scale.

[0066] When the partial image and the preview image are displayed on the same screen, the content scale can also be displayed. In addition, in order to prevent the display of the content scale from being blocked by the partial image displayed in full screen, the content scale and the preview image can be displayed on the same layer.

[0067] In this way, while viewing the preview image and the partial image through the display screen, the user can also view the content scale for the preview image through the display screen, so as to observe the integrity of the image acquisition in conjunction with the preview image.

[0068] Based on any of the above embodiments, the position indication icon includes an indication arrow, and the indication arrow is used to indicate the position of the content in the partial image in the content scale.

[0069] Specifically, the position indication icon may include an indication arrow. The indication arrow here refers to an arrow pointing to the position of the scale corresponding to the position of the partial image in the preview image on the content scale. The indication arrow can be used to show the position of the partial image in the preview image from the perspective of the content scale, so as to help the user quickly locate the partial image from the preview image.

[0070] Furthermore, the user may input a position adjustment operation by dragging an indication arrow on the content scale, thereby updating the partial image and the position of the indication arrow.

[0071] Based on any of the above embodiments, the method further includes: Display shooting controls; When a trigger operation for the shooting control is received, the preview image is determined as a shooting image and stored.

[0072] Specifically, the shooting control is a control for performing image shooting. It is understandable that during the image acquisition process, the camera is in a shooting state, performs image acquisition in real time, and updates the preview image and the partial image of the preview image based on the image acquired in real time.

[0073] During the image acquisition process, the shooting controls are displayed on the same screen as the preview image and the partial image, so that the user can trigger the storage of the preview image when he / she is sure that the preview image content is complete and clear, thereby completing the image acquisition.

[0074] Therefore, the user can input a trigger operation for the shooting control to the portable device by operating the portable device, for example, the user can input a trigger operation to the portable device by touching the shooting control on the display screen. Accordingly, the portable device can respond to the received trigger operation and store the preview image collected in real time as the captured image, that is, as the captured image.

[0075] Based on any of the above embodiments, an embodiment of the present invention provides a display method, which can be applied to a dictionary pen or other portable devices other than a dictionary pen. The method includes: First, start the shooting function.

[0076] Here, the start of the shooting function may be realized under the triggering of a user operation instruction. The user operation instruction is an instruction for starting the shooting function, which may be realized in the form of a physical button, a touch screen operation, or a voice start.

[0077] After receiving the user operation instruction, the portable device responds to the user operation instruction to start the shooting function, drive the camera at the portable device to enter the shooting state, and collect images in real time, thereby obtaining a preview image collected in real time.

[0078] Secondly, the preview image and the partial image captured from the preview image are displayed on the same screen.

[0079] Here, after obtaining the preview image captured in real time, a partial image can be captured from the preview image, and the partial image can be displayed in full screen while the preview image is fully displayed. In an embodiment of the present invention, the interface for displaying a partial image in full screen is recorded as an indication interface, and the interface for displaying a preview image in full screen is recorded as a preview interface, wherein the indication interface can enlarge and display the partial image, and the preview interface can display the preview image as a whole, and the size of the indication interface is larger than the size of the preview interface. The indication interface is used to indicate the clarity of the content in the preview image. If the text content on the indication interface is blurred, it means that the picture clarity of the preview image is low and needs to be adjusted; if the text content on the indication interface is clear, it means that the picture clarity of the preview image is high, and the user can click the shooting control to complete the shooting work to ensure the clarity of the text content collected by shooting the image.

[0080] For example, Figure 5 FIG. 3 is a schematic diagram of displaying an image provided by the present invention. Figure 5 As shown, the partial image 20 is displayed in full screen at the indication interface, and the preview image 10 is displayed completely at the preview interface, and the preview interface is on the upper layer of the indication interface, covering part of the content of the indication interface. A content selection box 30 is set in the preview image 10, and a content scale is set at the edge of the preview image 10, and an indicating arrow 40 is marked on the content scale. Both the content selection box 30 and the indicating arrow 40 can be used as position indicating icons to indicate the position of the partial image 20 in the preview image 10.

[0081] The user can use a finger to drag the content selection box 30 up and down, or left and right to trigger the update of the partial image 20, and the user can control the window size adjustment of the content selection box 30 by pinching two fingers to trigger the update of the partial image 20. In addition, the user can use a finger to drag the indication arrow 40 up and down to trigger the update of the partial image 20.

[0082] After the user determines that the content of the preview image 10 is clear and complete, the user may touch the capture control 50 to store the preview image 10 as a captured image to complete the image acquisition.

[0083] The display device provided by the present invention is described below. The display device described below and the display method described above can be referred to each other.

[0084] Figure 6 Schematic diagram of the structure of the display device provided by the present invention. Figure 6 As shown, the device comprises: The capture unit 610 is used to obtain the preview image collected by the camera in real time, and capture a partial image from the preview image; The display unit 620 is used to display the partial image in full screen and completely display the preview image at the same time. When displayed, the preview image is above the layer of the partial image and partially covers the partial image.

[0085] In the device provided in the embodiment of the present invention, a partial image is captured from the preview image, and the preview image is displayed completely while the partial image is displayed in full screen. Therefore, the user's judgment requirements for image clarity and completeness of captured content can be taken into account during the image acquisition process, thereby optimizing the user experience during image acquisition and ensuring the image acquisition effect.

[0086] Based on any of the above embodiments, the display unit is further used for: A position indicating icon is displayed, wherein the position indicating icon is located above the layer of the preview image when displayed, and the position indicating icon is used to indicate the position of the partial image in the preview image.

[0087] Based on any of the above embodiments, the further comprising an adjustment unit, the adjustment unit is used for: receiving an adjustment operation on the position indication icon; Based on the adjustment operation, a new partial image is captured from the preview image, and the new partial image is displayed in full screen.

[0088] Based on any of the above embodiments, the adjusting unit is further used for: In a case where the adjustment operation includes a position adjustment operation, adjusting the display position of the position indication icon based on the position adjustment operation; In a case where the adjustment operation is a size adjustment operation, the display size of the position indication icon is adjusted based on the size adjustment operation.

[0089] Based on any of the above embodiments, the position indication icon includes a content selection box, and the content selection box is used to distinguish and display the area where the partial image is located in the preview image and the area outside the partial image in the preview image.

[0090] Based on any of the above embodiments, the display unit is further used for: A content scale is displayed, where the content scale and the preview image are displayed on the same layer, and the content scale is used to indicate the position of each content in the preview image in the preview image.

[0091] Based on any of the above embodiments, the position indication icon includes an indication arrow, and the indication arrow is used to indicate the position of the content in the partial image in the content scale.

[0092] Based on any of the above embodiments, the display unit is further used to display shooting controls; It also includes a shooting unit, which is used for: When a trigger operation for the shooting control is received, the preview image is determined as a shooting image and stored.

[0093] Based on any of the above embodiments, Figure 7 Schematic diagram of the structure of the dictionary pen provided by the present invention. Figure 7 As shown, the dictionary pen includes a dictionary pen body 700, a processor 710 disposed inside the dictionary pen body 700, and a camera 720 and a display screen 730 disposed on the surface of the dictionary pen body 700; The camera 720 is used to collect preview images in real time; The processor 710 is used to obtain the preview image, capture a partial image from the preview image, and control the display screen 730 to display the partial image in full screen while completely displaying the preview image. When displayed, the preview image is above the layer of the partial image and partially covers the partial image.

[0094] Specifically, the dictionary pen body 700 may be equipped with a camera 720. Before taking pictures, the camera function of the dictionary pen needs to be turned on, and the processor 710 disposed inside the dictionary pen body 700 drives the camera 720 to enter the shooting state. After the camera 720 enters the shooting state, image acquisition can be performed in real time. Here, the image acquired by the camera 720 in real time is recorded as a preview image.

[0095] The processor 710 can obtain the preview image captured by the camera 720 in real time, and perform screenshot processing on the local area of ​​the preview image, thereby obtaining a local image in the preview image. It can be understood that the local image here belongs to a partial area image in the preview image, the overall size of the local image is smaller than the preview image, and the content contained in the local image is a part of the content contained in the preview image.

[0096] For example, the preview image may be a complete image of a test paper, while the partial image may be an image of a test question or several test questions in the test paper. For another example, the preview image may be a complete image of a page in a book, while the partial image may be an image of one or several paragraphs in the page.

[0097] After obtaining the preview image and the partial image captured from the preview image, the processor 710 can control the display screen 730 to display the preview image and the partial image on the same screen, that is, the preview image and the partial image are displayed on the display screen 730 of the dictionary pen at the same time.

[0098] Furthermore, when the preview image and the partial image are displayed on the same screen, it is specifically necessary to display the partial image in full screen and to display the preview image completely.

[0099] Among them, full-screen display of a partial image means displaying the partial image on the display screen in a maximized manner, usually occupying all or most of the space of the entire display screen, leaving no or only a very small border. By displaying the partial image in full screen, the partial image that is smaller in size than the preview image can be enlarged and displayed in a maximized manner on the display screen, so that the user can intuitively judge whether the preview image is clear through the partial image displayed in full screen.

[0100] Full display of the preview image means displaying the preview image on the display screen in a manner that ensures that all the contents in the preview image can be fully presented. The full display usually does not need to occupy the entire display screen space, but is scaled according to the size and proportion of the preview image itself to ensure the integrity of the content of the preview image when it is displayed. By fully displaying the preview image, a preview image that is larger in size than a partial image can be scaled and displayed on the display screen in a manner that ensures the integrity of the content, thereby allowing the user to intuitively determine whether the preview image covers all the content that needs to be collected and entered through the fully displayed preview image.

[0101] That is, when the preview image and the partial image are displayed on the same screen, displaying the partial image in full screen can make it easier for users to judge whether the preview image is clear or not, and displaying the preview image in full screen can make it easier for users to judge whether the content covered by the preview image is complete or not. The combination of the two can take into account the user's judgment needs for image clarity and completeness of captured content during image capture, thereby ensuring the user experience of image capture.

[0102] In this case, considering that the full-screen display of the partial image may occupy the entire display screen 730, resulting in no place for the complete display of the preview image, in the embodiment of the present invention, the partial image and the preview image are displayed in layers. That is, the full-screen displayed partial image and the complete preview image can be regarded as two images, and the layer where the complete preview image is located is located above the layer where the full-screen displayed partial image is located. In this way, the complete preview image can be directly observed by the user on the full-screen displayed partial image, and because the display space occupied by the complete preview image is smaller than that of the full-screen displayed partial image, even if the preview image layer is set above the partial image layer, the preview image will only block part of the partial image, and the unblocked part of the partial image is still sufficient to reflect the clarity of the preview image, and will not affect the user's judgment on the clarity of the preview image based on the partial image.

[0103] In the dictionary pen provided in the embodiment of the present invention, a partial image is captured from the preview image, and the preview image is displayed completely while the partial image is displayed in full screen. Thus, the user's judgment requirements for image clarity and completeness of captured content can be taken into account during the image acquisition process, thereby optimizing the user experience during image acquisition, ensuring the image acquisition effect, and further effectively ensuring the accuracy of word capture based on camera shooting by the dictionary pen.

[0104] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the display method, which includes: obtaining a preview image captured by a camera in real time, and intercepting a partial image from the preview image; displaying the partial image in full screen, and displaying the preview image completely at the same time, wherein the preview image is above the layer of the partial image and covers a part of the partial image when displayed.

[0105] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0106] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the display method provided by the above-mentioned methods, which includes: obtaining a preview image captured by a camera in real time, and capturing a partial image from the preview image; displaying the partial image in full screen and displaying the preview image completely at the same time, and the preview image is above the layer of the partial image and covers a part of the partial image when displayed.

[0107] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the display method provided by the above-mentioned methods, the method comprising: obtaining a preview image captured by a camera in real time, and capturing a partial image from the preview image; displaying the partial image in full screen, and displaying the preview image completely at the same time, wherein the preview image is above the layer of the partial image and covers a portion of the partial image when displayed.

[0108] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A display method, characterized in that: include: Obtaining a preview image captured by a camera in real time, and capturing a partial image from the preview image; The partial image is displayed in full screen, and the preview image is displayed completely at the same time. When displayed, the preview image is above the layer of the partial image and covers part of the partial image.

2. The display method according to claim 1, characterized in that: Also includes: A position indicating icon is displayed, wherein the position indicating icon is located above the layer of the preview image when displayed, and the position indicating icon is used to indicate the position of the partial image in the preview image.

3. The display method according to claim 2, characterized in that: Also includes: receiving an adjustment operation on the position indication icon; Based on the adjustment operation, a new partial image is captured from the preview image, and the new partial image is displayed in full screen.

4. The display method according to claim 3, characterized in that: Also includes: In a case where the adjustment operation includes a position adjustment operation, adjusting the display position of the position indication icon based on the position adjustment operation; In a case where the adjustment operation is a size adjustment operation, the display size of the position indication icon is adjusted based on the size adjustment operation.

5. The display method according to claim 2, characterized in that: The position indication icon includes a content selection box, and the content selection box is used to distinguish and display the area where the partial image is located in the preview image and the area outside the partial image in the preview image.

6. The display method according to claim 2, characterized in that: Also includes: A content scale is displayed, where the content scale and the preview image are displayed on the same layer, and the content scale is used to indicate the position of each content in the preview image in the preview image.

7. The display method according to claim 6, characterized in that: The position indication icon includes an indication arrow, and the indication arrow is used to indicate the position of the content in the partial image in the content scale.

8. The display method according to any one of claims 1 to 7, characterized in that: Also includes: Display shooting controls; When a trigger operation for the shooting control is received, the preview image is determined as a shooting image and stored.

9. A display device, characterized in that: include: A capture unit, used to obtain a preview image collected by the camera in real time, and capture a partial image from the preview image; The display unit is used to display the partial image in full screen and completely display the preview image at the same time. When displayed, the preview image is above the layer of the partial image and partially covers the partial image.

10. A dictionary pen, characterized in that: It includes a dictionary pen body, a processor arranged inside the dictionary pen body, and a camera and a display screen arranged on the surface of the dictionary pen body; The camera is used to collect preview images in real time; The processor is used to obtain the preview image, capture a partial image from the preview image, and control the display screen to display the partial image in full screen while completely displaying the preview image. When displayed, the preview image is above the layer of the partial image and partially covers the partial image.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the display method according to any one of claims 1 to 8 is implemented.

12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the display method according to any one of claims 1 to 8 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the display method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Shooting method, shooting device, storage medium and mobile terminal

    CN111835973A

  • Image preview method and device, electronic equipment and storage medium

    CN112954220A

  • Shooting method and electronic equipment

    CN113709354A

  • Shooting preview method and device, equipment and storage medium

    CN117479005A