This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import argparse | |
from pathlib import Path | |
import sys | |
parser = argparse.ArgumentParser(description="Remove dust from an image with IR information in the alpha channel") | |
parser.add_argument('image', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install python package | |
python setup.py install --single-version-externally-managed --record=record.txt | |
# Install PALM | |
git clone [email protected]:andersonwinkler/PALM.git | |
sed -i "s/WHICH_TO_RUN=1/WHICH_TO_RUN=2/g" ./PALM/palm | |
sed -i "s/\/opt\/r16b\/bin\/matlab/matlab/g" ./PALM/palm | |
cp -r ./PALM $PREFIX/ | |
ln -s $PREFIX/PALM/palm $PREFIX/bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package: | |
name: nimlab | |
version: 0.1 | |
source: | |
path: ../nimlab/ | |
requirements: | |
build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jupyter/scipy-notebook | |
USER root | |
# add os packages | |
RUN apt-get -y update && apt-get install -y --no-install-recommends\ | |
apt-utils \ | |
bash-completion \ | |
curl \ | |
gnupg \ |