Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
image-compression
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
image-compression
Commits
4f8b14f6
Commit
4f8b14f6
authored
Jul 13, 2022
by
Bryce Hepner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
got rid of useless imports
parent
1756f266
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
FullTester.ipynb
FullTester.ipynb
+1
-2
WorkingPyDemo.py
WorkingPyDemo.py
+4
-4
No files found.
FullTester.ipynb
View file @
4f8b14f6
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
"source": [
"source": [
"from WorkingPyDemo import *\n",
"from WorkingPyDemo import *\n",
"from time import time\n",
"from time import time\n",
"from scipy import misc\n",
"# import imageio\n",
"import imageio\n",
"import png"
"import png"
]
]
},
},
...
...
WorkingPyDemo.py
View file @
4f8b14f6
import
numpy
as
np
import
numpy
as
np
from
matplotlib
import
pyplot
as
plt
from
matplotlib
import
pyplot
as
plt
from
itertools
import
product
#
from itertools import product
import
os
import
os
import
sys
#
import sys
from
PIL
import
Image
from
PIL
import
Image
from
scipy.optimize
import
minimize
,
linprog
from
scipy.optimize
import
minimize
,
linprog
from
sklearn.neighbors
import
KernelDensity
#
from sklearn.neighbors import KernelDensity
from
collections
import
Counter
from
collections
import
Counter
import
numpy.linalg
as
la
import
numpy.linalg
as
la
from
time
import
time
from
time
import
time
from
time
import
sleep
from
time
import
sleep
import
tifffile
as
tiff
#
import tifffile as tiff
folder_name
=
"images"
folder_name
=
"images"
outputlocation
=
""
outputlocation
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment