A device for identifying an end of a fiber tape rolling over a composite structure, the device comprising: a light source disposed proximate to the composite structure and configured to project a line of light at a first angle on the fiber tape rolling over the composite structure; an image capturing unit disposed proximate to the composite structure and configured to capture an image of the line of light on the fiber tape at a second angle; and a controller coupled to the image capturing unit and configured to: process the captured image to detect a discontinuity in the line of light on the fiber tape; and identify the end of the fiber tape based on the detected discontinuity in the line of light on the fiber tape, the device further comprising a layup head operatively coupled to the image capturing unit and configured to roll the fiber tape over the composite structure, wherein the layup head is configured to send a first signal to the image capturing unit to indicate the end of the fiber tape and the image capturing unit is configured to capture the image of the line of light on the fiber tape when the first signal is received from the layup head, characterized in that the controller is configured to: determine that the end of the fiber tape is displaced from a predetermined position on the composite structure; and send a second signal to the layup head to cease the layup head from rolling the fiber tape over the composite structure. a light source disposed proximate to the composite structure and configured to project a line of light at a first angle on the fiber tape rolling over the composite structure; an image capturing unit disposed proximate to the composite structure and configured to capture an image of the line of light on the fiber tape at a second angle; and a controller coupled to the image capturing unit and configured to: process the captured image to detect a discontinuity in the line of light on the fiber tape; and identify the end of the fiber tape based on the detected discontinuity in the line of light on the fiber tape, process the captured image to detect a discontinuity in the line of light on the fiber tape; and identify the end of the fiber tape based on the detected discontinuity in the line of light on the fiber tape, the device further comprising a layup head operatively coupled to the image capturing unit and configured to roll the fiber tape over the composite structure, wherein the layup head is configured to send a first signal to the image capturing unit to indicate the end of the fiber tape and the image capturing unit is configured to capture the image of the line of light on the fiber tape when the first signal is received from the layup head, characterized in that the controller is configured to: determine that the end of the fiber tape is displaced from a predetermined position on the composite structure; and send a second signal to the layup head to cease the layup head from rolling the fiber tape over the composite structure. determine that the end of the fiber tape is displaced from a predetermined position on the composite structure; and send a second signal to the layup head to cease the layup head from rolling the fiber tape over the composite structure.