Remote video teaching method and device for cardiac surgery standard maze surgery
Through the remote video teaching method, using main control equipment and wireless network technology, efficient remote guidance of cardiac surgical maze surgery is achieved, solving the problems of limited operating room space and geographical isolation, improving the learning efficiency of interns and reducing operating room costs. occupied.
Patent Information
- Application Number
- CN202410627806.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In clinical practice, it is difficult for surgical experts to provide efficient guidance to interns, especially due to the limited space in the operating room and the geographical isolation of different hospitals, which reduces the learning speed of interns and makes it impossible to achieve collective guidance and teaching.
Provides a remote video teaching method for standard maze surgery in cardiac surgery. The camera and laser transmitter are controlled through the main control device to capture and adjust the image clarity in real time. It is connected to the display device through the wireless network and uses the intelligent program of the CPU to analyze the progress of the surgery. and expert voice information, combined with speech recognition and intelligent analysis models, to achieve remote teaching and guidance.
It achieves efficient remote video teaching without occupying a large amount of operating room space, solves the problem of geographical isolation, and solves the confusion of experts, doctors and interns by controlling layer transparency, improving teaching efficiency.
Smart Images

Figure CN118587947A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical teaching equipment, and in particular to a remote video teaching method and equipment for standard maze operation in cardiac surgery. Background Art
[0002] In clinical practice, when surgical experts provide surgical guidance to their interns, they usually choose to bring the interns into the operating room to demonstrate and guide the surgical process. However, the operating room is small and it is difficult to complete the simultaneous guidance and teaching of a large number of interns. In addition, the surgical process lacks the effect of repeated viewing, which reduces the learning speed of interns. At the same time, different experts are located in different regions and hospitals, so it is difficult to complete the collective guidance and teaching of interns from different hospitals. In view of the above problems, a remote video teaching method and equipment for standard maze surgery in cardiac surgery is proposed. Summary of the invention
[0003] The purpose of the present invention is to provide a remote video teaching method and equipment for standard maze operation in cardiac surgery to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a remote video teaching method for standard maze operation in cardiac surgery, comprising:
[0005] S1. The operator controls the laser transmitter through the main control device, calibrates the camera shooting position, and controls the camera to adjust the clarity of the captured image;
[0006] S2, the main control device obtains the image information captured by the camera, and transmits the image information to the storage card of the main control device for storage;
[0007] S3, the main control device is connected to the display device through wireless network technology, and the user views and operates the surgical image through the display device;
[0008] S4, the camera of the main control device obtains the shooting picture, and uses the built-in intelligent program of the CPU of the main control device to obtain the progress of the operation;
[0009] S5. The main control device obtains the expert voice information, combines the voice recognition technology to obtain the expert's voice text, and obtains the corresponding results according to the user identity through the intelligent analysis model and displays them.
[0010] Preferably, the operator controls the laser transmitter through the main control device to calibrate the camera shooting position and control the camera to adjust the clarity of the captured image, specifically including:
[0011] S1.1. The main control device stores the video captured by the camera in the main control device or an external USB flash drive, or stores the video in the cloud;
[0012] S1.2. An operator obtains the positions of multiple laser points projected by the laser transmitter on an actual object, records the positional relationship between the multiple laser points and the actual object, and obtains laser mapping with high accuracy.
[0013] Preferably, the main control device acquires the image information captured by the camera, and transmits the image information to a storage card of the main control device for storage, which specifically includes:
[0014] The operator uses the recording (on / off) button on the main control device. When the button is pressed once, the storage program of the main control device is started. The storage program can automatically obtain the image information of the camera and transmit the image information to the storage card to store it in the form of an image file; when the button is pressed twice in succession, the storage program of the main control device is stopped.
[0015] Preferably, the main control device is connected to the display device via wireless network technology, and the user views and operates the surgical images via the display device, specifically including:
[0016] S3.1. Display devices include mobile phones, tablet computers, and touch screens;
[0017] S3.2. The user opens the dedicated APP through the display device, fills in personal information in the dedicated APP to create an account, and the dedicated APP is connected to the main control device through the display device. The main control device obtains the personal information and determines the personal information. If the personal information is expert personal information, the user automatically enters the expert page, otherwise the user automatically enters the audience page;
[0018] S3.3, the expert page includes an expert page display area and an expert page button area. The expert uses the buttons in the expert page button area to transmit the button-related information to the CPU of the master device for analysis through the connection between the dedicated APP and the master device to obtain the analysis result. The analysis result is automatically distributed to the corresponding device through a preset program to complete the specified function. At the same time, the preset program can also control the display, disappearance, zooming in and out of various pages. It is a common program and will not be described again later; the buttons in the expert page button area mainly include file manager, storage location, laser display time, video information and watermark, Bluetooth connection, white balance, maze radius, special map, graffiti, and device information;
[0019] The specific functions of the buttons in the expert page button area include:
[0020] File manager button: button for managing files;
[0021] Storage location button: button for selecting the file storage location;
[0022] Laser display time: button to set the laser transmitter display time, the default value is 5s;
[0023] Video information and watermark: button to display video information and video watermark;
[0024] Bluetooth connection: a button for setting the main control device to connect with a device with a Bluetooth receiver;
[0025] White balance: a button for setting the white balance parameters of the display device, the default value is automatic; Maze diameter: a button for displaying a schematic diagram of the maze diameter;
[0026] Special pattern: button showing the organ currently undergoing maze-route surgery;
[0027] Doodle: a button for drawing on the display device;
[0028] Device Information: A button to open the settings page of the current master device;
[0029] Experts can use the maze line button to display the maze line secondary panel in the expert page display area. The maze line secondary panel includes the maze line guide interface and the secondary button interface. The secondary button interface includes close, Figure 1 , indicate Figure 2 ; If the expert selects the indication under the secondary button Figure 1 button, the maze path guide interface obtains the schematic diagram Figure 1 The picture or video is displayed on the maze path guide interface by switching pages. Figure 1 Pictures or videos showing Figure 2 Buttons and instructions Figure 1 The working process of the buttons is the same and will not be described again; by using the device information button, the expert can display the device information interface and multiple buttons, including exit surgery, focus +, focus -, zoom +, positioning, auto focus, graffiti, laser duration, laser, exit full screen, voice, sound;
[0030] The specific functions of the multiple buttons include:
[0031] Exit surgery: a button to exit the expert page display area;
[0032] Focus+, Focus-, Zoom+: buttons for manually adjusting the focus of the camera of the master control device and adjusting the clarity of the display area of the expert page;
[0033] Positioning: Four-way button, select one of the direction arrows to adjust the position of the camera of the main control device;
[0034] Autofocus: The main control device automatically adjusts the camera focus button to adjust the clarity of the expert page display area;
[0035] Doodle: a button for drawing on the display device;
[0036] Laser duration: button to set the laser transmitter display time, the default value is 5s;
[0037] Laser: a button to turn on the laser transmitter of the master device;
[0038] Exit full screen: a button to set the current expert page display area to full screen mode;
[0039] Voice: button to turn on / off the microphone of the current display device;
[0040] Sound: A button to turn on / off the speaker of the current display device;
[0041] S3.4. The audience page includes an audience page display area and an audience page button area. The audience page button area mainly includes exit surgery, refresh, exit full screen, and select surgery;
[0042] The specific functions of the audience page button area include:
[0043] Refresh: a button to manually update the current audience page display area screen;
[0044] Select surgery: Select the button to view and review the surgery or watch the surgery live;
[0045] Preferably, the camera 6 of the main control device 3 obtains the shooting picture, and uses the built-in intelligent program of the CPU 34 of the main control device 3 to obtain the surgical progress, which specifically includes:
[0046] S4.1. Constructing a surgical tutorial and a parameter table related to a recommended curve. The main control device obtains relevant data on the server, obtains a structured surgical procedure and preset recommended curve parameters, and writes them into the surgical tutorial and the parameter table related to the recommended curve in the form of a data table;
[0047] The relevant data is stored in the server in a structured manner. The data in the server is obtained from various medical devices or networks. The data in the server is structured data. The name of the operation, the operation steps, and the category of each operation step are written into the operation tutorial in the form of a data table.
[0048] The surgical step categories include radial category and non-radial category. The radial category includes all surgical steps that require ablation equipment, and the non-radial category includes other surgical steps except those that require ablation equipment.
[0049] The parameters of the recommended curve related parameter table include laser display time, number of laser drawings, number of repeated drawings, curve drawing completion time, whether to enable external laser control intervention, blocked targets, changed targets, and unchanged targets; the parameters of the preset recommended curve parameter table include setting the laser display time, whether to enable external laser control intervention, and number of laser drawings;
[0050] The laser drawing includes, if the surgical step category belongs to the radial category, turning on the laser emitter, drawing a laser curve at the corresponding part, and displaying the drawn laser curve in a superimposed manner according to the change of the surgical progress;
[0051] S4.2, construct a historical interception table, record or update it in the form of a data table, the historical interception table includes the shooting picture, shooting time, the category of the target in the detection result set, and the starting and ending coordinate positions of the radial category target;
[0052] S4.3, the CPU of the main control device obtains the shooting picture of the camera in real time, obtains the detection result set of the shooting picture through the picture detection program, records the shooting time, and stores it in the historical interception table;
[0053] The input of the picture detection program includes a captured picture and an optional parameter, and the optional parameter is the target entity name; if the optional parameter is empty, the detection result of the captured picture is obtained through target tracking technology, image segmentation technology and image classification technology, and the detection result includes the ID, entity name, rectangular frame coordinates, and target segmentation coordinates of each target. If the optional parameter is not empty, the detection result is filtered according to the optional parameter, and only the detection result of the optional parameter is retained; the category of the target includes radial targets and non-radial targets, and the target category of the radial target is further analyzed through the ablation radial fitting program to obtain the starting and end positions of the radial targets;
[0054] The ablation radial line fitting program obtains the edge coordinate set of the atrium on the captured image through image segmentation technology to form an atrial edge range area; obtains the segmentation coordinates of the radial line target, determines whether the segmentation coordinates of the radial line target are within the atrial edge range area, traverses the segmentation coordinates of the radial line target, and retains the radial line target if the segmentation coordinates of each radial line target are within the atrial edge range area. The outliers of the retained radial line target segmentation coordinates are removed through the naive Bayes classification algorithm to obtain multiple available radial line targets. Segmentation coordinates, using the least squares method combined with the L2 norm regularization term, using the available radial target segmentation coordinates to obtain the linear regression model of the radial target; obtaining the segmentation coordinates of the radial target, and by comparing the values of each segmentation coordinate in the x-axis direction, respectively obtaining the segmentation coordinate point A with the smallest value in the x-axis direction and the segmentation coordinate point B with the smallest value in the y-axis direction; using the linear regression model of the radial target, respectively calculating the y values of the segmentation coordinate point A and the segmentation coordinate point B, and obtaining the starting and ending positions of the radial target;
[0055] Summarize the detection results, the starting point and the end point of the radial target to obtain a detection result set;
[0056] S4.4, by searching, searching the historical capture table for a shooting time earlier than the current shooting time, and extracting a previous detection result set; the main control device obtains the current picture, the current detection result set, the previous picture, and the previous detection result set, and obtains the change of the current picture through the picture analysis algorithm;
[0057] The picture analysis algorithm specifically includes:
[0058] 1) traverse the current detection result set to obtain the ID, rectangular frame coordinates, and category of each current target, and traverse the previous detection result set to obtain the ID, rectangular frame coordinates, and category of each previous target;
[0059] 2) The master control device obtains the ID of each current target and the ID of each previous target, and obtains two types of results by comparison: one is a set of targets with the same ID, including the result that the current target ID completely matches the previous target ID; the other is a set of targets with different IDs, including the result that the current target ID does not match the previous target ID;
[0060] 3) Obtaining a target set with the same ID and determining the category, wherein the determination process includes analyzing the category of each current target and each previous target and obtaining the category thereof;
[0061] 4) If both categories belong to the radial category, the main control device obtains the starting point and the end point of the radial target from the current result set and the previous result set, respectively, and connects the starting point and the end point to draw a straight line to obtain the current radial line l now , and the previous radial line l bef ; Move the previous radial line type straight line l bef , so that l bef The starting point and the current radial line class straight line l now The starting points of the two straight lines coincide; calculate the bef With l now If the angle is within the threshold, the radial target has not changed; otherwise, the radial target has changed;
[0062] 5) If both categories belong to the non-radial line category, the main control device obtains the rectangular frame coordinates of the non-radial line target and the camera parameters of the camera from the current result set and the previous result set respectively, and the parameters include the focal length (f x ,f y ), optical center point (c x ,c y ), and distortion parameters D = (k1, k2, k3, P1, P2); calculate the coordinates (x, y) of each rectangular frame in the three-dimensional coordinate system. The calculation process includes:
[0064]
[0065] , Z=1, get the three-dimensional coordinates of each rectangular box; get the three-dimensional coordinates (X, Y, Z) of the four corner points of the rectangular box of the current non-radial line target, the three-dimensional coordinates (X′, Y′, Z′) of the four corner points of the rectangular box of the previous non-radial line target, and use the three-dimensional Euclidean distance formula Calculate the true distance between each pair of corresponding points to obtain four true distances, and calculate the average of the four true distances to obtain the final distance between the current target and the previous target. If the final distance is within a set threshold, the current target has not changed, otherwise the current target has changed;
[0066] Obtain the target set with different IDs, and further determine the target entity name. If the entity name of the current target is the same as the entity name of the previous target, determine that the current target ID is wrong, and update the ID of the current target according to the ID of the previous target. If the entity name of the current target is different from the entity name of the previous target, calculate the IOU value between the current target rectangular box position and the rectangular box position of each previous target. If the IOU value is greater than the threshold, the current target has been occluded, otherwise the current target has changed.
[0067] The CPU of the main control device counts the results of the above steps to obtain the blocked targets, the changed targets, and the unchanged targets in the captured image, and records them in the recommended curve related parameter table;
[0068] S4.5. The CPU of the main control device obtains the number of laser drawings in the recommended curve related parameter table, obtains the completed ablation path by comparison with the surgical tutorial, obtains the coordinates and category of the target frame of the shooting screen by image target detection technology and image classification technology, and the categories include organ class, hand class and surgical tool class; if there are coordinates of the hand class target frame, the CPU of the main control device obtains the coordinates of the hand class target frame, captures a hand class picture, and obtains the hand class gesture by gesture recognition technology, and the gestures include working and idle; the built-in GPT assistant of the main control device uses the surgical tutorial as known information, and obtains the surgical progress and the confidence of the current surgical progress according to the completed ablation path, the shooting screen target coordinates and category, the hand class gesture, and the blocked targets, changed targets and unchanged targets in the recommended curve related parameter table; the surgical progress includes the current surgical name, surgical step category and surgical step;
[0069] The built-in GPT assistant is a trained large model in the Chinese medical field, which can record historical conversation information; determine the length of the historical conversation information, and if the length of the historical conversation information is less than a preset value, obtain the shooting picture, describe the shooting picture through the built-in GPT assistant, and use the description content of the shooting picture as the historical conversation information;
[0070] A customized prompt may be added to the historical conversation information and input into the built-in GPT assistant to obtain a corresponding answer.
[0071] Preferably, the main control device obtains the expert voice information, combines the voice recognition technology to obtain the expert's voice text, and obtains and displays the corresponding results according to the user identity through the intelligent analysis model, which specifically includes:
[0072] S5.1. Construct a multi-time dimension confusion memory table, and record or update it in the form of a data table. The multi-time dimension confusion memory table includes user identity, user status, confusion generation time, confused surgery progress, confusion end time, and confusion degree. The user identity includes audience, doctor, and expert. The user status includes confused state and normal state. The confused state includes the state in which the user is confused about the surgery, and the normal state includes the state in which the user normally understands the surgery tutorial. The confusion degree can be set only when the user identity is audience.
[0073] S5.2. According to the laser display time in the recommended curve related parameter table, the display time of the laser emitter 7 is set. According to the surgical progress, if the surgical step belongs to the radial line category, the laser emitter draws a curve at the corresponding part to obtain the drawn curve, and records the completion time of the drawn curve and the number of laser drawings in the recommended curve related parameter table;
[0074] S5.3, the doctor performs surgery according to the drawn curve, and at the same time, the CPU of the main control device obtains the shooting picture, executes step S4 regularly, obtains the surgery progress, and the storage card of the main control device records the surgery progress. If the surgery progress does not change, the time when the surgery progress does not change is recorded;
[0075] S5.4. If the operation progress is compared with the operation progress on the storage card of the main control device and the operation progress has changed, then the time of recording the unchanged operation progress is stopped and reset, and the user identity is stored as a doctor and the user status is normal, which are stored in the multi-dimensional confusion memory table; if the time of unchanged operation progress exceeds the threshold, then the time of recording the unchanged operation progress is stopped and reset; the main control device updates the laser display time and the number of repeated drawings in the recommended curve related parameter table, and executes steps S5.3-S5.4 again. If the time of unchanged operation progress exceeds the threshold and the number of repeated drawings in the recommended curve related parameter table is ≥2, the number of repeated drawings in the recommended curve related parameter table is reset, and the user identity is stored as a doctor, the user status is the confused state, the current time is stored as the confusion generation time, and the operation progress is the confused operation progress. In the multi-time dimensional confusion memory table, whether to turn on external laser control intervention in the recommended curve related parameter table is updated to "yes";
[0076] The expert display device of the expert can enable the use authority of the laser transmitter, and the expert communicates with the doctor through the built-in microphone of the expert display device; the expert display device obtains the graffiti curve drawn by the expert, and transmits it to the main control device through wireless network technology, and the main control device displays the graffiti curve at the corresponding part through the laser transmitter; at the same time, through step S4, the CPU of the main control device obtains the surgical progress and compares it with the surgical progress on the storage card of the main control device. If the surgical progress changes, the current time is recorded as the confusion end time and stored in the multi-time dimension confusion memory table. The graffiti curve drawn by the expert is a curve drawn by the expert in the expert page display area using the graffiti function in the expert display device;
[0077] S5.5. The CPU of the main control device obtains the surgical progress and surgical tutorial of step S4. According to the surgical progress, the category of the surgical steps currently to be performed is obtained from the surgical tutorial. If the surgical step category belongs to the radial category, it starts with a frequency of once every 1 second, using the optional parameter as the ablation tool, and obtains the detection result of the ablation tool target in the captured image through the image detection program described in step S4.3, including the target rectangular frame coordinates and the segmentation coordinates. If the detection result is not empty, then further in the captured image, according to the target rectangular frame coordinates, the ablation tool target image is cut off, and the key part of the ablation tool is detected through the image segmentation technology to obtain the detection result of the key part of the ablation tool, which includes the key part rectangular frame coordinates and the key part segmentation point coordinates. If the detection result of the key part of the ablation tool is not empty, that is, the ablation tool is in use, then the ablation tool target image and the ablation tool key part detection result are stored in the memory of the main control device. Otherwise, the ablation tool is not in use, and nothing is stored in the memory of the main control device.
[0078] If the surgical steps of the surgical progress change, stop the image detection program; obtain the target image of the ablation tool and the detection results of the key parts of the ablation tool, obtain the starting and ending positions of the key parts of the ablation tool through the ablation path fitting program in step S4.3, connect the starting and ending positions, and form a doctor path curve;
[0079] S5.6. According to the surgical tutorial, if the surgical step category in the surgical tutorial belongs to the radial category, the CPU of the main control device obtains the doctor's radial curve, the drawn curve of the laser transmitter, and the scribble curve drawn by the expert, calculates the absolute error between the doctor's radial curve, the scribble curve, and the drawn curve, and gives the expert corresponding operation authority according to the absolute error, specifically including:
[0080] 1) The main control device obtains the absolute error. If the absolute error between the doctor's diameter curve and the graffiti curve is within a threshold range, and the absolute error between the doctor's diameter curve and the drawn curve exceeds the threshold range, the surgical progress is inaccurate. The video is obtained from the storage card of the main control device, and multiple segments of highlighted video files are obtained through a video segment highlighting program. The expert views the highlighted video file through the expert display device, opens the expert's authority to select the highlighted part, and changes the surgical progress.
[0081] 2) The main control device obtains the absolute error. If the absolute error between the scribble curve and the drawn curve is within a threshold range, and the absolute error between the doctor's surgical path curve and the scribble curve exceeds the threshold range, the current time is obtained as the time when confusion occurs, and the surgical progress is the confused surgical progress. Combined with the user's identity as an expert and the user's state as a confused state, the results are stored in the multi-time dimension confusion memory table. At the same time, the CPU of the main control device updates the parameter table related to the recommended curve to indicate whether to enable external laser control intervention to "yes", thereby enabling the expert to use the laser transmitter. The expert communicates with the doctor through the built-in microphone of the expert display device, and redraws the scribble curve through the scribble. The laser transmitter obtains the redrawn scribble curve through wireless network technology and displays it at the corresponding position. At the same time, the CPU of the main control device executes steps S5.2-S5.5.
[0082] 3) The main control device obtains the absolute error. If the absolute error between the scribble curve and the drawn curve exceeds the threshold range, and the absolute error between the doctor's diameter curve and the scribble curve exceeds the threshold range, the video segment highlighting program is executed to obtain multiple bright-marked video files. The CPU of the main control device calculates the average value of the absolute error and normalizes it to between 0 and 1 to obtain the normalized absolute error average value. According to the normalized absolute error average value, the opacity of multiple highlighted video files is set; the multiple highlighted video files are traversed, and the CPU of the main control device obtains the center position of each highlighted video file screen, based on According to the center position of the screen, align each segment of the highlighted video file, and overlay and display them in the audience page display area and the expert page display area of the user display device. At the same time, according to whether the external laser control intervention is turned on in the recommended curve related parameter table and the answer is "yes", enable the expert's permission to use the laser transmitter, and the CPU of the main control device executes steps S5.2-S5.5; 4) The video segmentation highlighting program includes: the CPU of the main control device obtains the recommended curve related parameter table and the video, and uses the drawing completion time in the recommended curve related parameter table to segment the video to obtain multiple video files. The CPU of the main control device obtains the surgical tutorial, and obtains the technical terms of the surgery through the built-in GPT assistant of the main control device;
[0083] Traverse the multiple video files, and for each video file, obtain the segmentation result of each frame in each video file by image segmentation technology; obtain the special nouns of the operation, and filter the segmentation results of each frame. If the segmentation results of each frame contain the special nouns of the operation, highlight the segmentation results of each frame; if the segmentation results of each frame do not contain the special nouns of the operation, obtain the occluded target in the parameter table related to the recommended curve, and if the occluded target is consistent with the special nouns of the operation, regenerate the occluded target by adversarial generation technology, and highlight the regenerated occluded target, otherwise remove the video file, and obtain multiple highlighted video files through the above steps;
[0084] S5.7, when the expert is giving instructions and explanations, the master control device has a built-in GPT assistant, which acquires the expert's voice content, obtains the voice text and voice time through the voice recognition algorithm, sets a custom prompt for the built-in GPT assistant, extracts key parts of the voice text, and obtains precautions about the surgery, surgical-related proper nouns, and names of related surgeries;
[0085] S5.8. While the audience is watching the expert's explanation, the CPU of the main control device obtains the precautions of the operation, the proper nouns related to the operation, and the name of the operation related to the operation, and obtains the audience's facial image in real time through the built-in camera of the user display device, and obtains the audience's expression results in combination with expression recognition technology, and the expression results include confused expression and normal expression; if the confused expression appears, the main control device has a built-in GPT assistant to obtain the operation progress, the audience's conversation history and the audience's facial image, obtain the normalized audience's confusion level, record the user identity as the audience, the user state as the confused state, the audience's confusion level as the confusion level, the current time as the confusion generation time, and the operation progress as the confused operation progress, and store them in the multi-time dimension confusion memory table;
[0086] The CPU of the master control device obtains the proper noun set, obtains multiple segments of highlight-marked video files through the video segment highlighting program, and sorts the multiple segments of highlight-marked video files according to the drawing completion time of the recommended curve related parameter table, and processes them in a conventional manner:
[0087] Calculate the time difference between the drawing completion time and the current time of each highlight-marked video file. If the time difference is large, the opacity of the highlight-marked video file is smaller. Otherwise, the opacity of the highlight-marked video file is larger. Obtaining a preset opacity of the highlighted video file, obtaining the degree of confusion, combining the preset opacity, and using the method of overall opacity = preset opacity × preset opacity weight + degree of confusion × degree of confusion weight, calculating the overall opacity of each highlighted video file, and connecting the multiple highlighted video files together according to the sorting results of the multiple highlighted video files, and displaying them in the audience page display area of the user display device;
[0088] The opacity settings also include:
[0089] Obtain the voice text and voice time of step S5.6, set a custom prompt through the built-in GPT assistant to extract the time-related descriptive words in the voice text, if the built-in GPT assistant obtains the time-related descriptive words, then calculate the difference between the drawing completion time of the recommendation curve related parameter table and the voice time, obtain the corresponding highlight mark video file, and adjust the preset opacity weight; otherwise, process in a conventional manner, wherein the preset opacity weight is obtained from the server;
[0090] The CPU of the main control device obtains the surgical tutorial and the name of the related surgery, obtains the text segment in the surgical tutorial with the same surgical name as the name of the related surgery through text extraction, and displays it in the tutorial display area of the user display device; at the same time, the main control device has a built-in GPT assistant, which starts to regularly obtain the surgical progress, the audience's conversation history and the audience's facial image, and obtains the normalized audience's confusion level; obtains the normalized audience's confusion level and the confusion level in the multi-time dimensional confusion memory table, and by comparison, if the normalized audience's confusion level is reduced, cancels the tutorial display area superimposed on the user display device, records the current time as the confusion end time, and stores it in the multi-time dimensional confusion memory table, and at the same time stops the built-in GPT assistant from regularly obtaining the surgical progress, the audience's conversation history and the audience's facial image;
[0091] Preferably, the remote video teaching equipment for the above-mentioned standard maze operation in cardiac surgery includes a base bracket, brake rollers are fixedly installed at the bottom of the four corners of the base bracket, the upper end of the base bracket is fixedly installed with a main control device, a camera bracket is installed on the main control device, a camera shell is installed on the camera bracket, the camera shell is fixedly installed with a camera, a laser transmitter and a microphone, and the camera and the laser transmitter are located at the bottom of the camera shell.
[0092] Preferably, the main control device includes an electrical box, the lower end of the electrical box is fixedly mounted on the base support frame, the upper end of the electrical box is fixedly mounted on the camera bracket, a main box is fixedly mounted in the electrical box, a main box is fixedly mounted in the main box, a CPU, a storage card, a wireless projection module and a loudspeaker are fixedly mounted on the main board, the main board is connected to an external network cable and a power supply, the main board is electrically connected to a camera, a laser transmitter and a microphone, the main board is electrically connected to a main control screen, and the main control screen is fixedly mounted on the camera bracket.
[0093] Compared with the prior art, the present invention has the following beneficial effects:
[0094] The method proposed in the present invention can accurately shoot the locations that need to be shot, and store or transmit the shot videos to a display device for interns to refer to and learn from. At the same time, there is no need for a large number of interns to enter the operating room, reducing the space occupied in the operating room. In addition, the method can communicate with external experts, who can guide and explain the surgery, solving the problem that experts from different regions or hospitals cannot provide remote surgical guidance and teaching. In addition, controlling the transparency of the overlay layer solves the confusion caused by experts, doctors and interns.
[0095] The device integrates a main control device, a camera housing, a camera, and a laser transmitter, which is convenient for use and adjustment of the camera during use; the device can be connected to a display device through wireless transmission technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] Figure 1 This is a flow chart of the first embodiment of the present invention;
[0097] Figure 2 This is a schematic diagram of the disassembly of the device according to the second embodiment of the present invention;
[0098] Figure 3 This is a partial structural diagram of the second embodiment of the present invention;
[0099] In the figure: base bracket 1, brake roller 2, main control device 3, electrical box 31, main box 32, main board 33, CPU 34, storage card 35, wireless screen projection module 36, loudspeaker 37, camera bracket 4, camera shell 5, camera 6, laser transmitter 7;
[0100] Figure 4 This is a schematic diagram of the structure of a partial user display screen of the second embodiment of this utility model. DETAILED DESCRIPTION
[0101] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0102] Embodiment 1:
[0103] See also Figure 1-2 The present invention provides a technical solution: a remote video teaching method and device for standard maze operation in cardiac surgery, comprising:
[0104] S1. The operator controls the laser transmitter 7 through the main control device 3 to calibrate the shooting position of the camera 6 and controls the camera 6 to adjust the clarity of the captured image;
[0105] S1.1, the main control device 3 stores the video captured by the camera 6 in the storage card 35 in the main control device 3 or in an external USB flash drive, or stores the video in the cloud;
[0106] S1.2, the operator obtains the positions of the multiple laser points projected by the laser transmitter 7 on the actual object, records the positional relationship between the multiple laser points and the actual object, and obtains a laser drawing with high accuracy;
[0107] S2, the main control device obtains the image information obtained by the camera 6, and transmits the image information to the storage card 35 of the main control device 3 for storage;
[0108] S2.1. The operator uses the recording (on / off) button on the main control device 3. When the button is pressed once, the storage program of the main control device 3 is started. The storage program can automatically obtain the image information of the camera 6 and transmit the image information to the storage card 35 to store it in the form of an image file. When the button is pressed continuously, the storage program of the main control device 3 is stopped.
[0109] S3, the main control device 3 is connected to the user display device 9 through the wireless network technology, and the user views and operates the surgical image through the user display device 9;
[0110] S3.1. Display devices include mobile phones, tablet computers, and touch screens; the display devices are user display devices 9 and expert display devices. If the display device used by the user is the user display device 9, otherwise, the display device used by the expert is the expert display device;
[0111] S3.2, the user opens the dedicated APP through the user display device 9, fills in personal information in the dedicated APP to create an account, the dedicated APP is connected to the main control device 3 through the user display device 9, the main control device 3 obtains the personal information, judges the personal information, and automatically enters the expert page if the personal information is expert personal information; otherwise, automatically enters the audience page;
[0112] S3.3, the expert page includes an expert page display area 54 and an expert page button area 55. The expert uses the buttons in the expert page button area 54 to connect with the main control device 3 through a dedicated APP, and transmits the button-related information to the CPU 34 of the main control device 3 for analysis to obtain the analysis result. The analysis result is automatically distributed to the corresponding device through a preset program to complete the specified function. At the same time, the preset program can also control the display, disappearance, zooming in and out of various pages. It is a common program and will not be repeated later. The buttons in the expert page button area mainly include file manager 41, storage location 42, laser display time 43, video information and watermark 44, Bluetooth connection 45, white balance 46, maze radius 47, special map 48, graffiti 49, device information 50;
[0113] The specific functions of the buttons in the expert page button area include:
[0114] File manager button 41: a button for managing files;
[0115] Storage location button 42: a button for selecting a file storage location;
[0116] Laser display time 43: a button for setting the display time of the laser transmitter 7, the default value is 5s;
[0117] Video information and watermark 44: a button for displaying video information and video watermark;
[0118] Bluetooth connection 45: a button for setting the main control device 3 to connect with a device with a Bluetooth receiver;
[0119] White Balance 46: a button for setting the white balance parameters of the expert display device, the default value is automatic;
[0120] Maze diameter line 47: a button for displaying a schematic diagram of a maze diameter line;
[0121] Special pattern 48: a button showing the organ currently undergoing maze-line surgery;
[0122] Doodle 49: a button for drawing on the expert display device;
[0123] Device information 50: a button for opening the setting page of the current master control device 3;
[0124] By using the maze path button, the expert page display area 54 can display the maze path secondary panel, which includes a maze path guide interface and a secondary button interface. The secondary button interface includes close, Figure 1 , indicate Figure 2 If the expert selects the secondary button Figure 1 button, the maze path guide interface obtains the schematic diagram Figure 1 The picture or video is displayed on the maze path guide interface by switching pages. Figure 1 Pictures or videos showing Figure 2 Buttons and instructions Figure 1 The working process of the buttons is the same and will not be described again; by using the device information button, the expert can display the device information interface and multiple buttons, including exit surgery, focus +, focus -, zoom +, positioning, auto focus, graffiti, laser duration, laser, exit full screen, voice, sound;
[0125] The specific functions of the multiple buttons include:
[0126] Exit surgery: a button to exit the expert page display area 54;
[0127] Focus+, Focus-, Zoom+: buttons for manually adjusting the focal length of the camera 6 of the main control device 3, and adjusting the clarity of the expert page display area 54;
[0128] Positioning: Four direction buttons, select one of the direction arrows to adjust the position of the camera 6 of the main control device 3;
[0129] Auto focus: the main control device 3 automatically adjusts the focus of the camera 6 and the clarity of the expert page display area 54;
[0130] Doodle: a button for drawing on the expert display device;
[0131] Laser duration: a button for setting the display time of the laser transmitter 7, the default value is 5s;
[0132] Laser: Turn on the button of the laser transmitter 7 of the master control device;
[0133] Exit full screen: a button for setting the current expert page display area 54 to full screen mode;
[0134] Voice: button to turn on / off the microphone of the current expert display device;
[0135] Sound: A button to turn on / off the loudspeaker of the current expert display device;
[0136] For example, the expert uses the positioning button, which is a four-directional button, to obtain the direction arrow selected by the expert. By connecting with the main control device 3, the laser transmitter 7 of the main control device 3 projects the laser arrow of the corresponding direction onto the operating table. The microphone 8 of the main control device 3 obtains the voice instruction of the expert. The operator obtains the voice instruction and the direction of the laser arrow and quickly moves the camera 6 of the main control device 3.
[0137] S3.4, the audience page includes an audience page display area 54 and an audience page button area 55, and the audience page button area 55 mainly includes exit surgery, refresh, exit full screen, and select surgery;
[0138] The specific functions of the audience page button area include:
[0139] Refresh: a button for manually updating the current viewer page display area 54 screen;
[0140] Select surgery: Select the button to view and review the surgery or watch the surgery live.
[0141] S4, the camera 6 of the main control device 3 obtains the shooting picture, and uses the built-in intelligent program of the CPU 34 of the main control device 3 to obtain the surgical progress;
[0142] The built-in intelligent program includes constructing a surgical tutorial, a recommended curve related parameter table, and a historical interception table. Through a screen detection program, the screen detection result set is stored in the historical interception table. The information in the historical interception table is used to obtain the change of the current screen. According to the surgical tutorial and the information in the recommended curve related parameter table, the surgical progress and the confidence of the current surgical progress are obtained;
[0143] S4.1. Constructing a surgical tutorial and a parameter table related to a recommended curve. The main control device 3 obtains relevant data on the server, obtains a structured surgical procedure and preset recommended curve parameters, and writes them into the surgical tutorial and the parameter table related to the recommended curve in the form of a data table;
[0144] The relevant data is stored in the server in a structured manner. The data in the server is obtained from various medical devices or networks. The data in the server is structured data. The name of the operation, the operation steps, and the category of each operation step are written into the operation tutorial in the form of a data table. The category of the operation step is obtained by image classification technology.
[0145] The surgical step categories include radial line categories and non-radial line categories. The radial line category includes all surgical steps that require ablation equipment, and the non-radial line category includes other surgical steps except those that require ablation equipment. The radial line, also called ablation radial line, includes ablation operations performed at designated locations using ablation tools.
[0146] The parameters of the recommended curve related parameter table include laser display time, number of laser drawings, number of repeated drawings, curve drawing completion time, whether to enable external laser control intervention, blocked targets, changed targets, and unchanged targets; the preset recommended curve parameters include setting the laser display time, whether to enable external laser control intervention, and number of laser drawings;
[0147] The laser drawing includes, if the surgical step category belongs to the radial category, turning on the laser emitter 7, drawing a laser curve at the corresponding part, and displaying the drawn laser curve in a superimposed manner according to the change of the surgical progress. For example: if the surgical step category belongs to the radial category, turning on the laser emitter 7, drawing the first laser curve at the right pulmonary vein, updating the number of laser drawing, and according to the surgical progress, when the first laser curve has been displayed, the laser emitter 7 draws the second laser curve at the right atrial incision and the superior vena cava, and updating the number of laser drawing;
[0148] S4.2, construct a historical interception table, record or update in the form of a data table, the historical interception table includes the shooting picture, shooting time, detection result set, target category and radial category target start and end coordinate positions;
[0149] S4.3, the CPU 34 of the main control device 3 obtains the shooting picture of the camera 6 in real time, obtains the detection result set of the shooting picture through the picture detection program, records the shooting time, and stores it in the historical interception table;
[0150] The input of the image detection program includes a captured image and an optional parameter, and the optional parameter is the target entity name. If the optional parameter is empty, the detection result of the captured image is obtained through target tracking technology, image segmentation technology and image classification technology. The detection result includes the ID, entity name, rectangular frame coordinates, and target segmentation coordinates of each target. If the optional parameter is not empty, the detection result is filtered according to the optional parameter, and only the detection result of the optional parameter is retained; the categories of the target include radial targets and non-radial targets. The target category is further analyzed through the ablation radial fitting program to obtain the starting and end positions of the radial targets;
[0151] The ablation radial line fitting program obtains the edge coordinate set of the atrium on the captured image through image segmentation technology to form an atrial edge range area; obtains the segmentation coordinates of the radial line target, determines whether the segmentation coordinates of the radial line target are within the atrial edge range area, traverses the segmentation coordinates of the radial line target, and retains the radial line target if the segmentation coordinates of each radial line target are within the atrial edge range area. The outliers of the retained radial line target segmentation coordinates are removed through the naive Bayes classification algorithm to obtain multiple available radial line targets. Segmentation coordinates, using the least squares method combined with the L2 norm regularization term, using the available radial target segmentation coordinates to obtain the linear regression model of the radial target; obtaining the segmentation coordinates of the radial target, and by comparing the values of each segmentation coordinate in the x-axis direction, respectively obtaining the segmentation coordinate point A with the smallest value in the x-axis direction and the segmentation coordinate point B with the smallest value in the y-axis direction; using the linear regression model of the radial target, respectively calculating the y values of the segmentation coordinate point A and the segmentation coordinate point B, and obtaining the starting and ending positions of the radial target;
[0152] Through the above steps, the range of the detection results is narrowed by the position of the atrium, and the interference of outliers on the detection results is further eliminated, so as to more accurately determine the starting and ending positions of the radial target;
[0153] Summarize the detection results, the starting point and the end point of the radial target to obtain a detection result set;
[0154] S4.4, by searching, searching the historical capture table for a shooting time earlier than the current shooting time, and extracting a previous detection result set; the main control device 3 obtains the current picture, the current detection result set, the previous picture, and the previous detection result set, and obtains the change of the current picture through the picture analysis algorithm;
[0155] The picture analysis algorithm specifically includes:
[0156] 1) traverse the current detection result set to obtain the ID, rectangular frame coordinates, and category of each current target, and traverse the previous detection result set to obtain the ID, rectangular frame coordinates, and category of each previous target;
[0157] 2) The main control device 3 obtains the ID of each current target and the ID of each previous target, and obtains two types of results by comparison: one is a set of targets with the same ID, including the result that the current target ID completely matches the previous target ID; the other is a set of targets with different IDs, including the result that the current target ID does not match the previous target ID;
[0158] 3) Obtaining a target set with the same ID and determining the category, wherein the determination process includes analyzing the category of each current target and each previous target and obtaining the category thereof;
[0159] 4) If both categories belong to the radial category, the main control device 3 obtains the starting point and the end point of the radial target from the current result set and the previous result set, respectively, and connects the starting point and the end point to draw a straight line to obtain the current radial line straight line l now , and the previous radial line l bef ; Move the previous radial line type straight line l bef , so that l bef The starting point and the current radial line class straight line l now The starting points of the two straight lines coincide; calculate the bef With l now If the angle is within the threshold, the radial target has not changed; otherwise, the radial target has changed;
[0160] 5) If both categories belong to the non-radial line category, the main control device 3 obtains the rectangular frame coordinates of the non-radial line target and the camera parameters of the camera 6 from the current result set and the previous result set, respectively. The parameters include the focal length (f x ,f y ), optical center point (c x ,c y), and distortion parameters D = (k1, k2, k3, P1, P2); calculate the coordinate values of each rectangular frame coordinate (x, y) in the three-dimensional coordinate system; the calculation process includes, by
[0161]
[0162] , Z=1, get the three-dimensional coordinates of each rectangular box; get the three-dimensional coordinates (X, Y, Z) of the four corner points of the rectangular box of the current non-radial line target, the three-dimensional coordinates (X′, Y′, Z′) of the four corner points of the rectangular box of the previous non-radial line target, and use the three-dimensional Euclidean distance formula Calculate the true distance between each pair of corresponding points to obtain four true distances. By calculating the average of the four true distances, obtain the final distance between the current target and the previous target. If the final distance is within the set threshold, the current target has not changed, otherwise the current target has changed. For example, the rectangular frame coordinates of the current non-radial target are a1 (305, 210), b1 (721, 211), c1 (417, 422), d1 (423, 418), and the rectangular frame coordinates of the previous non-radial target are a2 (454, 178), b2 (670, 180), c2 (452, 346), d2 (670, 346). Obtain the parameters of camera 6, which are the focal length of the camera (1000, 1000), optical center point (640, 480), and distortion parameter D = (0.1, -0.2, 0.3, 0.01, -0.02); After the above calculation process, the three-dimensional coordinates of the rectangular box of the current non-radial line target are A1 (-0.33, -0.27, 1), B1 (0.08, -0.27, 1), C1 (-0.22, -0.05, 1), D1 (-0.22, -0.06, 1), and the three-dimensional coordinates of the rectangular box of the previous non-radial line target are A2 (-0.18, -0.29, 1), B2 (0.02, -0.29, 1), C2 (-0.18, -0.13, 1), D2 (0.02, -0.13, 1); Calculate the three-dimensional Euclidean distance ρ of the four corner points respectively A =0.0229,ρ B =0.0632,ρ C =0.0894,ρ D =0.3061, the mean of the three-dimensional Euclidean distances of the four corner points is 0.1204;
[0163] Through the above steps, the changes of non-radial line targets can be determined more accurately, eliminating the problem of inaccurate detection of changes of non-radial line targets due to camera adjustment during shooting;
[0164] Obtain the target set with different IDs, and further determine the target entity name. If the entity name of the current target is the same as the entity name of the previous target, determine that the current target ID is wrong, and update the ID of the current target according to the ID of the previous target. If the entity name of the current target is different from the entity name of the previous target, calculate the IOU value between the current target rectangular box position and the rectangular box position of each previous target. If the IOU value is greater than the threshold, the current target has been occluded, otherwise the current target has changed.
[0165] The CPU 34 of the main control device 3 counts the results of the above steps to obtain the blocked targets, the changed targets, and the unchanged targets in the captured image, and records them in the recommended curve related parameter table; through the above steps, the blocking and change conditions of the targets in the captured image can be judged more accurately;
[0166] S4.5. The CPU34 of the main control device 3 obtains the number of laser drawings in the parameter table related to the recommended curve, obtains the completed ablation path by comparison with the surgical tutorial, obtains the coordinates and category of the target frame of the shooting screen by image target detection technology and image classification technology, and the categories include organ category, hand category and surgical tool category; if there are coordinates of the hand category target frame, the CPU34 of the main control device 3 obtains the coordinates of the target frame of the hand category, captures a picture of the hand category, and obtains the hand category gesture by gesture recognition technology, and the gestures include working and idle. The built-in GPT assistant of the main control device 3 uses the surgical tutorial as known information, and obtains the surgical progress and the confidence of the current surgical progress according to the completed ablation path, the target coordinates and category of the shooting screen, the hand category gesture, and the occluded targets, changed targets and unchanged targets in the parameter table related to the recommended curve, and the surgical progress includes the current surgical name, surgical step category and surgical step;
[0167] The built-in GPT assistant is a trained large model of the Chinese medical field, which can record historical dialogue information; determine the length of the historical dialogue information, if the length of the historical dialogue information is less than the preset value, obtain the shooting picture, describe the shooting picture through the built-in GPT assistant, and use the description of the shooting picture as the historical dialogue information, for example: historical dialogue information: "Heart maze surgery is being performed.", the preset value is 30, the length of the historical dialogue information is 11, which is less than the preset value, then it is necessary to obtain the shooting picture, and obtain the description of the shooting picture through the built-in GPT assistant: "The operation is currently in the structural repair stage. The doctor is using minimally invasive surgical instruments to perform fine suturing of heart tissue. The surgical area shows slight bleeding, but the overall condition is stable. The color of the tissue is normal pink, and no abnormal structure is found. The doctor's technique is very stable, and an endoscope is being used to accurately locate the suturing point.", forming the historical dialogue information;
[0168] A custom prompt can be added to the historical dialogue information and input into the built-in GPT assistant to obtain the corresponding answer; for example: the completed ablation diameter is 1 right pulmonary vein isolation, the shooting picture, through image target detection technology and image classification technology, obtains the target frame coordinates of the right pulmonary vein and right atrium of the organ class, the target frame coordinates of the ablation forceps of the surgical tool class, and the target frame coordinates of the hand class. Through gesture recognition technology, the hand class target gesture is obtained as work, combined with the occluded target, the changed target and the unchanged target in the recommended curve related parameter table, the above information is used as historical dialogue information, input into the built-in GPT assistant, and add a custom prompt. pt and raise questions consisting of "According to the surgical tutorial {Surgery name: right pulmonary vein isolation. Surgical steps: 1. Establish peripheral extracorporeal circulation and cardiopulmonary bypass. 2. Incise the pericardium. 3. Bluntly separate the transverse and oblique sinuses of the pericardium, and use silk thread to block the superior and inferior vena cava respectively. 4. Introduce the ablation forceps from bottom to top in the vestibule of the right pulmonary vein, clamp, and ablate.}, the current known information {historical dialogue information} belongs to which step in the surgical tutorial, the output format is current surgery name xx, surgery step category xx, surgery step xx", and get "Current surgery name: right pulmonary vein isolation, surgery step category: diameter category, surgery step: 4. Introduce the ablation forceps from bottom to top in the vestibule of the right pulmonary vein, clamp, and ablate."
[0169] Through the above steps, the built-in GPT assistant is provided with historical conversation information and real-time shooting picture analysis information, which can enhance the understanding of the surgical process and improve the accuracy of the answer;
[0170] S5, the main control device 3 obtains the expert voice information, combines the voice recognition technology to obtain the expert's voice text, and obtains the corresponding results according to the user identity through the intelligent analysis model and displays them;
[0171] The intelligent analysis model specifically includes constructing a multi-time dimension confusion memory table, recording the drawn curve, obtaining the operation progress, obtaining the doctor's confusion state according to the operation progress, recording the graffiti curve drawn by the expert, obtaining the doctor's diameter curve by performing a screen detection program on the ablation tool, and calculating the absolute error between the drawn curve, the graffiti curve and the doctor's diameter curve for the expert to guide the operation, and extracting key information from the expert's voice text, and playing multiple highlighted video files on the user display device 9 according to the audience's confusion level;
[0172] S5.1. Construct a multi-time dimension confusion memory table, and record or update it in the form of a data table. The multi-time dimension confusion memory table includes user identity, user status, confusion generation time, confused surgery progress, confusion end time, and confusion degree. The user identity includes audience, doctor, and expert. The user status includes confused state and normal state. The confused state includes the state in which the user is confused about the surgery, and the normal state includes the state in which the user normally understands the surgery tutorial. The confusion degree can be set only when the user identity is audience.
[0173] S5.2. According to the laser display time in the recommended curve related parameter table, the display time of the laser emitter 7 is set. According to the surgical progress, if the surgical step belongs to the radial line category, the laser emitter 7 draws a curve at the corresponding part to obtain a drawn curve, and records the completion time of the drawn curve and the number of laser drawings in the recommended curve related parameter table;
[0174] S5.3, the doctor performs the operation according to the drawn curve, and at the same time, the CPU of the main control device obtains the shooting picture, executes step S4 regularly, obtains the operation progress, and the storage card 35 of the main control device 3 records the operation progress. If the operation progress does not change, the time when the operation progress does not change is recorded;
[0175] S5.4. If the surgical progress is compared with the surgical progress on the storage card 35 of the main control device 3, and the surgical progress has changed, then the time for recording the unchanged surgical progress is stopped and reset, and the user identity is stored as a doctor, and the user status is normal, and stored in the multi-dimensional confusion memory table; if the time for which the surgical progress has not changed exceeds the threshold, then the time for recording the unchanged surgical progress is stopped and reset; the main control device 3 updates the laser display time and the number of repeated drawings in the recommended curve related parameter table, and executes steps S5.3-S5.4 again. If the time for which the surgical progress has not changed exceeds the threshold, and the number of repeated drawings in the recommended curve related parameter table is ≥2, then the number of repeated drawings in the recommended curve related parameter table is reset, and the user identity is stored as a doctor, the user status is a confused state, and the current time is stored as the confusion generation time. The surgical progress is the confused surgical progress in the multi-time dimensional confusion memory table. Update the recommended curve related parameter table to "yes" to indicate whether to turn on external laser control intervention;
[0176] The expert display device of the expert can enable the use authority of the laser transmitter 7, and the expert communicates with the doctor through the built-in microphone of the expert display device; the expert display device obtains the graffiti curve drawn by the expert, and transmits it to the main control device 3 through the wireless network technology, and the main control device 3 displays the graffiti curve at the corresponding part through the laser transmitter 7; at the same time, through step S4, the CPU 34 of the main control device 3 obtains the surgical progress and compares it with the surgical progress on the storage card 35 of the main control device 3. If the surgical progress changes, the current time is recorded as the confusion end time and stored in the multi-time dimension confusion memory table. The graffiti curve drawn by the expert is a curve drawn by the expert in the expert page display area 54 using the graffiti 49 function in the expert display device;
[0177] S5.5. The CPU 34 of the main control device 3 obtains the surgical progress and surgical tutorial of step S4. According to the surgical progress, the category of the surgical step currently required is obtained from the surgical tutorial. If the surgical step category belongs to the radial category, it starts at a frequency of once every 1s, using the optional parameter of the ablation tool, and obtains the detection result of the ablation tool target in the captured image through the image detection program described in step S4.3, including the target rectangular frame coordinates and the segmentation coordinates. If the detection result is not empty, the ablation tool target image is further cut off in the captured image according to the target rectangular frame coordinates, and the key part of the ablation tool is detected through the image segmentation technology to obtain the detection result of the key part of the ablation tool, which includes the key Part of the rectangular frame coordinates, key part segmentation point coordinates, if the key part detection result of the ablation tool is not empty, that is, the ablation tool is in use, then the ablation tool target image and the ablation tool key part detection result are stored in the memory of the main control device 3, otherwise the ablation tool is not in use, and nothing is stored in the memory of the main control device 3; for example: the optional tool is an ablation forceps, and the CPU 34 of the main control device 3 detects the two clamps in the ablation forceps target image through image segmentation technology to obtain the ablation forceps detection result, and further obtains an ablation forceps key part detection result through image segmentation technology, then the ablation forceps target is in use, and the ablation forceps target image and the ablation forceps key part detection result are stored in the memory of the main control device 3;
[0178] If the surgical steps of the surgical progress change, stop the image detection program; obtain the target image of the ablation tool and the detection results of the key parts of the ablation tool, obtain the starting and ending positions of the key parts of the ablation tool through the ablation path fitting program in step S4.3, connect the starting and ending positions, and form a doctor path curve;
[0179] S5.6, according to the surgical tutorial, if the surgical step category in the surgical tutorial belongs to the radial category, the CPU 34 of the main control device 3 obtains the doctor's radial curve, the drawing curve of the laser transmitter 7 and the scribble curve drawn by the expert, calculates the absolute error between the doctor's radial curve, the scribble curve and the drawing curve, and gives the expert corresponding operation authority according to the absolute error, specifically including:
[0180] 5) The main control device 3 obtains the absolute error. If the absolute error between the doctor's diameter curve and the graffiti curve is within the threshold range, and the absolute error between the doctor's diameter curve and the drawn curve exceeds the threshold range, the surgical progress is inaccurate. The video is obtained from the storage card 35 of the main control device 3, and a multi-segment highlighting video file is obtained through a video segmentation highlighting program;
[0181] The expert views the highlighted video file through the expert display device, enables the expert to select the highlighted part, and changes the surgical progress;
[0182] 6) The main control device 3 obtains the absolute error. If the absolute error between the scribble curve and the drawn curve is within the threshold range, and the absolute error between the doctor's surgical path curve and the scribble curve exceeds the threshold range, the current time is obtained as the time when the confusion occurs, and the surgical progress is the confused surgical progress. Combined with the user identity as an expert and the user status as a confused state, the results are stored in the multi-time dimension confusion memory table. At the same time, the CPU 34 of the main control device 3 updates the recommended curve related parameter table to determine whether to enable external laser control intervention to "yes", and enables the expert to use the laser transmitter 7. The expert communicates with the doctor through the built-in microphone of the expert display device, and redraws the scribble curve through the scribble 49. The laser transmitter 7 obtains the redrawn scribble curve through wireless network technology and displays it at the corresponding position. At the same time, the CPU 34 of the main control device 3 executes steps S5.2-S5.5.
[0183] 7) The main control device 3 obtains the absolute error. If the absolute error between the scribble curve and the drawn curve exceeds the threshold range, and the absolute error between the doctor's diameter curve and the scribble curve exceeds the threshold range, the video segment highlighting program is executed to obtain multiple bright-marked video files. The CPU 34 of the main control device 3 calculates the average value of the absolute error and normalizes it to 0-1.
[0184] between, obtaining a normalized absolute error average, and setting the opacity of multiple sections of highlight-marked video files according to the normalized absolute error average; traversing the multiple sections of highlight-marked video files,
[0185] The CPU 34 of the master control device 3 obtains the center position of each highlighted video file screen, aligns each highlighted video file according to the center position of the screen, and displays them in the viewer page display area 54 and the expert page display area 54 of the user display device 9. At the same time, according to whether the external laser control intervention is turned on in the recommended curve related parameter table, the authority of the expert to use the laser transmitter 7 is turned on, and the master control device 3
[0186] CPU 34 executes steps S5.2-S5.5;
[0187] Through the above steps, the expert can accurately guide or correct the doctor's radial line surgery steps; 8) The video segmentation highlighting program includes the CPU 34 of the main control device 3, obtaining the recommended song
[0188] The CPU 34 of the main control device 3 obtains the surgical tutorial, obtains the special terms of the surgery through the built-in GPT assistant of the main control device 3; traverses the multiple video files, and obtains the segmentation results of each frame in each video file through image segmentation technology; obtains the special terms of the surgery, and filters the segmentation results of each frame. If the segmentation results of each frame contain the special terms of the surgery, the segmentation results of each frame are highlighted; for example: through the recommended curve related parameter table, the drawing completion time of 05:03, 10:08 is obtained, the CPU 34 of the main control device 3 obtains the video, and divides it into two video files according to the drawing completion time. According to the GPT assistant of the main control device 3, the special terms of the surgery are obtained as superior vena cava, inferior vena cava, right atrium, and right atrial appendage line. By using the image segmentation technology, the superior vena cava, the inferior vena cava, the right atrium, and the right atrial appendage are highlighted in the first video file and the second video file, respectively, to form two highlighted video files; if the segmentation result of each frame does not contain the special noun of the operation, the occluded target in the parameter table related to the recommended curve is obtained, and if the occluded target is consistent with the special noun of the operation, the occluded target is regenerated by the adversarial generation technology, and the regenerated occluded target is highlighted, otherwise the video file is removed, and multiple highlighted video files are obtained through the above steps;
[0189] S5.7, when the expert is giving instructions and explanations, the main control device 3 has a built-in GPT assistant, which obtains the expert's voice content, obtains the voice text and voice time through the voice recognition algorithm, sets a custom prompt for the built-in GPT assistant, extracts key parts of the voice text, and obtains precautions about the surgery, surgical-related proper nouns, and names of related surgeries;
[0190] For example, the expert voice text is "The key factors that determine the effect of Maze IV radiofrequency ablation, that is, whether it can be converted to sinus rhythm and whether sinus rhythm can be maintained for a long time include the transmural property of the ablation and the integrity of the ablation diameter. Note that the number of clamping times and time of the ablation forceps must be sufficient. In addition, in order to make the ablation more accurate and the transmural rate higher, the fat tissue on the surface of the clamping site can be burned with an electric knife to expose the atrial tissue. In addition, the eschar attached to the ablator should be cleaned in time. And before the operation, it should be checked whether the thrombus is limited to the left atrial appendage or the thrombus is fresh and easy to clear. If so, it is necessary to consider removing the left atrial thrombus before performing radiofrequency ablation.", and the expert voice text is combined with the custom prompt to form "{determine Maze IV radiofrequency ablation effect, that is, whether the ablation effect can be converted to sinus rhythm and whether the sinus rhythm can be maintained for a long time. The key to the effect of IV radiofrequency ablation, that is, whether it can be converted to sinus rhythm and whether sinus rhythm can be maintained for a long time, includes the transmural property of the ablation device and the integrity of the ablation diameter. Note that the number of times the ablation forceps are clamped must be sufficient and the time must be sufficient. In order to make the ablation more accurate and the transmural rate higher, the electric knife can be used to burn the fat tissue on the surface of the clamp to expose the atrial tissue. In addition, the eschar attached to the ablator should be cleaned in time. Before the operation, it should be checked whether the thrombus is limited to the left atrial appendage or the thrombus is fresh and easy to clear. If so, it is necessary to consider clearing the left atrial thrombus and then performing radiofrequency ablation.}---Based on the above text, extract the text The output format of the precautions for surgery, surgical-related terms and the names of related surgeries is "Precautions for surgery: xxx, surgical-related terms: xxx, and the names of related surgeries triggered: xxx". Input it into the built-in GPT assistant and get "Precautions for surgery: 1. Pay attention to the number of times the ablation forceps are clamped. 2. The time of ablation clamping should be sufficient. 3. In order to make the ablation more accurate and the transmural rate higher, the electric knife can be used to burn the fat tissue on the surface of the clamping part to expose the atrial tissue. 4. The eschar attached to the ablator should be cleaned in time. Surgery-related terms: Maze IV radiofrequency ablation, electric knife, ablation forceps. The name of the related surgery triggered: radiofrequency ablation."
[0191] S5.8, while the audience is watching the expert's explanation, the CPU 34 of the main control device 3 obtains the precautions of the operation, the proper nouns related to the operation, and the name of the operation related to the operation, and obtains the facial image of the audience in real time through the built-in camera of the user display device 9, and obtains the expression result of the audience in combination with the expression recognition technology, and the expression result includes a confused expression and a normal expression; if the confused expression appears, the main control device 3 has a built-in GPT assistant to obtain the progress of the operation, the audience's conversation history and the facial image of the audience, and obtain the normalized degree of confusion of the audience, and record the user identity as the audience, the user state as the confused state, the degree of confusion of the audience as the degree of confusion, the current time as the time when the confusion occurs, and the progress of the operation as the confused operation progress, and store them in a multi-time dimension confusion memory table;
[0192] The CPU 34 of the main control device 3 obtains the proper noun set, obtains multiple segments of highlight-marked video files through the video segment highlighting program, and sorts the multiple segments of highlight-marked video files according to the drawing completion time of the recommended curve related parameter table, and processes them in a conventional manner:
[0193] Calculate the time difference between the drawing completion time and the current time of each highlight-marked video file. If the time difference is large, the opacity of the highlight-marked video file is smaller. Otherwise, the opacity of the highlight-marked video file is larger. Obtaining the preset opacity of the highlighted video file, for example: obtaining the drawing completion time of the first video file as 10:08, the drawing completion time of the second video file as 10:15, and the current time as 10:20, and obtaining the time difference calculation method of the first video file as 0:12, and the time difference of the second video file as 0:05, then the preset opacity of the first video file is 20%, and the preset opacity of the second video file is 30%; obtaining the confusion degree, combining the preset opacity, using the overall opacity = preset opacity × preset opacity weight + confusion degree × confusion degree weight, calculating the overall opacity of each highlighted video file, and according to the sorting results of the multiple highlighted video files, connecting the multiple highlighted video files together and displaying them in the audience page display area 54 of the user display device 9;
[0194] In another embodiment of the present invention, the setting of opacity further includes:
[0195] Obtain the voice text and voice time of step S5.6, set a custom prompt through the built-in GPT assistant to extract the time-related descriptive words in the voice text, if the built-in GPT assistant obtains the time-related descriptive words, then calculate the difference between the drawing completion time of the recommendation curve related parameter table and the voice time, obtain the corresponding highlight mark video file, and adjust the preset opacity weight; otherwise, process in a conventional manner, wherein the preset opacity weight is obtained from the server;
[0196] For example: voice text: "Now we enter the ablation stage, which is usually carried out in the first half hour of the operation and is the most critical part of the entire operation." Voice time: 10:30, through the built-in GPT assistant, the description words related to time are obtained as "first half hour, now", according to the recommended curve related parameter table showing that the ablation stage starts at 10:00, the difference between the voice duration and the start time of the ablation stage shown in the recommended curve related parameter table is calculated to be 0:30; according to the time difference, the drawing completion time of the recommended curve related parameter table, multiple segments of highlighted video files from 10:00 to 10:30 are obtained, and the preset opacity weight is adjusted to 0.5;
[0197] Through the above steps, the expert voice content can be linked to help the audience quickly identify and pay attention to the parts emphasized by the expert, and the visual focus can be placed on the key stages of the operation, which helps the audience better understand the surgical process and technical points;
[0198] The CPU 34 of the main control device 3 obtains the surgical tutorial and the name of the related surgery, obtains the text segment in the surgical tutorial with the same surgical name as the name of the related surgery through text extraction, and displays it in the tutorial display area 51 of the user display device 9; at the same time, the main control device 3 has a built-in GPT assistant, which starts to regularly obtain the surgical progress, the audience's conversation history records and the audience's facial images, and obtains the normalized audience's confusion level; obtains the normalized audience's confusion level and the confusion level in the multi-time dimensional confusion memory table, and by comparison, if the normalized audience's confusion level is reduced, cancels the tutorial display area 51 superimposed on the user display device 9, and records the current time as the confusion end time, which is stored in the multi-time dimensional confusion memory table, and at the same time stops the built-in GPT assistant from regularly obtaining the surgical progress, the audience's conversation history records and the audience's facial images;
[0199] Among them, the audience refers to interns, the doctor refers to the surgeon, and the expert refers to the expert doctor.
[0200] Effects: The method proposed by the present invention can accurately shoot the location where it is needed to shoot, and store or transmit the shot video to the user's display device for interns to refer to and learn from. At the same time, there is no need for a large number of interns to enter the operating room, which reduces the space occupied in the operating room. In addition, it can communicate with external experts, who can guide and explain the operation, solving the problem that experts from different regions or hospitals cannot provide remote surgical guidance and teaching. And controlling the transparency of the superimposed layer solves the confusion of experts, doctors and interns.
[0201] Embodiment 2:
[0202] A remote video teaching method and device for standard maze operation in cardiac surgery, comprising a base bracket 1, brake rollers 2 are fixedly installed below the four corners of the base bracket 1, the upper end of the base bracket 1 is fixedly installed with a main control device 3, a camera bracket 4 is installed on the main control device 3, a camera shell 5 is installed on the camera bracket 4, the camera shell 5 is fixedly installed with a camera 6, a laser transmitter 7, and a microphone 8, and the camera 6 and the laser transmitter 7 are located at the bottom of the camera shell 5, and a user display device 9.
[0203] Microphone 8 is used for communication between doctors and experts in the operating room.
[0204] When the device is moved to a position for use in an operating room, the brake roller 2 can be used to fix the device.
[0205] The main control device 3 includes an electrical box 31, the lower end of which is fixedly mounted on the base support frame 1, the upper end of which is fixedly mounted on the camera bracket 4, a main box 32 is fixedly mounted in the electrical box 31, a main box 33 is fixedly mounted in the main box 32, a CPU 34, a storage card 35, a wireless projection module 36 and a loudspeaker 37 are fixedly mounted on the main box 33, the main box 33 is connected to an external network cable and a power supply, the main box 33 is electrically connected to a camera 6, a laser transmitter 7 and a microphone 8, a main control screen 38 is electrically connected to the main box 33, and the main control screen 38 is fixedly mounted on the camera bracket 4.
[0206] The memory card 35 is used to store the recorded images.
[0207] The wireless screen projection module 36 is used to wirelessly connect to an external display screen with a wireless receiver.
[0208] The loudspeaker 37 is used to play the expert communication speech.
[0209] The user display device 9 is used for the user to operate the main control device 3 through the connection of wireless network technology, including a display area 54, in which there are a tutorial display area 51, a page up button 52, a page down button 53, and a button area 55, including a file management location button 41, a storage location button 42, a laser display time button 43, a video information and watermark button 44, a Bluetooth connection button 45, a white balance button 46, a maze radius button 47, a special pattern button 48, a graffiti button 49 and a device information button 50.
[0210] Working principle: This device integrates the main control device 3, the camera housing 5, the camera 6, and the laser transmitter 7, which is convenient for use and adjustment of the camera 6 during use. This device is connected to the user display device 9 through wireless network technology.
[0211] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A remote video teaching method for standard maze operation in cardiac surgery, characterized by: include, S1. The operator controls the laser transmitter through the main control device, calibrates the camera shooting position, and controls the camera to adjust the clarity of the captured image; S2, the main control device obtains the image information captured by the camera, and transmits the image information to the storage card of the main control device for storage; S3, the main control device is connected to the user display device through the wireless network technology, and the user views and operates the surgical image through the user display device; S4, the camera of the main control device obtains the shooting picture, and uses the built-in intelligent program of the CPU of the main control device to obtain the surgical progress; S5. The main control device 3 obtains the expert voice information, and obtains the expert's voice text by combining the voice recognition technology. Through the intelligent analysis model, according to the user identity, the corresponding result is obtained and displayed.
2. A remote video teaching method for standard maze operation in cardiac surgery according to claim 1, characterized in that: The operator controls the laser transmitter through the main control device, calibrates the camera shooting position, and controls the camera to adjust the clarity of the captured image, specifically including: S1.
1. The main control device stores the video captured by the camera in the main control device or an external USB flash drive, or stores the video in the cloud; S1.
2. An operator obtains the positions of multiple laser points projected by the laser transmitter on an actual object, records the positional relationship between the multiple laser points and the actual object, and obtains laser mapping with high accuracy.
3. The remote video teaching method for standard maze operation in cardiac surgery according to claim 1, characterized in that: The main control device obtains the image information captured by the camera, and transmits the image information to the storage card of the main control device for storage, specifically including: The operator uses the recording on / off button on the main control device. When the button is pressed once, the storage program of the main control device is started. The storage program can automatically obtain the image information taken by the camera and transfer the image information to the storage card to store it in the form of an image file; when the button is pressed twice in succession, the storage program of the main control device is stopped.
4. A remote video teaching method for standard maze operation in cardiac surgery according to claim 1, characterized in that: The main control device is connected to the display device through wireless network technology, and the user views and operates the surgical image through the display device, specifically including: S3.
1. Display devices include mobile phones, tablet computers, and touch screens; S3.
2. The user opens the dedicated APP through the display device, fills in personal information in the dedicated APP to create an account, and the dedicated APP is connected to the main control device through the display device. The main control device obtains the personal information and determines the category of the personal information. If the personal information is expert personal information, the user automatically enters the expert page; otherwise, the user automatically enters the audience page; S3.3, the expert page includes an expert page display area and an expert page button area. The expert uses the buttons in the expert page button area to transmit the button-related information to the CPU of the master device for analysis through the connection between the dedicated APP and the master device to obtain the analysis result. The analysis result is automatically distributed to the corresponding device through a preset program to complete the specified function. At the same time, the preset program can also control the display, disappearance, zooming in and out of various pages; the expert page button area mainly includes file manager, storage location, laser display time, video information and watermark, Bluetooth connection, white balance, maze radius, special pattern, graffiti, and device information; The specific functions of the buttons in the expert page button area include: File manager button: button for managing files; Storage location button: button for selecting the file storage location; Laser display time: button to set the laser transmitter display time, the default value is 5s; Video information and watermark: button to display video information and video watermark; Bluetooth connection: a button for setting the main control device to connect with a device with a Bluetooth receiver; White Balance: Button for setting the white balance parameters of the display device. The default value is Auto. Maze Path: A button that displays a schematic diagram of the maze path; Special pattern: button showing the organ currently undergoing maze-route surgery; Doodle: a button for drawing on the display device; Device Information: A button to open the settings page of the current master device; By using the maze diameter button, the expert page display area can display the maze diameter secondary panel, which includes the maze diameter guide interface and the secondary button interface, and the secondary button interface includes close, schematic diagram one, and schematic diagram two; if the expert selects the schematic diagram one button under the secondary button, the maze diameter guide interface obtains the picture or video of schematic diagram one, and displays the picture or video of schematic diagram one on the maze diameter guide interface by page switching, and the schematic diagram two button has the same working process as the schematic diagram one button; by using the device information button, the expert can display the device information interface and multiple buttons, and the multiple buttons include exit surgery, focus +, focus -, zoom +, positioning, auto focus, graffiti, laser duration, laser, exit full screen, voice, and sound; The specific functions of the multiple buttons include: Exit surgery: a button to exit the expert page display area; Focus+, Focus-, Zoom+: buttons for manually adjusting the focus of the camera of the master control device and adjusting the clarity of the display area of the expert page; Positioning: Four-way button, select one of the direction arrows to adjust the position of the camera of the main control device; Autofocus: The main control device automatically adjusts the camera focus button to adjust the clarity of the expert page display area; Doodle: a button for drawing on the display device; Laser duration: button to set the laser transmitter display time, the default value is 5s; Laser: a button to turn on the laser transmitter of the master device; Exit full screen: a button to set the current expert page display area to full screen mode; Voice: button to turn on / off the microphone of the current display device; Sound: A button to turn on / off the speaker of the current display device; S3.
4. The audience page includes an audience page display area and an audience page button area. The audience page button area mainly includes exit surgery, refresh, exit full screen, and select surgery. The specific functions of the audience page button area include: Refresh: a button to manually update the current audience page display area screen; Select surgery: Select the button to view and review the surgery or watch the surgery live.
5. The remote video teaching method of standard maze operation in cardiac surgery according to claim 1, characterized in that: The camera of the main control device obtains the captured image, and the operation progress is obtained by using the built-in intelligent program of the CPU of the main control device, which specifically includes: S4.
1. Constructing a surgical tutorial and a parameter table related to a recommended curve. The main control device obtains relevant data on the server, obtains a structured surgical procedure and preset recommended curve parameters, and writes them into the surgical tutorial and the parameter table related to the recommended curve in the form of a data table; The relevant data is stored in the server in a structured manner. The data in the server is obtained from various medical devices or networks. The data in the server is structured data. The name of the operation, the operation steps, and the category of each operation step are written into the operation tutorial in the form of a data table. The surgical step categories include radial category and non-radial category. The radial category includes all surgical steps that require ablation equipment, and the non-radial category includes other surgical steps except those that require ablation equipment. The parameters of the recommended curve related parameter table include laser display time, number of laser drawings, number of repeated drawings, curve drawing completion time, whether to enable external laser control intervention, blocked targets, changed targets, and unchanged targets; the parameters of the preset recommended curve parameter table include setting the laser display time, whether to enable external laser control intervention, and number of laser drawings; The laser drawing includes, if the surgical step category belongs to the radial category, turning on the laser emitter, drawing a laser curve at the corresponding part, and displaying the drawn laser curve in a superimposed manner according to the change of the surgical progress; S4.2, construct a historical interception table, record or update in the form of a data table, the historical interception table includes the shooting picture, shooting time, detection result set, target category and radial category target start and end point coordinate positions; S4.3, the CPU of the main control device obtains the shooting picture of the camera in real time, obtains the detection result set of the shooting picture through the picture detection program, records the shooting time, and stores it in the historical interception table; The input of the picture detection program includes a captured picture and an optional parameter, and the optional parameter is the target entity name; if the optional parameter is empty, the detection result of the captured picture is obtained through target tracking technology, image segmentation technology and image classification technology, and the detection result includes the ID, entity name, rectangular frame coordinates, and target segmentation coordinates of each target; if the optional parameter is not empty, the detection result is filtered according to the optional parameter, and only the detection result of the optional parameter is retained; the category of the target includes radial targets and non-radial targets, and the target category of the radial target is further analyzed through the ablation radial fitting program to obtain the starting and end positions of the radial targets; The ablation radial line fitting program obtains the edge coordinate set of the atrium on the captured image through image segmentation technology to form an atrial edge range area; obtains the segmentation coordinates of the radial line target, determines whether the segmentation coordinates of the radial line target are within the atrial edge range area, traverses the segmentation coordinates of the radial line target, and retains the radial line target if the segmentation coordinates of each radial line target are within the atrial edge range area. The outliers of the retained radial line target segmentation coordinates are removed through the naive Bayes classification algorithm to obtain multiple available radial line targets. Segmentation coordinates, using the least squares method combined with the L2 norm regularization term, using the available radial target segmentation coordinates to obtain the linear regression model of the radial target; obtaining the segmentation coordinates of the radial target, and by comparing the values of each segmentation coordinate in the x-axis direction, respectively obtaining the segmentation coordinate point A with the smallest value in the x-axis direction and the segmentation coordinate point B with the smallest value in the y-axis direction; using the linear regression model of the radial target, respectively calculating the y values of the segmentation coordinate point A and the segmentation coordinate point B, and obtaining the starting and ending positions of the radial target; Summarize the detection results, the starting point and the end point of the radial target to obtain a detection result set; S4.4, by searching, searching the historical capture table for a shooting time earlier than the current shooting time, and extracting a previous detection result set; the main control device obtains the current picture, the current detection result set, the previous picture, and the previous detection result set, and obtains the change of the current picture through the picture analysis algorithm; The picture analysis algorithm specifically includes: 1) traverse the current detection result set to obtain the ID, rectangular frame coordinates, and category of each current target, and traverse the previous detection result set to obtain the ID, rectangular frame coordinates, and category of each previous target; 2) The master control device obtains the ID of each current target and the ID of each previous target, and obtains two types of results by comparison: one is a set of targets with the same ID, including the result that the current target ID completely matches the previous target ID; the other is a set of targets with different IDs, including the result that the current target ID does not match the previous target ID; 3) Obtaining the target set with the same ID and determining the category, the determination process includes: Analyze the categories of each current target and each previous target, and obtain their categories; 4) If both categories belong to the radial category, the main control device obtains the starting point and the end point of the radial target from the current result set and the previous result set, respectively, and connects the starting point and the end point to draw a straight line to obtain the current radial line l now , and the previous radial line l bef ; Move the previous radial line type straight line l bef , so that l bef The starting point and the current radial line class straight line l now The starting points of the two straight lines coincide; calculate the bef With l now If the angle is within the threshold, the radial target has not changed; otherwise, the radial target has changed; 5) If both categories belong to the non-radial line category, the main control device obtains the rectangular frame coordinates of the non-radial line target and the camera parameters of the camera from the current result set and the previous result set respectively, and the parameters include the focal length (f x ,f y ), optical center point (c x ,c y ), and distortion parameters D = (k1, k2, k3, P1, P2); calculate the coordinates (x, y) of each rectangular box in the three-dimensional coordinate system, The calculation process includes: Z=1, get the three-dimensional coordinates of each rectangular box; get the three-dimensional coordinates (X, Y, Z) of the four corner points of the rectangular box of the current non-radial line target, the three-dimensional coordinates (X', Y', Z') of the four corner points of the rectangular box of the previous non-radial line target, and use the three-dimensional Euclidean distance formula Calculate the true distance between each pair of corresponding points to obtain four true distances, and calculate the average of the four true distances to obtain the final distance between the current target and the previous target. If the final distance is within a set threshold, the current target has not changed, otherwise the current target has changed; Obtain the target set with different IDs, and further determine the target entity name. If the entity name of the current target is the same as the entity name of the previous target, determine that the current target ID is wrong, and update the ID of the current target according to the ID of the previous target. If the entity name of the current target is different from the entity name of the previous target, calculate the IOU value between the current target rectangular box position and the rectangular box position of each previous target. If the IOU value is greater than the threshold, the current target has been occluded, otherwise the current target has changed. The CPU of the main control device counts the results of the above steps to obtain the blocked targets, the changed targets, and the unchanged targets in the captured image, and records them in the recommended curve related parameter table; S4.
5. The CPU of the main control device obtains the number of laser drawings in the recommended curve related parameter table, obtains the completed ablation path by comparison with the surgical tutorial, obtains the coordinates and category of the target frame of the shooting screen by image target detection technology and image classification technology, and the categories include organ class, hand class and surgical tool class; if there are coordinates of the hand class target frame, the CPU of the main control device obtains the coordinates of the hand class target frame, captures a hand class picture, and obtains the hand class gesture by gesture recognition technology, and the gestures include working and idle; the built-in GPT assistant of the main control device uses the surgical tutorial as known information, and obtains the surgical progress and the confidence of the current surgical progress according to the completed ablation path, the shooting screen target coordinates and category, the hand class gesture, and the blocked targets, changed targets and unchanged targets in the recommended curve related parameter table. The surgical progress includes the current surgery name, surgical step category and surgical step; The built-in GPT assistant is a trained large model in the Chinese medical field, which can record historical conversation information; determine the length of the historical conversation information, and if the length of the historical conversation information is less than a preset value, obtain the shooting picture, describe the shooting picture through the built-in GPT assistant, and use the description content of the shooting picture as the historical conversation information; A customized prompt may be added to the historical conversation information and input into the built-in GPT assistant to obtain a corresponding answer.
6. The remote video teaching method for standard maze operation in cardiac surgery according to claim 1, characterized in that: The main control device obtains the expert voice information, combines the voice recognition technology to obtain the expert's voice text, and obtains the corresponding results according to the user identity through the intelligent analysis model and displays them, which specifically includes: S5.
1. Construct a multi-time dimension confusion memory table, and record or update it in the form of a data table. The multi-time dimension confusion memory table includes user identity, user status, confusion generation time, confused surgery progress, confusion end time, and confusion degree. The user identity includes audience, doctor, and expert. The user status includes confused state and normal state. The confused state includes the state in which the user is confused about the surgery, and the normal state includes the state in which the user normally understands the surgery tutorial. The confusion degree can be set only when the user identity is audience. S5.
2. According to the laser display time in the recommended curve related parameter table, the display time of the laser emitter 7 is set. According to the surgical progress, if the surgical step belongs to the radial line category, the laser emitter draws a curve at the corresponding part to obtain the drawn curve, and records the completion time of the drawn curve and the number of laser drawings in the recommended curve related parameter table; S5.3, the doctor performs surgery according to the drawn curve, and at the same time, the CPU of the main control device obtains the shooting picture, executes step S4 regularly, obtains the surgery progress, and the storage card of the main control device records the surgery progress. If the surgery progress does not change, the time when the surgery progress does not change is recorded; S5.
4. If the operation progress is compared with the operation progress on the storage card of the main control device and the operation progress has changed, then the time of recording the unchanged operation progress is stopped and reset, and the user identity is stored as a doctor and the user status is normal, which are stored in the multi-dimensional confusion memory table; if the time of unchanged operation progress exceeds the threshold, then the time of recording the unchanged operation progress is stopped and reset; the main control device updates the laser display time and the number of repeated drawing in the recommended curve related parameter table, and executes steps S5.3-S5.4 again. If the time of unchanged operation progress exceeds the threshold and the number of repeated drawing in the recommended curve related parameter table is ≥2, the number of repeated drawing in the recommended curve related parameter table is reset, and the user identity is stored as a doctor, the user status is the confused state, the current time is stored as the confusion generation time, and the operation progress is the confused operation progress. In the multi-time dimensional confusion memory table, whether to turn on external laser control intervention in the recommended curve related parameter table is updated to "yes"; The expert display device of the expert can enable the use authority of the laser transmitter, and the expert communicates with the doctor through the built-in microphone of the expert display device; the expert display device obtains the graffiti curve drawn by the expert, and transmits it to the main control device through wireless network technology, and the main control device displays the graffiti curve at the corresponding part through the laser transmitter; at the same time, through step S4, the CPU of the main control device obtains the surgical progress and compares it with the surgical progress on the storage card of the main control device. If the surgical progress changes, the current time is recorded as the confusion end time and stored in the multi-time dimension confusion memory table. The graffiti curve drawn by the expert is a curve drawn by the expert in the expert page display area using the graffiti function in the expert display device; S5.
5. The CPU of the main control device obtains the surgical progress and surgical tutorial of step S4. According to the surgical progress, the category of the surgical steps currently to be performed is obtained from the surgical tutorial. If the surgical step category belongs to the radial category, it starts with a frequency of once every 1 second, using the optional parameter as the ablation tool, and obtains the detection result of the ablation tool target in the captured image through the image detection program described in step S4.3, including the target rectangular frame coordinates and the segmentation coordinates. If the detection result is not empty, then further in the captured image, according to the target rectangular frame coordinates, the ablation tool target image is cut off, and the key part of the ablation tool is detected through the image segmentation technology to obtain the detection result of the key part of the ablation tool, which includes the key part rectangular frame coordinates and the key part segmentation point coordinates. If the detection result of the key part of the ablation tool is not empty, that is, the ablation tool is in use, then the ablation tool target image and the ablation tool key part detection result are stored in the memory of the main control device. Otherwise, the ablation tool is not in use, and nothing is stored in the memory of the main control device. If the surgical steps of the surgical progress change, stop the image detection program; obtain the target image of the ablation tool and the detection results of the key parts of the ablation tool, obtain the starting and ending positions of the key parts of the ablation tool through the ablation path fitting program in step S4.3, connect the starting and ending positions, and form a doctor path curve; S5.
6. According to the surgical tutorial, if the surgical step category in the surgical tutorial belongs to the radial category, the CPU of the main control device obtains the doctor's radial curve, the drawn curve of the laser transmitter, and the scribble curve drawn by the expert, calculates the absolute error between the doctor's radial curve, the scribble curve, and the drawn curve, and gives the expert corresponding operation authority according to the absolute error, specifically including: 1) The main control device obtains the absolute error. If the absolute error between the doctor's diameter curve and the graffiti curve is within a threshold range, and the absolute error between the doctor's diameter curve and the drawn curve exceeds the threshold range, the surgical progress is inaccurate. The video is obtained from the storage card of the main control device, and multiple segments of highlighted video files are obtained through a video segment highlighting program. The expert views the highlighted video file through the expert display device, opens the expert's authority to select the highlighted part, and changes the surgical progress. 2) The main control device obtains the absolute error. If the absolute error between the scribble curve and the drawn curve is within the threshold range, and the absolute error between the doctor's surgical path curve and the scribble curve exceeds the threshold range, the current time is obtained as the time when the confusion occurs, and the surgical progress is the confused surgical progress. Combined with the user's identity as an expert and the user's state as a confused state, the results are stored in the multi-time dimension confusion memory table. At the same time, the CPU of the main control device updates the recommended curve related parameter table to indicate whether to enable external laser control intervention as "yes", thereby enabling the expert to use the laser transmitter. The expert uses the built-in microphone of the expert display device to Communicate with the doctor, redraw the graffiti curve through the graffiti, the laser transmitter obtains the redrawn graffiti curve through wireless network technology, and displays it at the corresponding part; at the same time, the CPU of the main control device executes steps S5.2-S5.5; 3) The main control device obtains the absolute error. If the absolute error between the scribble curve and the drawn curve exceeds the threshold range, and the absolute error between the doctor's diameter curve and the scribble curve exceeds the threshold range, the video segment highlighting program is executed to obtain multiple segments of brightly marked video files. The CPU of the main control device calculates the average value of the absolute error and normalizes it to between 0 and 1 to obtain the normalized absolute error average value. According to the normalized absolute error average value, the opacity of multiple segments of highlighted video files is set; the multiple segments of highlighted video files are traversed, The CPU of the master control device obtains the center position of each highlighted video file screen, aligns each highlighted video file according to the center position of the screen, and displays them in the viewer page display area and the expert page display area of the user display device. At the same time, according to whether the external laser control intervention is turned on in the recommended curve related parameter table and the answer is "yes", the authority of the expert to use the laser transmitter is turned on, and the CPU of the master control device executes steps S5.2-S5.5; 4) The video segmentation highlighting program includes: the CPU of the main control device obtains the recommended curve related parameter table and the video, and uses the drawing completion time in the recommended curve related parameter table to segment the video to obtain multiple video files; the CPU of the main control device obtains the surgical tutorial, and obtains the special terms of the surgery through the built-in GPT assistant of the main control device; traverses the multiple video files, and obtains the segmentation results of each frame in each video file through image segmentation technology for each video file; obtains the special terms of the surgery, screens the segmentation results of each frame, and highlights the segmentation results of each frame if the segmentation results of each frame contain the special terms of the surgery; If the segmentation result of each frame does not contain the proper noun of the surgery, the occluded target in the parameter table related to the recommended curve is obtained. If the occluded target is consistent with the proper noun of the surgery, the occluded target is regenerated through adversarial generation technology, and the regenerated occluded target is highlighted. Otherwise, the video file is removed. Through the above steps, multiple highlighted video files are obtained; S5.7, when the expert is giving instructions and explanations, the master control device has a built-in GPT assistant, which acquires the expert's voice content, obtains the voice text and voice time through the voice recognition algorithm, sets a custom prompt for the built-in GPT assistant, extracts key parts of the voice text, and obtains precautions about the surgery, surgical-related proper nouns, and names of related surgeries; S5.
8. While the audience is watching the expert's explanation, the CPU of the main control device obtains the precautions of the operation, the proper nouns related to the operation, and the name of the operation related to the operation, and obtains the audience's facial image in real time through the built-in camera of the user display device, and obtains the audience's expression results in combination with expression recognition technology, and the expression results include confused expression and normal expression; if the confused expression appears, the main control device has a built-in GPT assistant to obtain the operation progress, the audience's conversation history and the audience's facial image, obtain the normalized audience's confusion level, record the user identity as the audience, the user state as the confused state, the audience's confusion level as the confusion level, the current time as the confusion generation time, and the operation progress as the confused operation progress, and store them in the multi-time dimension confusion memory table; The CPU of the master control device obtains the proper noun set, obtains multiple segments of highlight-marked video files through the video segment highlighting program, and sorts the multiple segments of highlight-marked video files according to the drawing completion time of the recommended curve related parameter table, and processes them in a conventional manner: Calculate the time difference between the drawing completion time and the current time of each highlight-marked video file. If the time difference is large, the opacity of the highlight-marked video file is smaller. Otherwise, the opacity of the highlight-marked video file is larger. Obtaining a preset opacity of the highlighted video file, obtaining the degree of confusion, combining the preset opacity, and using the method of overall opacity = preset opacity × preset opacity weight + degree of confusion × degree of confusion weight, calculating the overall opacity of each highlighted video file, and connecting the multiple highlighted video files together according to the sorting results of the multiple highlighted video files, and displaying them in the audience page display area of the user display device; The opacity settings also include: Obtain the voice text and voice time of step S5.6, set a custom prompt through the built-in GPT assistant to extract the time-related descriptive words in the voice text, if the built-in GPT assistant obtains the time-related descriptive words, then calculate the difference between the drawing completion time of the recommendation curve related parameter table and the voice time, obtain the corresponding highlight mark video file, and adjust the preset opacity weight; otherwise, process in a conventional manner, wherein the preset opacity weight is obtained from the server; The CPU of the main control device obtains the surgical tutorial and the name of the related surgery, obtains the text segment in the surgical tutorial with the same surgical name as the name of the related surgery through text extraction, and displays it in the tutorial display area of the user display device; at the same time, the main control device has a built-in GPT assistant, which starts to regularly obtain the surgical progress, the audience's conversation history and the audience's facial image, and obtains the normalized audience's confusion level; obtains the normalized audience's confusion level and the confusion level in the multi-time dimensional confusion memory table, and by comparison, if the normalized audience's confusion level is reduced, cancels the tutorial display area superimposed on the user display device, records the current time as the confusion end time, and stores it in the multi-time dimensional confusion memory table, and at the same time stops the built-in GPT assistant from regularly obtaining the surgical progress, the audience's conversation history and the audience's facial image; Among them, the audience refers to interns, the doctor refers to the surgeon, and the expert refers to the expert doctor.
7. A remote video teaching device for standard maze operation in cardiac surgery, used to implement a remote video teaching method for standard maze operation in cardiac surgery as claimed in any one of claims 1 to 6, characterized in that: It includes a base bracket, brake rollers are fixedly installed at the bottom of the four corners of the base bracket, the upper end of the base bracket is fixedly installed with a main control device, a camera bracket is installed on the main control device, a camera shell is installed on the camera bracket, the camera shell is fixedly installed with a camera, a laser transmitter and a microphone, and the camera and the laser transmitter are located at the bottom of the camera shell.
8. The remote video teaching device for standard maze operation in cardiac surgery according to claim 7, characterized in that: The main control device includes an electrical box, the lower end of which is fixedly mounted on the base support frame, the upper end of which is fixedly mounted on the camera bracket, a main box is fixedly mounted in the electrical box, a main board is fixedly mounted in the main box, a CPU, a storage card, a wireless projection module and a loudspeaker are fixedly mounted on the main board, the main board is connected to an external network cable and a power supply, the main board is electrically connected to a camera, a laser transmitter and a microphone, the main board is electrically connected to a main control screen, and the main control screen is fixedly mounted on the camera bracket.
Citation Information
Cited By
LED transparent display intelligent control system for action teaching
CN121214733A
