Main cahnged to detect obs from frontcam