Skip to content

Instantly share code, notes, and snippets.

View mianala's full-sized avatar
🎯
Focusing

Mia Loha.dev mianala

🎯
Focusing
  • Loha.dev
  • Madagascar Antananarivo
View GitHub Profile

How to install dlib v19.9 or newer (w/ python bindings) from github on macOS and Ubuntu

Pre-reqs:

  • Have Python 3 installed. On macOS, this could be installed from homebrew or even via standard Python 3.6 downloaded installer from https://www.python.org/download. On Linux, just use your package manager.
  • On macOS:
    • Install XCode from the Mac App Store (or install the XCode command line utils).
    • Have homebrew installed
  • On Linux:
version: '3'
services:
db:
image: mysql:5.7
container_name: db
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: database
MYSQL_USER: db_user
@echo off
REM Get input file and base name
set input_file=%1
for %%I in ("%input_file%") do set base_name=%%~nI
REM Define output files
set output_file_mp4="%base_name%.mp4"
set output_file_normalized="%base_name%_normalized.mp4"
set output_file_spedup="%base_name%_spedup.mp4"