Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.64 KB

File metadata and controls

37 lines (23 loc) · 1.64 KB

islamophobia detection


#Ist install all the required libraries:

pip install cv2

pip install pytesseract

pip install joblib


SVM model to detect islamophobic text in the picture. and CNN model to detect islamophobic nature in image

#the data_folder consist of 4 sub folders which is:

islamophobic_text_folder = 'C:/Users/Syed Issam Bukhari/Documents/projects all/projects/islamop/Memes/islamophobic text'

not_islamophobic_text_folder = 'C:/Users/Syed Issam Bukhari/Documents/projects all/projects/islamop/Memes/Non islamophobic text'

islamophobic_nature_folder = 'C:/Users/Syed Issam Bukhari/Documents/projects all/projects/islamop/Memes/Islamophobic image'

not_islamophobic_nature_folder = 'C:/Users/Syed Issam Bukhari/Documents/projects all/projects/islamop/Memes/Non Islamophobic image'


For CNN model visit googlr drive:

https://drive.google.com/file/d/1-02VAykkgjDFQpyKdBZQI9ceHAm-z0mC/view?usp=sharing

For cnn_dataset visit:

https://drive.google.com/file/d/1213jo0D66g91Ptdg5pDE_mav5_bM1_t_/view?usp=sharinghttps://drive.google.com/drive/folders/11KYKMOclLERz_t2QMl4_7WdfL3VM8Psd?usp=sharing

For svc_dataset visit:

https://drive.google.com/drive/folders/14heZaUjvMwvwO0lBa60No1r_4As0aS73?usp=sharing

All the important notes and details of project is availble in Important notes.docx