How to detect lines using HoughLines in OpenCV (Java)?

前端 未结 3 1771
我寻月下人不归
我寻月下人不归 2021-01-13 11:05

I\'m currently trying to detect whether a level crossing barrier has been deployed on an image using HoughLines in OpenCV. I thought my code would

3条回答
  •  春和景丽
    2021-01-13 11:49

    in Android or Java its the same idia.you must to do it in for (); to get the theta and row after you get start point and the end point ,you can core the line.(core.line) but dont forget to transfer the mat that you get the values from her to other. after this>>release the mat. hope thats its help u. r.i enjoy

提交回复
热议问题