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]:
't_4174_4195'
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': 9})
Held Items: Counter({'camera': 15, 'gun': 9})
Active Actions: Counter({'filmed': 10, 'photographed': 9})
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: t_4174_4195
Start Frame: 4174~50
End Frame: 4195~75
Scene Time: 01:09:34 - 01:09:55
Scene Runtime: 0:00:22

*Technical Details*
Aspect Ratio: 1.78
Avg. Shot Duration: 86.00
Avg. Brightness: 59
Avg. Contrast: 16

*Dialogue Cadence*
Sentences Per Minute: 32
Words Per Sentence 4.42
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: 5.39

InĀ [7]:
scene_obj.display_cutaway_shots()
Out[7]:
[]
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()
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()