Hi All, I have found out that if you want to use your USB webcam for training you can update the file https://github.com/paviro/MMM-Facial-Recognition-Tools/blob/master/lib/config.py in the appropriate directory with the following. for some reason it doesnt seem to want to fall over to the webcam so I just commented out the pi web cam and added the usb one.
def get_camera(preview=True):
try:
# from . import picam
# capture = picam.OpenCVCapture(preview)
# capture.start()
# return capture
from . import webcam
return webcam.OpenCVCapture(device_id=0)
capture.start()
return capture
except Exception:
from . import webcam
return webcam.OpenCVCapture(device_id=0)