This repository is no longer maintained. The original README is below.
Rick Roll Detection using Facial Recognition
rick-roll-detector is a Python package that uses facial recognition to detect if an image, video, or Youtube video is a Rick Roll.
Step 1: Install rick-roll-detector with PIP:
pip3 install rick-roll-detector
Step 2: Use of all of the CLI and Python commands are explained here https://alexwillcode.github.io/rick-roll-detector/.
from rick_roll_detector import verify_youtube_video
video_url = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
if verify_youtube_video(video_url):
print("The video is a Rick Roll!")
else:
print("The video isn't a Rick Roll.")
rick-roll-detector --youtube "https://www.youtube.com/watch?v=dQw4w9WgXcQ"