Skip to content

Instantly share code, notes, and snippets.

View Arkanayan's full-sized avatar

Arka Arkanayan

  • Bangalore
View GitHub Profile
@Arkanayan
Arkanayan / Dockerfile
Created August 29, 2018 11:15
Extract image from pdf
FROM continuumio/miniconda3
MAINTAINER Arka Nayan <[email protected]>
VOLUME ["/app"]
WORKDIR /app
RUN apt-get update && \
apt-get install -y build-essential \
@Arkanayan
Arkanayan / extract_images_from_pdf.py
Last active June 2, 2018 05:45
Extract image(s) from pdf
import subprocess
import tempfile
import shutil
from pathlib import Path
import os
def path2num(path):
"""
'/hello/hi/my2and3.jpg to 23
@Arkanayan
Arkanayan / ipynb
Created August 22, 2017 15:02
Playing with sound
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import librosa\n",
"import numpy as np\n",