user10291: It is necessary to recognize the motion and record video live.  
Update
Save enough on your memory card.
PS
Maybe I'll repeat the question, but I am not guided in English.
Sorry for my English.

user10394: An Arduino is not a powerful processor and can not do much image processing.  I doubt that there is a USB camera that could be connected to the Arduino.
There are a range of OVO cameras that can connect to the Arduino, but I don't think you will be able to record live video on an Arduino with these, where would you store the file for starters?
There is a PIXY camera system, this has its own microprocessor and interfaces with an Arduino.  It can record video and do object recognition.
http://charmedlabs.com/default/pixy-cmucam5/
Hope that helps.

10291: <p>It is necessary to recognize the motion and record video live.  </p>

<p><strong>Update</strong><br>
Save enough on your memory card.</p>

<p><strong><em>PS</strong><br>
Maybe I'll repeat the question, but I am not guided in English.<br>
Sorry for my English</em>.</p>
 10394: <p>An Arduino is not a powerful processor and can not do much image processing.  I doubt that there is a USB camera that could be connected to the Arduino.</p>

<p>There are a range of OVO cameras that can connect to the Arduino, but I don't think you will be able to record live video on an Arduino with these, where would you store the file for starters?</p>

<p>There is a PIXY camera system, this has its own microprocessor and interfaces with an Arduino.  It can record video and do object recognition.
<a href="http://charmedlabs.com/default/pixy-cmucam5/" rel="nofollow">http://charmedlabs.com/default/pixy-cmucam5/</a></p>

<p>Hope that helps.</p>
