1

How do i create a custom Detector like FaceDetector and BarcodeDetector in Mobile vision API?

I am building a project to perform hand segmentation using color masks, i have the logic implemented in opencv. I want to integrate that logic in using the vision api by implementing a custom Detector interface for hand segmentation.

Also, the detect(Frame) returns a SparseArray<> if you could shed some light on how to create that sparse array, it would be of great help

I visited this thread but i don't want to wrap the Face detector as i have no use for it.

0 Answers0