walesch-yan / argussight

MIT License
0 stars 0 forks source link

added Streamer class in hierarchy #24

Closed walesch-yan closed 1 month ago

walesch-yan commented 1 month ago

The new streamer class is a direct subclass from vprocess and is meant to be used as ancestor class for other classes. It waits for the process to set and change the self._processed_frame attribute and then creates a stream using the video-streamer. Taking charge of everything concerning the stream including streaming on the correct port and generating unique stream ids. Spawner has been modified, so that it will directly check if your process is a subclass of Streamer and chooses a port for streaming in that case.