https://github.com/dynamite-ready/movie-parser Skip to content Sign up * Why GitHub? + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} dynamite-ready / movie-parser Public * Notifications * Fork 2 * Star 43 * NWJS wrapper for a wider project. 43 stars 2 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 1 tag Code Latest commit @dynamite-ready dynamite-ready Grammar. ... 92a4aa6 Feb 8, 2022 Grammar. 92a4aa6 Git stats * 51 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time public Icon shenanigans and readme cleanup. Feb 6, 2022 src Icon shenanigans and readme cleanup. Feb 6, 2022 .gitignore Reaadme update and animation change. Feb 5, 2022 README.md Grammar. Feb 8, 2022 package-lock.json Basic splash screen and code formatting. Jan 28, 2022 package.json Application deployment and CLI update. Jan 31, 2022 tsconfig.json Merging in the movie-parser-client code. Sep 12, 2019 View code [ ] The NSFW Movie Parser Using the app The program is simple. After launching it, simply click the 'Upload' button (step 1). Once you've done that, use the file dialog to choose an `.mp4` file. After a short wait (step 2), the app will load and display a video for each scene detected in the video submitted. Then, step by step, the app will evaluate each scene, and highlight the banner under each vid to indicate it's NSFW status. 1: Dependencies 2: Installation 3: Build 4: Start Known bugs README.md The NSFW Movie Parser An app to read a movie file, and indicate which scenes are NSFW. You can download the installer for the Windows 10 version here. Using the app Launch the app Upload a video file Check the file for NSFW content! 1: Launch 2: Upload 3: Evaluate The program is simple. After launching it, simply click the 'Upload' button (step 1). Once you've done that, use the file dialog to choose an `.mp4` file. After a short wait (step 2), the app will load and display a video for each scene detected in the video submitted. Then, step by step, the app will evaluate each scene, and highlight the banner under each vid to indicate it's NSFW status. You can find more information at - https://raskie.com/post/ practical-ai-autodetecting-nsfw 1: Dependencies These build instructions assume you are on Windows 10+. Building for OSX or Linux isn't that much harder though, but if you need help, you can raise an issue. First of, you will need to install Node JS. You can find it here - https://nodejs.org/en/ You will then need to build the following CLI programs found in the accompanying Movie Parser CLI project, found here - https:// github.com/dynamite-ready/movie-parser-cli * evaluate-images.exe * process-video.exe Instructions for building and running the programs above can be found in the repo, but you will also need the following files to make the NSFW Movie Parser work * mkvmerge.exe (found here - https://www.videohelp.com/software/ MKVToolNix) * ResNet50_nsfw_model.pth (found here - https://github.com/ emiliantolo/pytorch_nsfw_model) 2: Installation Using the command line, open a prompt in the project folder, and then: npm install 3: Build You will need to build the app before you can start the program, as the build command will 'spread' the contents of the ./public folder into the ./build folder: npm run build 4: Start To run the app in test mode, use the following command: npm start This will run the application in a desktop window locally, so you can test and debug the code. Known bugs * When rebuilding the app to package it, always delete the ./build folder first * On Windows especially, the npm run build command will flake out, if you don't run the command from a terminal with administrator privileges * When compiling a build for production, the app will choke if win.showDevTools(); is called * The bigger the video, the longer it will take to process it. This app wasn't built for long movies About NWJS wrapper for a wider project. Resources Readme Stars 43 stars Watchers 0 watching Forks 2 forks Releases 1 tags Packages 0 No packages published Languages * TypeScript 91.6% * HTML 6.9% * CSS 1.5% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.