Home > Net >  I need to measure the gap between railway switch and track using python
I need to measure the gap between railway switch and track using python

Time:04-29

I need to predict the gap in railway switch using python .enter image description here

CodePudding user response:

This is a way to general question.
The most important thing you need to know is the scale of the image.
Scale could be like, 1mm for 1 pixel.
The second step is to detect two rails, Here you can use a segmentation model and train to identify tracks.
Then simple find the shortest distance between those two identifies rails.
This is not a simple task, you need to brain strom around the above ideas.

  • Related