Say it early
If you describe the project as finished, follow-up questions will find the gap and it will look as though you were hiding it. Put it in your first answer instead: "The detection works on our test images, but on live camera input it is too slow to be useful." Now the conversation is about something real.
Explain the cause as you understand it now
Do not stop at the first explanation you had at the time. By the end of a project you know more. "We thought it was the camera. It turned out the model was too large for the board, and we found that out too late to train a smaller one." That shows you can diagnose a problem, which is one of the things the interviewer is trying to find out.
Separate what you could control
Components that arrived late, a lab that was closed or a dataset that was withdrawn are real reasons, and you can mention them once. Then spend your time on the parts you could have done differently. Interviewers listen for whether a candidate takes responsibility for their share without taking on blame that is not theirs.
Describe what you tried, in order
"First we reduced the image size. That helped a little. Then we tried a smaller model, which was faster but missed too much. We ran out of time before trying the third idea." This is the most valuable part of the answer, because it shows how you work when something is not going well, and that is a large part of any job.
Say what you would do differently
Make it specific. "Test on the real device in the first month, not the last" is useful. "Plan better" is not.
A sample answer
This answer is made up, in the order above: "Detection works on our test images but is too slow on a live camera. The model was too large for the board, and we found out late. We reduced the image size, which helped a little, then tried a smaller model, which missed too much. Next time I would test on the board in the first month. The labelling and training parts run, and I can walk you through them."
If the problem was a teammate
It is fine to say "one member left the team in the sixth semester, so three of us split the work." It is not fine to describe that person's faults. Interviewers notice how you speak about colleagues who are not in the room.
Show what does work
Even a project that failed overall has a part that runs. Know it well and offer to walk through it. The interviewer is less interested in whether the project succeeded than in whether you understand why it did or did not.
