I am working on a grails application that does a lot of image processing. The working process:
- User Uploads Image Element
- added to the queue
- the backend process will select an item from the queue and perform analysis on it
I came across OpenCV, which has many functions that I would like to use, however, the JavaCV java shell was used for it. pain for work. There is no documentation in Java / Scala other than a few examples. However, it has decent documentation for C or Python .
So I'm wondering if it is okay to write work queues in Python or C. Workers collected an element from a queue, processed it, and put it back in the queue so that grails could pick it up.
My questions:
- What should I use for my turn? JMS plugin?
- Is there anything special that needs to be done so that Python or C finds out that there is a new element in the queue? Is that what ActiveMQ is good for?
- Do you see the main problems with my approach?
- Any links showing this type of cross-platform demo with JMS will be appreciated.
source share