Processing method for board writing display and related device
By overlaying whiteboard images onto image frames in teaching videos according to user-defined display parameters, a variety of images to be displayed are generated, solving the problem of unintelligent whiteboard display in existing technologies and improving user experience and teaching effectiveness.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ESWIN COMPUTING TECH CO LTD
- Filing Date
- 2022-04-29
- Publication Date
- 2026-07-21
AI Technical Summary
Existing teaching video processing methods lack intelligent whiteboard display capabilities and cannot provide diversified processing based on user needs.
By acquiring the whiteboard image to be displayed, and superimposing it onto the writing area of the image frame according to the display parameters set by the user, the image to be displayed is generated and the original image frame is replaced for display. The display parameters include preset colors, transparency, and markers, so as to achieve diverse whiteboard display.
It enables intelligent whiteboard display, allowing users to adjust the color, transparency, and status of the text according to their personal preferences and needs, thereby enhancing the fun and visualization of teaching videos.
Smart Images

Figure CN114942742B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the technical field of video processing, and specifically to a processing method and related apparatus for whiteboard display. Background Technology
[0002] With the popularity and widespread adoption of online classes, instructional videos have become an indispensable educational resource. These videos are captured by a webcam during the teaching process. Current processing methods for these videos only allow for the display of whiteboard images in a single format within image frames, resulting in a lack of intelligent whiteboard display capabilities. Summary of the Invention
[0003] To address the aforementioned technical problems, this disclosure provides a processing method for whiteboard display, comprising:
[0004] Obtain the whiteboard image to be displayed, wherein the whiteboard image to be displayed is a complete whiteboard image extracted from an image frame of a video;
[0005] The image to be displayed is superimposed onto the writing area of the image frame according to the display parameters set by the user, and an image to be displayed is generated based on the superimposed image;
[0006] The image frame is replaced with the image to be displayed for display.
[0007] Optionally, the display parameters include preset colors, and the method of overlaying the whiteboard image to be displayed onto the writing area of the image frame according to the display parameters set by the user includes:
[0008] Adjust the color of the text in the whiteboard image to be displayed to the preset color;
[0009] The adjusted whiteboard image to be displayed is superimposed onto the writing area of the image frame.
[0010] Optionally, the whiteboard image to be displayed is a grayscale image in which the text and background achieve a set contrast.
[0011] Adjusting the text color of the whiteboard image to be displayed to the preset color includes: converting the whiteboard image to be displayed into a three-channel image, and adjusting the pixel value of the text in each channel of the obtained three-channel image to the pixel value of the preset color for that channel.
[0012] Optionally, the adjusted whiteboard image to be displayed is superimposed onto the writing board area of the image frame, including: the adjusted whiteboard image to be displayed is superimposed onto the writing board area of the image frame after the edges of the characters are smoothed.
[0013] Optionally, the display parameters include different transparency parameters, and the image to be displayed is superimposed onto the writing area of the image frame according to the display parameters set by the user, including:
[0014] Different transparency parameters are used to make the whiteboard image to be displayed and the whiteboard image cropped from the image frame transparent, and the processed images are superimposed to obtain a composite whiteboard image.
[0015] Optionally, the display parameters further include an identifier, and the method of overlaying the whiteboard image to be displayed onto the writing area of the image frame according to the display parameters set by the user also includes:
[0016] Based on the identifier, the image to be displayed or the synthesized writing board image is superimposed onto the writing board area of the image frame.
[0017] Optionally, the processing method further includes: setting the value of the flag to another value when a switching signal is received.
[0018] Optionally, the display parameters further include instructions indicating the content to be displayed in the window, wherein,
[0019] When the instruction window displays the entire screen, the image frame that replaces the writing board area with the composite writing board image is determined as the image to be displayed.
[0020] When the instruction window displays a writing board area, the synthesized writing board image is determined as the image to be displayed.
[0021] According to a second aspect of this disclosure, an electronic device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of any of the methods of the first aspect.
[0022] According to a third aspect of this disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of any of the methods of the first aspect.
[0023] The beneficial effects of this disclosure are:
[0024] The processing method provided in this disclosure overlays the whiteboard image to be displayed onto the writing area of the image frame according to the display parameters set by the user, and generates the image to be displayed based on the overlaid image. Therefore, the image to be displayed will be different depending on the different display parameters set by the user, that is, the image to be displayed can be controlled by the user, thereby diversifying the display methods of the whiteboard and making the whiteboard display more intelligent.
[0025] It should be noted that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this disclosure. Attached Figure Description
[0026] Figure 1 A flowchart of a processing method for displaying whiteboard text according to an embodiment of this disclosure is provided;
[0027] Figure 2 An exemplary image of a whiteboard to be displayed is shown;
[0028] Figure 3 A flowchart of a method for overlaying a whiteboard image to be displayed onto the writing board area of an image frame according to display parameters set by the user is shown.
[0029] Figure 4 A schematic diagram of a composite image frame is shown;
[0030] Figure 5 A schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure is shown. Detailed Implementation
[0031] To facilitate understanding of this disclosure, a more complete description will now be given with reference to the accompanying drawings, which illustrate preferred embodiments of the present disclosure. However, this disclosure may be implemented in various forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and complete understanding of the disclosure.
[0032] Figure 1 The diagram shows a flowchart of a whiteboard display processing method provided in an embodiment of this disclosure. (Refer to...) Figure 1 The processing method used for whiteboard display includes:
[0033] Step S110: Obtain the image of the whiteboard to be displayed.
[0034] Specifically, the whiteboard image to be displayed is a complete whiteboard image extracted from an image frame of a video. The video is obtained by shooting a scene where a writing board exists in reality (such as a teaching scene). The image frame can be an image frame with the writing board aligned, obtained by image correction operation from the original image frame in the video. The whiteboard image is an image with the same size as the writing board area in the image frame, but the whiteboard image only contains the whiteboard data.
[0035] Existing video processing methods extract grayscale images of whiteboard writing, and typically, after binarization, the background of the whiteboard writing image is white and the writing is black. Figure 2The image shown is an example of a whiteboard image to be displayed. The black outline is an additional part used to mark the area of the whiteboard image to be displayed and is not part of the whiteboard image to be displayed.
[0036] Step S120: Based on the display parameters set by the user, the image to be displayed is superimposed onto the writing area of the image frame, and an image to be displayed is generated based on the superimposed image.
[0037] Specifically, in this embodiment of the disclosure, overlaying the whiteboard image to be displayed onto the whiteboard area of the image frame usually means that the whiteboard image to be displayed is overlaid onto the whiteboard area of the image frame as a layer above the whiteboard area of the image frame. After overlay, the whiteboard area of the image frame and the image to be displayed form a composite whiteboard image, which is the image obtained by overlay as described above.
[0038] Step S130: Replace the image frame with the image to be displayed.
[0039] It should be noted that there is a one-to-one correspondence between the image to be displayed and the image frame. A video typically consists of multiple image frames, and this processing method for whiteboard display can obtain the image to be displayed corresponding to each image frame in a video.
[0040] After the video is processed by steps S110 to S130, when it reaches the current image frame, the current image frame is not displayed; instead, the image to be displayed corresponding to the current image frame is displayed. Since the generation of the image to be displayed is controlled by the display parameters set by the user, the image to be displayed can display the whiteboard in different ways, thus making the whiteboard display intelligent.
[0041] The steps described above are explained in detail below.
[0042] In an optional embodiment, the display parameters include preset colors, as shown in the reference. Figure 3 In step S120, the image of the whiteboard to be displayed is superimposed onto the writing area of the image frame according to the display parameters set by the user, including:
[0043] Step S121: Adjust the text color of the image to be displayed to a preset color. The preset color has a pixel value of r in the red channel, a pixel value of g in the green channel, and a pixel value of b in the blue channel.
[0044] Step S122: Overlay the adjusted whiteboard image to be displayed onto the writing area of the image frame.
[0045] Specifically, the image to be displayed is a grayscale image, where the text and background have different pixel values to achieve a set contrast. If the text has a first pixel value and the background has a second pixel value, then to highlight the text, the following settings can be used: the first pixel value is greater than a grayscale threshold, and the second pixel value and the writing board color are less than a grayscale threshold; or the first pixel value is less than a grayscale threshold, and the second pixel value and the writing board color are greater than a grayscale threshold. The grayscale threshold can be, for example, 127 or 128, so that the colors corresponding to the first and second pixel values are what are commonly referred to as dark and light colors.
[0046] In some scenarios, the writing board is not a whiteboard or blackboard, but another color. In this case, the grayscale value of the writing board in the grayscale image frame can be compared with a grayscale threshold to determine whether the writing board color is greater than or less than the grayscale threshold. For cases where the grayscale threshold is 127 or 128, if the grayscale value of the writing board in the grayscale image frame is less than the grayscale threshold, the writing board is what is commonly referred to as a dark board, such as a blackboard or greenboard; if the grayscale value of the writing board in the grayscale image frame is greater than the grayscale threshold, the writing board is what is commonly referred to as a light board, such as a whiteboard.
[0047] It should be noted that if the first pixel value is greater than the grayscale threshold, the blackboard image obtained after binarization, which typically has a white background and black text, needs to be inverted first. The image obtained after the inversion operation is the blackboard image to be displayed. In this case, the first pixel value of the text in the blackboard image to be displayed is 255, and the second pixel value of the background is 0.
[0048] Based on the above, step S121, adjusting the text color of the whiteboard image to be displayed to a preset color, includes: converting the whiteboard image to be displayed into a three-channel image, and adjusting the pixel value of the text in each channel of the obtained three-channel image to the pixel value of the preset color for that channel.
[0049] The following details the process of adjusting the text color of the image to be displayed to the preset color, depending on the different colors of the writing board:
[0050] (1) If the color of the writing board is less than the grayscale threshold, then the second pixel value of the background is less than the grayscale threshold and the first pixel value of the handwriting is greater than the grayscale threshold.
[0051] In this case, the whiteboard image to be displayed is first converted into a three-channel image, that is, the pixel values of the pixels involved in the text are: R = first pixel value, G = first pixel value, and B = first pixel value, and the pixel values of the pixels involved in the background are: R = second pixel value, G = second pixel value, and B = second pixel value. Then, the pixel values (i.e., first pixel values) in each channel of the obtained three-channel image that are greater than the grayscale threshold are adjusted to the pixel values of the channel of the preset color, so that the pixel values of the pixels involved in the text are adjusted to R = r, G = g, and B = b, that is, the text color is adjusted to the preset color, while the color of the pixels involved in the background remains unchanged.
[0052] (2) If the color of the writing board is greater than the grayscale threshold, then the second pixel value of the background is greater than the grayscale threshold and the first pixel value of the handwriting is less than the grayscale threshold.
[0053] In this case, the whiteboard image to be displayed is first converted into a three-channel image, that is, the pixel values of the pixels involved in the text are: R = first pixel value, G = first pixel value, and B = first pixel value, and the pixel values of the pixels involved in the background are: R = second pixel value, G = second pixel value, and B = second pixel value. Then, the pixel values (i.e., the first pixel values) in each channel of the obtained three-channel image that are less than the grayscale threshold are adjusted to the pixel values of the channel of the preset color, so that the pixel values of the pixels involved in the text are adjusted to R = r, G = g, and B = b, that is, the text color is adjusted to the preset color, while the color of the pixels involved in the background remains unchanged.
[0054] For example, if the preset color has a pixel value of 0 in the red channel, a pixel value of 255 in the green channel, and a pixel value of 0 in the blue channel (i.e., the threshold color is green), then the text color of the whiteboard image to be displayed will ultimately be adjusted to green. Figure 2 Taking the image of the whiteboard to be displayed as an example, the whiteboard data in the image has been changed from black to the green set by the user. In practice, the preset color and the color of the whiteboard are quite different, which facilitates the clear identification of the whiteboard data.
[0055] Furthermore, after adjusting the handwriting color of the whiteboard image to be displayed to a preset color in step S121, step S122 superimposes the adjusted whiteboard image to be displayed onto the writing area of the image frame. This includes: the adjusted whiteboard image to be displayed is superimposed onto the writing area of the image frame after undergoing edge smoothing processing of the handwriting, resulting in a smoother handwriting edge in the generated image to be displayed. Specifically, the edge smoothing processing can be Gaussian filtering, that is, the adjusted whiteboard image to be displayed is superimposed onto the writing area of the image frame after undergoing Gaussian filtering.
[0056] In this embodiment, the color of the text in the whiteboard image to be displayed can be customized by the user, so that the text is no longer always white or black, but can be green or red according to the user's preference, which is more interesting and helps to increase the user's interest in watching the video.
[0057] In another optional embodiment, the display parameters include different transparency parameters. In step S120, the whiteboard image to be displayed is superimposed onto the writing board area of the image frame according to the display parameters set by the user. This includes: using different transparency parameters to make the whiteboard image to be displayed and the writing board image cropped from the image frame transparent, and superimposing the processed images to obtain a composite writing board image.
[0058] Specifically, the first transparency parameter α1 can be used to make the whiteboard image to be displayed transparent to obtain the transparent whiteboard image; and the second transparency parameter α2 can be used to make the whiteboard image cropped from the image frame transparent to obtain the transparent whiteboard image.
[0059] The whiteboard image to be displayed before transparency processing can be either a whiteboard image with the text color not adjusted, or a whiteboard image with the text color adjusted. The specific process of adjusting the text color can be based on the preset color set by the user and the steps described in the above embodiments, which will not be repeated here.
[0060] It should be understood that the transparency of an image ranges from 0 to 1, therefore the values of the first transparency parameter α1 and the second transparency parameter α2 mentioned above both range from 0 to 1. Furthermore, the closer the transparency of an image is to 0, the less transparent the image is. Therefore, the closer the first transparency parameter α1 is to 0, the less transparent the whiteboard image after transparency processing, meaning the clearer the text; conversely, the closer the first transparency parameter α1 is to 1, the more transparent the whiteboard image after transparency processing, meaning the less clear the text.
[0061] It should be noted that the above-mentioned composite writing board image is formed by superimposing the transparent version of the whiteboard image to be displayed and the transparent version of the writing board image. Therefore, the size of the composite writing board image is consistent with the size of the writing board area within the image frame. Superimposing the transparent version of the whiteboard image to be displayed and the transparent version of the writing board image can be done in two ways: either the transparent version of the whiteboard image to be displayed is placed above the transparent version of the writing board image, and superimposed on it; or the transparent version of the whiteboard image to be displayed is placed below the transparent version of the writing board image, and superimposed on it. In the former case, the value of the first transparency parameter α1 also affects the clarity of the transparent version of the writing board image; in the latter case, the value of the second transparency parameter α2 also affects the clarity of the transparent version of the whiteboard image to be displayed.
[0062] In practice, users can set the first transparency parameter α1 and the second transparency parameter α2 according to the ambient light at the video shooting location and their own usage needs.
[0063] Furthermore, the first transparency parameter α1 and the second transparency parameter α2 can have a preset correlation. For example, the sum of the first transparency parameter α1 and the second transparency parameter α2 is 1. In this case, the user only needs to set one of the first transparency parameter α1 and the second transparency parameter α2, and the other is determined by the preset correlation. Alternatively, the first transparency parameter α1 and the second transparency parameter α2 can not have a correlation. In this case, the user needs to set the first transparency parameter α1 and the second transparency parameter α2 separately. Thus, the transparency of both the transparent image to be displayed and the transparent writing board image can be set by the user, which is more flexible.
[0064] In this embodiment, the transparentized whiteboard image is overlaid on the transparent whiteboard diagram, creating a scene where various objects in the image frame are positioned behind the transparent whiteboard image. This allows the user to view the complete content of the image frame. Taking a teaching video as an example, the teacher or other teaching scenarios are positioned behind the transparent whiteboard image. Since the whiteboard data helps users record important knowledge points, and the teacher or other teaching scenarios help users more concretely understand the knowledge points conveyed by the whiteboard data, viewing the complete content of the image frame is crucial for the user.
[0065] Furthermore, both the whiteboard image to be displayed and the writing area of the image frame are made transparent before being superimposed, and the transparency parameters of both are set by the user. Therefore, the image to be displayed generated based on the composite whiteboard image is more intelligent and better meets the user's viewing needs.
[0066] In another optional embodiment, the display parameters further include a flag. In step S120, the process of overlaying the whiteboard image to be displayed onto the writing board area of the image frame according to the display parameters set by the user also includes: overlaying the image to be displayed or the synthesized whiteboard image onto the writing board area of the image frame according to the flag.
[0067] Specifically, the flag can take either the first parameter or the second parameter. When the flag is set to the first parameter, the whiteboard image to be displayed is overlaid onto the whiteboard area of the image frame. Since the whiteboard image is opaque, this is the solidified state of the whiteboard. When the flag is set to the second parameter, the composite whiteboard image is overlaid onto the whiteboard area of the image frame, which is the transparent state of the whiteboard. The above overlay of the transparent whiteboard image and the transparent whiteboard image can be performed only when the flag is set to the second parameter.
[0068] In practice, the flag can take two logical values; for example, the first parameter can be the logical value "false" and the second parameter can be the logical value "true". The flag can be represented by a signal, typically a high level indicating flag = true and a low level indicating flag = false.
[0069] Furthermore, the value of the flag can be determined by a user-input switching signal, which reassigns the flag value. The processing method for whiteboard display also includes: upon receiving a switching signal, setting the flag value to another value; that is, if the flag is set to the first parameter, and a user-input switching signal is received, the flag value changes from the first parameter to the second value; if the flag is set to the second parameter, and a user-input switching signal is received, the flag value changes from the second parameter to the first value. This switching signal, by reassigning the flag value, achieves the switching control function between the transparent and solidified states of the whiteboard display.
[0070] Furthermore, a specific keyboard or mouse button can be designated as the input button for the toggle signal. Taking the spacebar as an example: When the spacebar is pressed and the flag is set to false, a toggle signal is input, and this signal is intended to switch from a transparent state to a solid state. When the spacebar is pressed and the flag is set to true, a different toggle signal is input, and this signal is intended to switch from a solid state to a transparent state.
[0071] In this embodiment, when the flag value is the first parameter, the opaque image of the whiteboard to be displayed is superimposed on the writing area of the image frame; when the flag value is the second parameter, the synthesized writing image is superimposed on the writing area of the image frame. Therefore, by controlling the value of the flag, the user can manipulate the solidification and transparency of the whiteboard, further diversifying the whiteboard display functionality.
[0072] Figure 4 The diagram shows a composite image frame. A composite image frame is an image frame in which the writing board area is replaced with the composite writing board image described above. (Refer to...) Figure 4 The top-left corner of the composite image frame is (0, 0), and the top-left corner of the writing board area within the composite image frame is (x, y). This means the composite image frame includes the writing board area and the surrounding non-writing board area. Therefore, in another optional embodiment, the display parameters further include an instruction indicating the content to be displayed in the window. If the instruction indicates that the window displays the entire screen, the image frame whose writing board area is replaced by the composite writing board image (i.e., the aforementioned composite image frame) is determined as the image to be displayed; if the instruction indicates that the window displays the writing board area, the composite writing board image is determined as the image to be displayed.
[0073] Specifically, the aforementioned composite writing board image is an image that is no longer located within an image frame but has a positional relationship with the image frame. In this case, if the instruction indicates that the window displays a writing board area, then no processing of the composite writing board image is required to obtain the image to be displayed; if the instruction indicates that the window displays a complete screen, then the composite writing board image and the image frame with the cropped writing board image need to be spliced together to form an image frame in which the writing board area is replaced by the composite writing board image, thus obtaining the image to be displayed.
[0074] In this embodiment, the instruction indicates that the window displays either the entire screen or a writing board area. The instruction is set by the user, so the window can display different content under the user's control. Specifically, when the instruction indicates that the window displays a writing board area, the composite writing board image is determined as the image to be displayed. Finally, in step S130, the image frame is replaced with the composite writing board image for display. This helps students watching the instructional video to focus their attention on the composite writing board image.
[0075] This disclosure also provides an electronic device 1300, such as... Figure 5 As shown, it includes a memory 1310 and a processor 1320, as well as a program stored in the memory 1310 and executable on the processor 1320. When the program is executed by the processor 1320, it can implement the various processes of the above-described processing methods for whiteboard display and achieve the same technical effect.
[0076] Specifically, the program may include at least one of the following functional modules: a custom handwriting color module 1311, a custom handwriting transparency module 1312, a handwriting solidification and transparency switching module 1313, and a display window content control module 1314. The custom handwriting color module 1311 adjusts the handwriting color of the handwriting image to be displayed according to a user-set preset color. The custom handwriting transparency module 1312 forms the aforementioned composite handwriting image according to a user-set first transparency parameter α1 and a second transparency parameter α2. The handwriting solidification and transparency switching module 1313 controls the switching between the handwriting transparency state and the handwriting solidification state according to a user-set flag. The display window content control module 1314 controls the window display content according to user-set instructions. The specific methods for implementing the functions of these four modules have been described in the above embodiments; to avoid repetition, the four modules will not be described again here. It should be understood that these four modules can all be made into plug-in libraries for use by users and hardware / software platforms in need.
[0077] Of course, the electronic device may also include auxiliary sub-devices such as power supply component 1330, network interface 1340 and input / output interface 1350.
[0078] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. Therefore, this disclosure also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program can implement the various processes in the embodiments of the above-described processing methods for whiteboard display. The computer-readable storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0079] Since the program stored in the readable storage medium can execute the steps of any of the processing methods for whiteboard display provided in the embodiments of this disclosure, it can achieve the beneficial effects that any of the processing methods for whiteboard display provided in the embodiments of this disclosure can achieve, as detailed in the preceding embodiments, and will not be repeated here. The specific implementation of each of the above operations can be found in the preceding embodiments, and will not be repeated here.
[0080] It should be noted that in describing the various embodiments in this specification, the focus is on the differences from other embodiments, while the same or similar parts between the various embodiments can be understood by referring to each other. For the system embodiments, since they are basically similar to the method embodiments, the relevant parts can be referred to the description of the method embodiments.
[0081] Furthermore, it should be noted that in the apparatus and method of this disclosure, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent solutions of this disclosure. Moreover, the steps performing the above series of processes can naturally be executed in the order described, but are not necessarily required to be executed in chronological order; some steps can be executed in parallel or independently of each other. Those skilled in the art will understand that all or any step or component of the method and apparatus of this disclosure can be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or a combination thereof, which can be achieved by those skilled in the art using their basic programming skills after reading the description of this disclosure.
[0082] Finally, it should be noted that the above embodiments are merely examples for clearly illustrating this disclosure and are not intended to limit the implementation. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of this disclosure.
Claims
1. A processing method for displaying blackboard writing, characterized in that, include: Obtain the whiteboard image to be displayed. The whiteboard image to be displayed is a complete whiteboard image extracted from an image frame of a video. The whiteboard image to be displayed is a grayscale image in which the handwriting and background reach a set contrast. Different transparency parameters are used to make the whiteboard image to be displayed and the whiteboard image cropped from the image frame transparent, and the processed images are superimposed to obtain a composite whiteboard image; Based on the display parameters set by the user, the image to be displayed or the composite writing board image is superimposed onto the writing board area of the image frame, and an image to be displayed is generated based on the superimposed image; and the image frame is replaced with the image to be displayed for display. The display parameters include an identifier, which takes the value of a first parameter or a second parameter. When a switching signal is received from the user, the value of the identifier is set to another value to switch between the solidified state and the transparent state of the whiteboard.
2. The processing method according to claim 1, characterized in that, The display parameters also include preset colors, and the selection of overlaying the to-be-displayed whiteboard image or the synthesized whiteboard image onto the whiteboard area of the image frame according to the user-set display parameters includes: Adjust the color of the text in the whiteboard image to be displayed to the preset color; The adjusted whiteboard image to be displayed is superimposed onto the writing area of the image frame.
3. The processing method according to claim 2, characterized in that, Adjusting the text color of the whiteboard image to be displayed to the preset color includes: converting the whiteboard image to be displayed into a three-channel image, and adjusting the pixel value of the text in each channel of the obtained three-channel image to the pixel value of the preset color for that channel.
4. The processing method according to claim 2, characterized in that, Overlaying the adjusted whiteboard image to be displayed onto the writing board area of the image frame includes: the adjusted whiteboard image to be displayed is overlaid onto the writing board area of the image frame after the edges of the characters are smoothed.
5. The processing method according to claim 1, characterized in that, The display parameters also include instructions that specify the content to be displayed in the window, wherein, When the instruction window displays the entire screen, the image frame that replaces the writing board area with the composite writing board image is determined as the image to be displayed. When the instruction window displays a writing board area, the synthesized writing board image is determined as the image to be displayed.
6. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1-5.