-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpre.sh
More file actions
22 lines (18 loc) · 724 Bytes
/
pre.sh
File metadata and controls
22 lines (18 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#Installing needed libraries to make the scripts work
#Ubuntu 14.04
sudo apt-get install build-essential liblensfun-dev python-opencv python-pil
sudo pip install lensfunpy
#Ubuntu 12.04
#How I backported lenfun
backportpackage -s trusty -u ppa:wildintellect/wildintellect lensfun
#But you can just use my ppa
sudo apt-add-repositorty ppa:wildintellect/wildintellect
sudo apt-get update
sudo apt-get install build-essential liblensfun-dev python-opencv
sudo pip install pillow
sudo pip install lensfunpy
#for Python3, opencv would need to be from source on Ubuntu
#sudo apt-get install python3-pil
#sudo pip3 install lensfunpy
#How I backported lenfun
backportpackage -s trusty -u ppa:wildintellect/wildintellect lensfun