/sintetic

Projeto utilizando IA da IBM, ffmpeg e Wikipedia para criar videos pro youtube automaticamente - conclusão de curso - CEFET/RJ

Primary LanguagePythonMIT LicenseMIT


Sintetic

Sintetic

A python application for making automatic videos integrated with youtube, simply and quickly.

PRs Welcome License MIT CEFET/RJ


Features

This project features all the latest tools and practices in development!

  • 🐍 Python — Is a programming language that lets you work more quickly.
  • 🤖 IBM Watson — IBM Service for AI tooling and integrate with applications.
  • 🌐 Wikipedia — The best online encyclopedia.
  • 💖 Google Images - API for fetch and download images.
  • 💎 OpenCV - Is a library of programming functions mainly aimed at real-time computer vision.
  • 🎵 FFMPEG - To render and convert the video file.
  • 🎧 OAuth2 - Youtube — Auth with your Google Account in Youtube.

Getting started

Before you run this application you have python, version 3, and pip installed locally.

  1. Clone this repo using https://github.com/ocoiel/sintetic.git
  2. Move to the appropriate directory: cd sintetic.
  3. Run pip install -r requirements.txt to install dependencies.
  4. Download punkt of NLTK, the python module for Natural Language Toolkit:

Open a python terminal with python3 and:

import nltk
nltk.download("punkt")

Add API keys:

  1. For Google Cloud API: rename client_secrets_example.json in src for client_secrets.json and fill in the fields
{
  "web": {
      "client_id":"",
      "project_id":"",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://accounts.google.com/o/oauth2/token",
      "auth_provider_x509_cert_url":"",
      "client_secret":"",
      "redirect_uris":["", ""],
      "javascript_origins":["", ""]
  }
}
  1. For IBM Watson API: in src/text.py fill in the fields this way:
self.natural_language_understanding = NaturalLanguageUnderstandingV1(
    version="fill-here",
    iam_apikey="fill-here",
    url="fill-here")

And finally... Run the master file src/master.py and see the magic! 🚀

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.