Researched on gender bias in commercials from Youtube-8M dataset by creating a nudity detection tool and statistically analyzing the effect of presence of nudity on views.
Instruction on how to mass download youtube videos using youtube ids and extract key frames according to scene change
Project for AI For Social Good 2019. Detect gender bias in commercials.
You can try the following steps inside the folder "try". Execute ./batch_command.sh to perform all three steps at once and see what happens
usage: python process_raw.py -f <name of the txt>
# txt file format before processing:
# 'gm_n76Dsl0c', 'QXAYIYdvnys', 'onPZIVemXKQ', '-T7zyezBkuY', 'e01a4-ClcTs', 'zwY6acYYO3o'
# txt file format after processing:
# gm_n76Dsl0c
# QXAYIYdvnys
# onPZIVemXKQ
# -T7zyezBkus
# e01a4-ClcTs
# zwY6acYYO3o
put all the videos inside the folder "videos"
usage: ./download.sh <name of the txt>
# txt file format:
# gm_n76Dsl0c
# QXAYIYdvnys
# onPZIVemXKQ
# -T7zyezBkuY
# e01a4-ClcTs
# zwY6acYYO3o
usage: ./extract_frames.sh