Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
line = img.get_regression([(255,255) if BINARY_VISIBLE else THRESHOLD]) #函数返回回归后的线段对象line,有x1(), y1(), x2(), y2(), length(), theta(), rho(), magnitude()参数。 我想知道 这个get.regression()这个函数底层怎么写的 ,这么厉害底层算法我想看看 ,它是怎么根据最小二乘法拟合的
https://github.com/openmv/openmv/blob/4f209ea9b1937499e8d3e54c89c04f5c2107f275/src/omv/img/stats.c#L705