1 | initial version |
yes, opencv has javascript bindings !
I would like rgba(0, 0, 255, 255) in return
some quite unusual format, and not supported from opencv (if you meant that literally).
but you can use cvtColor():
both approaches will result in a single channel, uchar image.
(alpha, being irrelevant in comuter-vision, will just get discarded)
2 | No.2 Revision |
yes, opencv has javascript bindings !
I would like rgba(0, 0, 255, 255) in return
some quite unusual format, and not supported from opencv (if you meant that literally).
but you can use cvtColor():
both approaches will result in a single channel, uchar image.
(alpha, being irrelevant in comuter-vision, computer-vision, will just get discarded)