|
a |
|
b/src/util.py |
|
|
1 |
import kivy |
|
|
2 |
import tensorflow as tf |
|
|
3 |
import cv2 |
|
|
4 |
import matplotlib as mp |
|
|
5 |
import numpy as np |
|
|
6 |
|
|
|
7 |
import os |
|
|
8 |
|
|
|
9 |
current_dir = os.getcwd() |
|
|
10 |
samples_dir = os.path.join(current_dir, 'samples') |
|
|
11 |
|
|
|
12 |
if not os.path.exists(samples_dir): |
|
|
13 |
os.makedirs(samples_dir) |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
app_creators = f""" |
|
|
17 |
--- MicroLabs Software --- |
|
|
18 |
Sachin Saravanan - AI and lead dev |
|
|
19 |
Maathangi Anirudh - Gridsplit dev and marketing |
|
|
20 |
Samarth Chandna - UI and marketing |
|
|
21 |
Archie Parekh - Biology Consultant |
|
|
22 |
""" |
|
|
23 |
|
|
|
24 |
app_credits = f""" |
|
|
25 |
MicroLab - DeepStain |
|
|
26 |
|
|
|
27 |
--- System --- |
|
|
28 |
|
|
|
29 |
Kivy - [{kivy.__version__}] |
|
|
30 |
Tensorflow - [{tf.__version__}] |
|
|
31 |
Numpy - [{np.__version__}] |
|
|
32 |
Matplotlib - [{mp.__version__}] |
|
|
33 |
{app_creators}""" |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
interface = """ |
|
|
37 |
INTERFACE OVERVIEW |
|
|
38 |
|
|
|
39 |
interface stuff WIP |
|
|
40 |
""" |
|
|
41 |
|