Closed glopesdev closed 2 years ago
The main current difficulty is that OpenCV does not seem to allow for simultaneous channel and depth conversion in the same call (e.g. the input TensorFlow image needs to be a 3-channel F32 image), so a temporary buffer would need to be allocated either way (e.g. both CvtColor
and Convert
need to be called).
Duplicate of #6
Specifying the desired RGB color conversion also works for the grayscale case.
Currently DLC models expect a 3-channel tensor, which means grayscale images have to be converted before detection. It might be useful to do this inside the
DetectPose
node itself both for convenience and potentially to slightly reduce the cost of external allocations.