LineSensor Detect and VideoOut fix