Processing device, system and method for board writing display
Abstract
Disclosed is a processing device, a system, a method for board writing display. The processing device comprises: an extraction unit to extract a first board-writing image from a first image frame in a video and a second board-writing image from a second image frame in the video; a supplement unit to determine an occlusion area of the second board-writing image based on a target object segmentation image of the second image frame, and replace the occlusion area of the second board-writing image with a corresponding area of the first board-writing image to obtain a third board-writing image; an output unit to generate an output image frame based on the second image frame and the third board-writing image, the output image frame presents an image with a target object located behind a transparentized board writing content. The present disclosure enables the board-writing data in the video to be presented completely.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A processing device for board writing display, wherein the processing device comprises: an extraction unit, configured to extract a first board-writing image from a first image frame in a video and a second board-writing image from a second image frame in the video; a supplement unit, configured to determine an occlusion area of the second board-writing image based on a target object segmentation image of the second image frame, and replace the occlusion area of the second board-writing image with a corresponding area of the first board-writing image to obtain a third board-writing image; an output unit, configured to generate an output image frame based on the second image frame and the third board-writing image, wherein the output image frame presents an image with a target object located behind a transparentized board writing content; wherein, the first board-writing image is a board-writing image with complete board-writing data, and the second board-writing image is a board-writin
- Claim 2Depends on #1
The processing device according to claim 1, wherein the extraction unit is configured to extract a board-writing image of any image frame in the video by performing following steps, comprising: obtaining a target object segmentation image of said any image frame, wherein a contrast ratio between a target object and a background in the target object segmentation image of said any image frame reaches a predetermined contrast ratio; obtaining a grayscale image to be processed based on a grayscale image of said any image frame, according to a color board type of a writing board; performing an image operation on the target object segmentation image of said any image frame and the grayscale image to be processed to highlight board-writing data, and performing a binarization processing on an image obtained by performing the image operation to obtain the board-writing image of said any image frame.
- Claim 3Depends on #2
The processing device according to claim 2, wherein the extraction unit is configured to obtain the target object segmentation image of said any image frame by obtaining a matte image or a mask-code image of the target object in said any image frame.
- Claim 4Depends on #2
The processing device according to claim 2, wherein the extraction unit is further configured to determine the color board type of the writing board based on a pixel value distribution of the grayscale image of said any image frame in the video.
- Claim 5Depends on #2
The processing device according to claim 2, wherein the extraction unit is further configured to perform an edge smoothing and enhancement processing on a character in the image obtained by performing the binarization processing, and to determine the image obtained after performing the edge smoothing and enhancement processing as the board-writing image of said any image frame.
- Claim 6Depends on #2
The processing device according to claim 2, wherein said any image frame is divided into an area of the writing board and a peripheral area around the writing board; the extraction unit is further configured to crop the area of the writing board from said any image frame, obtain a target object segmentation image of the area of the writing board as the target object segmentation image of said any image frame, and obtain a grayscale image of the area of the writing board as the grayscale image of said any image frame which is a basis for obtaining the grayscale image to be processed.
- Claim 7Depends on #6
The processing device according to claim 6, wherein said any image frame has coordinate information of four vertices of the writing board in said any image frame, the extraction unit is further configured to crop the area of the writing board from said any image frame by performing following steps, comprising: determining the area of the writing board in said any image frame based on the coordinate information, and cropping out the determined area of the writing board.
- Claim 8Depends on #1
The processing device according to claim 1, wherein the output unit is configured to generate the output image frame by performing following steps, comprising: processing the third board-writing image to obtain a transparentized board image, according to a color board type of a writing board; superimposing the transparentized board-writing image on an area of the writing board in the second image frame.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims the priority of Chinese Patent Application No. 202210471921.0, filed on Apr. 29, 2022, entitled by “ PROCESSING DEVICE, SYSTEM AND METHOD FOR BOARD WRITING DISPLAY ” , and published as CN114860184A on Aug. 5, 2022, which is incorporated herein by reference in its entirety. FIELD OF TECHNOLOGY The present disclosure relates to a technical field of video processing, in particular to a processing device, a system and a method for board writing display. BACKGROUND With the popularity and popularization of online education, a teaching video has become an indispensable type of educational resource. The teaching video is a video obtained by shooting a teaching scenario with a camera. In the teaching scenario, a teacher teaches by writing data on a writing board, and the board-writing data is very important for making the teaching video understood. However, in a case that the teacher occludes the writing board, the teaching video cannot present the board-writing data completely. SUMMARY In order to solve the above technical problems, the present disclosure provides a processing device, a system and a method for board writing display. According to a first aspect of the present disclosure, a processing device for board writing display is provided, and comprises: an extraction unit, configured to extract a first board-writing image from a first image frame in a video and a second board-writing image from a second image frame in the video; a supplement unit, configured to determine an occlusion area of the second board-writing image based on a target object segmentation image of the second image frame, and replace the occlusion area of the second board-writing image with a corresponding area of the first board-writing image to obtain a third board-writing image; an output unit, configured to generate an output image frame based on the second image frame and the third board-writing image, wherein the output i
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
| Patent | Title | Year | Citations |
|---|