update cam resolution and fixed line workflow