Hello everyone, I'm thinking of a project, main idea is about processing an image with
OpenCV
. I believe that I should implement something reactive + FP: imagine there is a bar where we can "just add new processing operation". This will result in a "list of operations", applied:
rawImage -> op1-> op2 -> op3 -> processedImage
. where all
opX
take result of the previous one. That would be great to memoize the result of operations, so that if I change some characteristics in
op3
for example (each operation has its own arguments), that wouldn't lead to recomputation of
op1
and
op2
. Which way should I dig in, how do you think? I think this is ideal for FP, what do you say?