your code is running only for single line.but not detecting double lines...plz help i want double lines code for images and videos