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_1430_1628'
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': 66, 'dining': 4, 'nature': 3, 'animal': 2})
Potential Other Locations: Counter({'building': 23, 'street': 22, 'doorway': 20, 'hallway': 19, 'sidewalk': 6, 'forest': 3, 'barn': 2, 'bridge': 1, 'escalator': 1, 'road': 1})
Establishing Shot Locations: Counter({'building': 1})
Named Participants: Counter({'dimitri': 10, 'vassili': 2, 'alexei': 1, 'comrade': 1, 'dima': 1, 'ivan': 1, 'ooh': 1, 'sasha': 1, 'seryosha': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'gun': 37, 'cell phone': 14, 'rifle': 8, 'knife': 4, 'guns': 4, 'box': 4, 'cat': 2, 'hand': 1, 'baby': 1, 'piece of paper': 1, 'crate': 1})
Active Actions: Counter({'flying': 18, 'open': 7, 'crossed': 5, 'turned': 5, 'pointing': 3, 'making': 3, 'railing': 2, 'striped': 1, 'pushing': 1, 'hanging': 1, 'lit': 1, 'covered': 1})
Left Wearing: Counter({'trench coat': 4, 'coat': 2, 'military uniform': 1, 'green jacket': 1, 'jacket': 1, 'helmet': 1})
Right Wearing: Counter({'military uniform': 16, 'trench coat': 14, 'coat': 6, 'jacket': 2})
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_1430_1628
Start Frame: 1430~00
End Frame: 1628~25
Scene Time: 00:23:50 - 00:27:08
Scene Runtime: 0:03:19

*Technical Details*
Aspect Ratio: 1.78
Avg. Shot Duration: 8.82
Avg. Brightness: 41
Avg. Contrast: 16

*Dialogue Cadence*
Sentences Per Minute: 20
Words Per Sentence 4.57
Questions Per Minute: 2.11
Pct. Questions: 10%

*Emotion*
Laughs Per Minute: 0.30
Profanity Per Minute: 1.81
Words Per Profanity: 52
Exclamations Per Minute: 4.22

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()
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()
No description has been provided for this image
Out[14]:
[]
InĀ [15]:
scene_obj.display_color_shots()