floe / surfacestreams

SurfaceStreams: send background-subtracted depth camera video via GStreamer (with optional perspective correction)
GNU Lesser General Public License v3.0
23 stars 6 forks source link

Auto-calibration #9

Open floe opened 2 years ago

floe commented 2 years ago

would involve detecting a quadrilateral area of unique color, cf. https://github.com/floe/surface-streams-mobile/blob/master/src/org/butterbrot/floe/surfacestreamsmobile/ColorBlobDetectionActivity.java#L232-L255

floe commented 2 years ago

Alternatively, pick the most common color in HSV space: https://docs.opencv.org/3.4/d6/dc7/group__imgproc__hist.html#ga6ca1876785483836f72a77ced8ea759a