by soultrees · 3y ago · 0 comments
That said, ive been working on a node.js PDF Text screenplay parser that will ultimately push out a JSON object according to an initiative to standardize all screenplay objects in screenJSON[0].
Here is the github for my project, it’s messy but I’m about 80% there and just need to spend more time on Regex to catch edge cases. Currently working on a next.js front end that maps out the script into a visual format but that’s not ready to be seen yet. Also don’t judge me on the name, it’s not going to stay as that. No AI as of yet, but could use text classifiers to be able to tell the difference between a key prop, and say, a camera movement but I’m trying to get as far as I can without LLM help of the classifications.
Where the fun with LLMs come in, is after all the screenplays have been parsed and turned into a dataset that is trained on not just the story but also the cinematography aspects, as well since we’ve broken it down to a granular detail of each element of each scene.
So, I suppose the next step to this would be to parse a bunch of screenplays from different formats, into a single readable format and then train an image model on the frames of those movies we also trained the text model with screenplays on to get a cross reference of what is written down vs what is displayed visually. And we can break down the visual shots with camera movements, steadicam, dolly move etc as well as identify key props in the image model (maybe. Sounds expensive) and compare them to key props in the script. I don’t know, I’m spitballing now but a multi-modal Hollywood film producer would be kind of fun but this totally is just starting as a way to standardize the script in a granular form and to code since I’m not out on set.