Detection of Rail Line Track and Human Beings Near the Track to Avoid Accidents