{"cells":[{"metadata":{},"cell_type":"markdown","source":"# Deepfakes are not only for faces"},{"metadata":{},"cell_type":"markdown","source":"#### As you can observe in the video below, that belongs to the test set, there is a weird \"shadow\" moving in the background near the open door, as an erased person who enters in the room and soon later leaves the room..."},{"metadata":{"trusted":true},"cell_type":"code","source":"import os\n\nfrom IPython.display import display, Audio, HTML #Video\nfrom base64 import b64encode\n\ndef play_video(video_file, video_folder, pretitle=None, tipo='video/mp4'):\n    '''\n    Display video\n    param: video_file - the name of the video file to display\n    param: video_folder - the folder where the video file is located\n    '''\n    video_url = open(os.path.join(video_folder,video_file),'rb').read()\n    data_url = \"data:\"+tipo+\";base64,\" + b64encode(video_url).decode()\n    title = video_file\n    if pretitle is not None:\n        title = pretitle+\" \"+title\n    return HTML(\"\"\"<h6>%s</h6><br><video width=500 controls><source src=\"%s\" type=\"%s\"></video>\"\"\" \n                % (title, data_url, tipo))","execution_count":null,"outputs":[]},{"metadata":{},"cell_type":"markdown","source":"##### We don't know which is the label nofake/fake of the video, but I think is \"fake\"."},{"metadata":{"trusted":true},"cell_type":"code","source":"video_folder = '../input/deepfake-detection-challenge/test_videos'\nvideo_file = 'acazlolrpz.mp4'\nplay_video(video_file, video_folder, pretitle=\"The Invisible Man\")","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"markdown","source":"##### Seeing this I decided stop competing because the solution in my mind exceeded by far my available time and my computation capabilities."},{"metadata":{"trusted":true},"cell_type":"code","source":"","execution_count":null,"outputs":[]}],"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat":4,"nbformat_minor":4}