Tutorial ======== After you've installed lecture2notes using the instructions in :ref:`install`, you can follow this guide to perform some common actions. ..note:: Read `the paper `__ for more in-depth explanations regarding the background, methodology, and results of this project. .. _tutorial_general_summarize: Summarizing a lecture video --------------------------- .. code-block:: bash cd End-To-End python main.py --auto_id --remove_duplicates --deepspeech_model_dir ../deepspeech-models/ * ``--auto_id`` changes the location where files will be saved during processing to a folder in the present working directory named the first 12 characters of the input video's SHA1 hash. * ``--remove_duplicates`` will remove duplicate slides before clustering. Once frames have been classified and the slides have been identified, there are likely to be duplicates. Setting this option removes very closely matching slides. Similar slides are detected using perceptual hashing by default (other hashing methods are available). * ``--deepspeech_model_dir`` is the path to the folder containing the DeepSpeech model files (the ``.pbmm`` acoustic model and the scorer). * ```` is the path to your video file that you want to process. Summarizing a lecture video on YouTube -------------------------------------- 1. First, download the video from YouTube: ``youtube-dl