Welcome to the Film Pre-Production Analysis App! 🎬 Dive deep into your favorite movie scripts with our powerful tool designed for filmmakers, screenwriters, and movie enthusiasts. This app provides interactive visualizations and detailed insights into character interactions, dialogue counts, sentiment analysis, and emotional breakdowns.
Click the link below to view the demo video!
Click here to watch the demo video
You can explore the live demo of the Film Pre-production Analysis app here: View Live Demo
Click the link above to interact with the application and experience its features.
- Home: Introduction and how-to guide.
- Word Cloud: Visualize positive and negative words from dialogues.
- Character Names: Extract and display unique character names.
- Character Dialogue Counts: Count and display dialogues for each character.
- Character Scene Counts: Analyze and count scenes involving each character.
- Bar Graph on Dialogue Count: Interactive bar graph for dialogue counts.
- Bar Graph on Scene Count: Interactive bar graph for scene counts.
- Character Interactions: Analyze and display character interactions.
- Character Relationships: Graphical representation of character relationships.
- Character Emotion Analysis: Analyze and visualize character emotions.
- Text Emotion Analysis: Analyze and visualize emotions from a given text.
To run this app locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/LP-THE-CODER/Movie_Character_Breakdown.git cd Movie_Character_Breakdown
-
Create and Activate a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies:
pip install -r requirements.txt
-
Run the App:
streamlit run deadpool.py
-
Upload CSV File:
- Navigate to the desired feature page (e.g., Word Cloud, Character Names).
- Upload a CSV file containing your movie data. Ensure it includes columns like
Scene_Dialogue
andScene_Characters
.
-
Explore Features:
- Word Cloud: Analyze and visualize positive and negative words.
- Character Names: View unique character names.
- Character Dialogue Counts: See dialogue counts for each character.
- Character Scene Counts: View scene counts for each character.
- Bar Graph on Dialogue Count: Compare dialogue counts across characters.
- Bar Graph on Scene Count: Compare scene counts across characters.
- Character Interactions: Analyze character interactions.
- Character Relationships: View relationships in a graphical format.
- Character Emotion Analysis: Analyze character emotions.
- Text Emotion Analysis: Analyze emotions from a given text.
pandas
re
nltk
wordcloud
matplotlib
numpy
streamlit
plotly
networkx
transformers
This project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions to this project! Please fork the repository and submit a pull request with your changes.