How to Solve NameError: name 'face_recognition' is not defined

Solution: Import the 'face_recognition' module

To Solve the error, add the following line to the top of your code.

import face_recognition

 

For more information:
Python face_recognition