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_1656_1785'
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': 52, 'drinking': 5})
Potential Common Locations: Counter({'kitchen': 52})
Named Participants: Counter({'amy': 1, 'charley': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'cell phone': 19, 'beer bottle': 5, 'beer can': 3, 'can of budweiser beer': 2, 'box of budweiser': 2, 'pack of budweiser beer': 1, 'can of budweiser': 1, 'box of beer': 1, 'bag of budweiser beer': 1})
Active Actions: Counter({'glowing': 9, 'reaching': 2, 'brushing': 2, 'opening': 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_1656_1785
Start Frame: 1656~00
End Frame: 1785~75
Scene Time: 00:27:36 - 00:29:45
Scene Runtime: 0:02:10

*Technical Details*
Aspect Ratio: 1.78
Avg. Shot Duration: 20.80
Avg. Brightness: 12
Avg. Contrast: 17

*Dialogue Cadence*
Sentences Per Minute: 10
Words Per Sentence 6.27
Questions Per Minute: 1.38
Pct. Questions: 14%

*Emotion*
Laughs Per Minute: 0.46
Profanity Per Minute: 0.00
Words Per Profanity: 0
Exclamations Per Minute: 0.00

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()
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()