Files @ 52d1a214c032
Branch filter:

Location: OneEye/overview.md - annotation

Laman
refactoring and documenting API
Processes and threads
=====================

Processes communicate through MsgQueues (a wrapper around multiprocessing.Queue). Each owns one incoming and holds any number of outcoming queues. The queue runs in one thread, reads messages and calls handlers on its owner.

Core
----
* Main process, starts GUI and VideoCapture. Waits for them to finish.
* Runs ImageAnalyzer and StateBag.
* Messages API:
	* putFrame(frame)
	* setParams(params)
	* fetchFrame(key)
	* fetchParams(params)

GUI
---
* Presents data for the user, handles user input.

VideoCapture
------------
* Consumes a video stream, sending captured frames to Core.