Spaces:
Runtime error
Runtime error
renamed eggcount to larvaecount
Browse files- .gitignore +0 -4
- {eggcount β larvaecount}/__init__.py +0 -0
- {eggcount β larvaecount}/app.py +1 -1
- {eggcount β larvaecount}/assets/camera.png +0 -0
- {eggcount β larvaecount}/assets/mosquito-white.png +0 -0
- {eggcount β larvaecount}/cli.py +1 -1
- {eggcount β larvaecount}/gradient.py +0 -0
- {eggcount β larvaecount}/pages/__init__.py +0 -0
- {eggcount β larvaecount}/pages/home.py +2 -2
- {eggcount β larvaecount}/ui/__init__.py +0 -0
- {eggcount β larvaecount}/ui/ui_utils.py +0 -0
- setup.py +2 -2
.gitignore
CHANGED
|
@@ -158,7 +158,3 @@ cython_debug/
|
|
| 158 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 159 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 160 |
#.idea/
|
| 161 |
-
|
| 162 |
-
# Image files
|
| 163 |
-
*.HEIC
|
| 164 |
-
*.png
|
|
|
|
| 158 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 159 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 160 |
#.idea/
|
|
|
|
|
|
|
|
|
|
|
|
{eggcount β larvaecount}/__init__.py
RENAMED
|
File without changes
|
{eggcount β larvaecount}/app.py
RENAMED
|
@@ -2,7 +2,7 @@ import dash_bootstrap_components as dbc
|
|
| 2 |
import dash
|
| 3 |
import fire
|
| 4 |
|
| 5 |
-
from
|
| 6 |
get_navbar
|
| 7 |
)
|
| 8 |
from dash import Dash, html, dcc
|
|
|
|
| 2 |
import dash
|
| 3 |
import fire
|
| 4 |
|
| 5 |
+
from larvaecount.ui.ui_utils import (
|
| 6 |
get_navbar
|
| 7 |
)
|
| 8 |
from dash import Dash, html, dcc
|
{eggcount β larvaecount}/assets/camera.png
RENAMED
|
File without changes
|
{eggcount β larvaecount}/assets/mosquito-white.png
RENAMED
|
File without changes
|
{eggcount β larvaecount}/cli.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from
|
| 2 |
contour_thresh,
|
| 3 |
component_thesh,
|
| 4 |
component_filter_thresh
|
|
|
|
| 1 |
+
from larvaecount.gradient import (
|
| 2 |
contour_thresh,
|
| 3 |
component_thesh,
|
| 4 |
component_filter_thresh
|
{eggcount β larvaecount}/gradient.py
RENAMED
|
File without changes
|
{eggcount β larvaecount}/pages/__init__.py
RENAMED
|
File without changes
|
{eggcount β larvaecount}/pages/home.py
RENAMED
|
@@ -5,12 +5,12 @@ from functools import partial
|
|
| 5 |
from io import BytesIO
|
| 6 |
from PIL import Image
|
| 7 |
from pillow_heif import register_heif_opener
|
| 8 |
-
from
|
| 9 |
component_thesh,
|
| 10 |
component_filter_thresh,
|
| 11 |
contour_thresh
|
| 12 |
)
|
| 13 |
-
from
|
| 14 |
get_cc_ui,
|
| 15 |
get_cc_filter_ui,
|
| 16 |
get_contour_ui,
|
|
|
|
| 5 |
from io import BytesIO
|
| 6 |
from PIL import Image
|
| 7 |
from pillow_heif import register_heif_opener
|
| 8 |
+
from larvaecount.gradient import (
|
| 9 |
component_thesh,
|
| 10 |
component_filter_thresh,
|
| 11 |
contour_thresh
|
| 12 |
)
|
| 13 |
+
from larvaecount.ui.ui_utils import (
|
| 14 |
get_cc_ui,
|
| 15 |
get_cc_filter_ui,
|
| 16 |
get_contour_ui,
|
{eggcount β larvaecount}/ui/__init__.py
RENAMED
|
File without changes
|
{eggcount β larvaecount}/ui/ui_utils.py
RENAMED
|
File without changes
|
setup.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
from setuptools import setup, find_packages
|
| 2 |
|
| 3 |
setup(
|
| 4 |
-
name = "
|
| 5 |
version = "0.1",
|
| 6 |
packages = find_packages(),
|
| 7 |
-
package_data={"
|
| 8 |
)
|
|
|
|
| 1 |
from setuptools import setup, find_packages
|
| 2 |
|
| 3 |
setup(
|
| 4 |
+
name = "larvaecount",
|
| 5 |
version = "0.1",
|
| 6 |
packages = find_packages(),
|
| 7 |
+
package_data={"larvaecount": ["assets/*.jpg", "assets/*.png"]}
|
| 8 |
)
|