I am doing a project that recognize human face from camera. Here is the workflow:
- acquire a frame of image from camera
- detect if there is motion in the frame, if motion detected in current frame, put the motion frame in queue for further process.
- search faces in the output frame from step2
- if there is faces, save the face
what I want:
- the workflow can be easily extend, say i may wanna add new steps to the workflow to add new features.
- a step can be easily turned on/off without affect following steps
what i can think of is a service bus-like architecture. for example. step2. can publish message that indicating a motion frame is detected, the subscriber can then proceed with its process with the captured motion frame.
so what do you think?