import sys
sys.path.append('../../../../')
import os
from moviegoer.tables import load_film_object, film_id_and_scene_id_from_scene_directory
film_id, scene_id = film_id_and_scene_id_from_scene_directory()
scene_id
'd_5863_5961'
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': 13, 'nature': 3})
Potential Common Locations: Counter({'restaurant': 13})
Potential Other Locations: Counter({'street': 44, 'road': 14, 'park': 13, 'building': 7, 'forest': 3, 'sidewalk': 2, 'city': 1})
Establishing Shot Locations: Counter({'building': 4})
Named Participants: Counter({'mimes': 1})
Descriptors: ['outdoors', 'standing']
Held Items: Counter({'stick': 4, 'microphone': 2, 'umbrella': 1, 'box': 1, 'paintbrush': 1, 'comb': 1, 'stick with a lot': 1})
Active Actions: Counter({'singing': 16, 'painting': 11, 'dancing': 9, 'showing': 6, 'riding': 3, 'painted': 3, 'running': 2, 'putting': 2, 'pointing': 1, 'getting': 1, 'shaking': 1, 'giving': 1, 'dressed': 1})
scene_obj.display_anchor_shots()
scene_obj.display_scene_frames_large()
scene_obj.print_info()
*Scene Information* Scene ID: d_5863_5961 Start Frame: 5863~00 End Frame: 5961~50 Scene Time: 01:37:43 - 01:39:21 Scene Runtime: 0:01:39 *Technical Details* Aspect Ratio: 2.41 Avg. Shot Duration: 9.88 Avg. Brightness: 52 Avg. Contrast: 70 *Dialogue Cadence* Sentences Per Minute: 2 Words Per Sentence 38.50 Questions Per Minute: 0.00 Pct. Questions: 0% *Emotion* Laughs Per Minute: 0.00 Profanity Per Minute: 0.00 Words Per Profanity: 0 Exclamations Per Minute: 0.00
scene_obj.display_cutaway_shots()
scene_obj.display_qna_frames()
scene_obj.display_first_p_sentence_frames()
scene_obj.display_second_p_address_frames()
scene_obj.display_exclamations()
scene_obj.display_laughs()
[]
scene_obj.display_unintelligible_language()
SPEAKING FRENCH
SPEAKING ITALIAN
SONG IN FRENCH
scene_obj.display_long_take_shots()
[]
scene_obj.display_color_shots()