Add the visualized task to the write queue for display/write to outputfile. Args: task (TaskInfo object): task object that contain the necessary information for prediction visualization. (e.g. visualized frames.)
(self, task)
| 323 | self.output_file.write(frame) |
| 324 | |
| 325 | def display(self, task): |
| 326 | """ |
| 327 | Add the visualized task to the write queue for display/write to outputfile. |
| 328 | Args: |
| 329 | task (TaskInfo object): task object that contain |
| 330 | the necessary information for prediction visualization. (e.g. visualized frames.) |
| 331 | """ |
| 332 | with self.write_lock: |
| 333 | self.write_queue[task.id] = (True, task) |
| 334 | |
| 335 | def start(self): |
| 336 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected