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_4301_4488'
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({'violence': 81, 'dining': 32})
Named Participants: Counter({'amy': 2, 'ed': 2, 'brewster': 1, 'buddy': 1, 'chuck': 1, 'chuckles': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'gun': 42, 'knife': 32, 'cell phone': 26, 'baseball bat': 9, 'hand': 7, 'hair': 6, 'sword': 5, 'tennis racquet': 4, 'neck': 3, 'control': 2, 'toothbrush': 2, 'cigarette': 2, 'metal object': 1, 'guitar': 1, 'nintendo wii game controller': 1, 'ax': 1, 'steering wheel': 1, 'device': 1, 'hands': 1, 'bottle': 1, 'gold object': 1, 'gold': 1, 'something': 1, 'candle': 1, 'glass': 1, 'hair back': 1, 'axe': 1})
Active Actions: Counter({'open': 25, 'lit': 22, 'making': 14, 'playing': 5, 'brushing': 5, 'covering': 5, 'smoking': 4, 'glowing': 4, 'shines': 2, 'cutting': 2, 'crossed': 1, 'turned': 1, 'shining': 1, 'swinging': 1, 'reaching': 1, 'working': 1, 'pouring': 1, 'coming': 1, 'combing': 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_4301_4488
Start Frame: 4301~75
End Frame: 4488~75
Scene Time: 01:11:41 - 01:14:48
Scene Runtime: 0:03:08

*Technical Details*
Aspect Ratio: 1.78
Avg. Shot Duration: 8.14
Avg. Brightness: 17
Avg. Contrast: 21

*Dialogue Cadence*
Sentences Per Minute: 8
Words Per Sentence 4.50
Questions Per Minute: 0.00
Pct. Questions: 0%

*Emotion*
Laughs Per Minute: 0.64
Profanity Per Minute: 0.96
Words Per Profanity: 39
Exclamations Per Minute: 0.96

In [7]:
scene_obj.display_cutaway_shots()
No description has been provided for this image
In [8]:
scene_obj.display_qna_frames()
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()
No description has been provided for this image
No description has been provided for this image
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()