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_5312_5632'
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({'fancy': 32, 'intimacy': 10, 'drinking': 8, 'transit': 5, 'driving': 3, 'violence': 2, 'dining': 2, 'aquatic': 1})
Potential Common Locations: Counter({'bar': 7, 'car': 3})
Potential Other Locations: Counter({'stage': 19, 'street': 9, 'building': 5})
Establishing Shot Locations: Counter({'building': 1})
Named Participants: Counter({'lionel': 2, 'kurt': 1, 'yo': 1})
Descriptors: ['indoors', 'standing', 'crowded']
Held Items: Counter({'camera': 109, 'cell phone': 35, 'cup': 3, 'object': 3, 'piece of paper': 2, 'knife': 2, 'pumpkin': 2, 'microphone': 1, 'piece of luggage': 1, 'piece of wood': 1, 'suitcase': 1, 'bottle of wine': 1, 'head with his hands': 1, 'posters': 1, 'box': 1, 'hat': 1, 'fan': 1, 'hand out': 1, 'remote': 1, 'hand over his shoulder': 1, 'man': 1, 'banana': 1, 'cigarette': 1})
Active Actions: Counter({'taking': 25, 'flying': 22, 'singing': 16, 'kissing': 9, 'open': 8, 'dancing': 8, 'laughing': 6, 'filmed': 4, 'parked': 3, 'putting': 2, 'covering': 2, 'hugged': 2, 'driving': 2, 'drinking': 1, 'speaking': 1, 'playing': 1, 'shines': 1, 'hugging': 1, 'smoking': 1, 'painted': 1, 'covered': 1, 'hanging': 1, 'getting': 1, 'held': 1, 'touching': 1, 'tying': 1, 'yelling': 1, 'running': 1})
Left Wearing: Counter({'shirt': 7, 'glasses': 2, 'hat and a green jacket': 1, 'wet suit': 1})
Right Wearing: Counter({'leather jacket': 13, 'shirt': 12, 'hoodie': 9, 'white shirt': 6, 'tie': 4, 'plaid': 3, 'brown jacket': 2, 'plaid shirt': 2, 'tie laying': 2, 'masks': 1, 'hat and a chain around his neck': 1, 'suit': 1, 'suit covering his face with his hands': 1, 'suit with a deer head': 1, 'jacket with a surprised look': 1, 'glasses': 1, 'hoodie and a chain around his neck': 1, 'jacket': 1, 'hat and a shirt with a pumpkin': 1})
In [4]:
scene_obj.display_anchor_shots()
In [5]:
scene_obj.display_scene_frames_large()
In [6]:
scene_obj.print_info()
*Scene Information*
Scene ID: d_5312_5632
Start Frame: 5312~50
End Frame: 5632~25
Scene Time: 01:28:32 - 01:33:52
Scene Runtime: 0:05:20

*Technical Details*
Aspect Ratio: 1.78
Avg. Shot Duration: 9.41
Avg. Brightness: 33
Avg. Contrast: 20

*Dialogue Cadence*
Sentences Per Minute: 8
Words Per Sentence 6.26
Questions Per Minute: 1.31
Pct. Questions: 17%

*Emotion*
Laughs Per Minute: 0.00
Profanity Per Minute: 1.87
Words Per Profanity: 26
Exclamations Per Minute: 1.50

In [7]:
scene_obj.display_cutaway_shots()
In [8]:
scene_obj.display_qna_frames()
In [9]:
scene_obj.display_first_p_sentence_frames()
In [10]:
scene_obj.display_second_p_address_frames()
In [11]:
scene_obj.display_exclamations()
In [12]:
scene_obj.display_laughs()
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()