In [1]:
import sys
sys.path.append('../../../../')
import os
from moviegoer.tables import load_film_object, film_id_and_scene_id_from_scene_directory
In [2]:
film_id, scene_id = film_id_and_scene_id_from_scene_directory()
scene_id
Out[2]:
'd_4008_4247'
In [3]:
film_obj = load_film_object(film_id)
scene_obj = film_obj.scene_object(scene_id)
scene_obj.print_context_clues()
*Plot Context*
Context Themes: Counter({'dining': 101, 'violence': 19, 'transit': 9, 'nature': 2})
Potential Common Locations: Counter({'kitchen': 82})
Potential Other Locations: Counter({'doorway': 22, 'street': 13, 'forest': 2})
Named Participants: Counter({'caroline': 4, 'luke': 1})
Descriptors: ['indoors', 'standing', 'rain']
Held Items: Counter({'knife': 19, 'cell phone': 6, 'umbrella': 5, 'piece of paper': 5, 'hand out': 5, 'something': 5, 'bag': 4, 'book with a circle': 4, 'box': 3, 'book': 3, 'skateboard': 2, 'piece of wood': 2, 'knife over a dead animal': 2, 'nintendo wii game controller': 2, 'suitcase': 1, 'piece of luggage': 1, 'paper with a circle': 1, 'bat': 1, 'spatula': 1, 'knife over a wooden cutting board': 1, 'object': 1, 'animal': 1})
Active Actions: Counter({'open': 12, 'driving': 9, 'opening': 8, 'cutting': 7, 'cut': 6, 'reaching': 6, 'preparing': 5, 'riding': 4, 'lit': 4, 'reading': 3, 'hanging': 2, 'glowing': 2, 'getting': 1, 'perched': 1, 'used': 1, 'pointing': 1})
Left Wearing: Counter({'suit': 1, 'hooded jacket': 1, 'yellow shirt': 1, 'jacket': 1})
In [4]:
scene_obj.display_anchor_shots()
No description has been provided for this image
In [5]:
scene_obj.display_scene_frames_large()
No description has been provided for this image
In [6]:
scene_obj.print_info()
*Scene Information*
Scene ID: d_4008_4247
Start Frame: 4008~25
End Frame: 4247~75
Scene Time: 01:06:48 - 01:10:47
Scene Runtime: 0:04:00

*Technical Details*
Aspect Ratio: 2.35
Avg. Shot Duration: 8.88
Avg. Brightness: 25
Avg. Contrast: 22

*Dialogue Cadence*
Sentences Per Minute: 14
Words Per Sentence 5.53
Questions Per Minute: 2.25
Pct. Questions: 16%

*Emotion*
Laughs Per Minute: 0.00
Profanity Per Minute: 0.25
Words Per Profanity: 315
Exclamations Per Minute: 1.50

In [7]:
scene_obj.display_cutaway_shots()
No description has been provided for this image
In [8]:
scene_obj.display_qna_frames()
No description has been provided for this image
In [9]:
scene_obj.display_first_p_sentence_frames()
No description has been provided for this image
In [10]:
scene_obj.display_second_p_address_frames()
No description has been provided for this image
In [11]:
scene_obj.display_exclamations()
No description has been provided for this image
In [12]:
scene_obj.display_laughs()
Out[12]:
[]
In [13]:
scene_obj.display_unintelligible_language()
In [14]:
scene_obj.display_long_take_shots()
Out[14]:
[]
In [15]:
scene_obj.display_color_shots()