(self, widget)
| 44 | """%{'id':str(id(self)), 'callback_function': str(callback_function)}) |
| 45 | |
| 46 | def video_stop(self, widget): |
| 47 | self.execute_javascript(""" |
| 48 | document.video_stop = true; |
| 49 | const video = document.querySelector('video'); |
| 50 | video.srcObject.getTracks()[0].stop(); |
| 51 | """) |
| 52 | |
| 53 | def process_image(self, **kwargs): |
| 54 | image = kwargs['image'] |
nothing calls this directly
no test coverage detected