Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Development #7

Merged
merged 75 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
2c0b4e0
new api
JoaoCarabetta Feb 2, 2024
2861cf8
fix auth
JoaoCarabetta Feb 2, 2024
f83a89e
add tutorial
JoaoCarabetta Feb 2, 2024
c335def
add data
JoaoCarabetta Feb 2, 2024
52fc86d
chore: clean api parameters
d116626 Feb 2, 2024
9a751a1
chore: clean api parameters
d116626 Feb 2, 2024
cf91ee4
fix: fix some errors and refactor
d116626 Feb 2, 2024
ffc8417
fix: fix some errors and refactor
d116626 Feb 2, 2024
055515b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 2, 2024
fb32642
fix: fix some errors and refactor
d116626 Feb 2, 2024
5a20c4b
fix: fix some errors and refactor
d116626 Feb 2, 2024
51cbe6c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 2, 2024
5b8b02e
fix: fix some errors and refactor
d116626 Feb 2, 2024
a8414fb
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 2, 2024
0b19335
feat: use mock data
d116626 Feb 3, 2024
284aaab
chore: add timeout parameter
d116626 Feb 4, 2024
09b1302
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2024
65ee8ba
chore: add timeout parameter
d116626 Feb 4, 2024
ec168cb
chore: add timeout parameter
d116626 Feb 4, 2024
aecfacb
hotifx: cache
d116626 Feb 4, 2024
54995c7
hotifx: cache
d116626 Feb 4, 2024
60bde87
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2024
6561121
feat: get only active cameras
d116626 Feb 4, 2024
4974145
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 4, 2024
d81bd5d
chore: refactor
d116626 Feb 4, 2024
92e3cd9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2024
98e90e8
chore: update poetry
d116626 Feb 4, 2024
d0920b3
chore: update aggrid
d116626 Feb 4, 2024
374cdb2
chore: add map
d116626 Feb 4, 2024
306fef2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2024
da58b88
chore: add map
d116626 Feb 4, 2024
0d6e305
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 4, 2024
3749a1a
chore: add map
d116626 Feb 4, 2024
92e3e0c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2024
014b74d
chore: remove icons
d116626 Feb 5, 2024
9d29d86
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 5, 2024
86a25a9
chore: remove icons
d116626 Feb 5, 2024
6593608
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 5, 2024
bb9b83e
feat: add classification option
d116626 Feb 6, 2024
980059f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 6, 2024
2432138
feat: add classification option
d116626 Feb 6, 2024
9f734bd
feat: add classification option
d116626 Feb 6, 2024
dfd0f70
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 6, 2024
943618f
feat: add classification option
d116626 Feb 6, 2024
65f0322
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 6, 2024
c46322a
feat: add classification option
d116626 Feb 6, 2024
32d4fd1
Merge branch 'new-api' of https://github.com/prefeitura-rio/deteccao-…
d116626 Feb 6, 2024
ad86e26
feat: add classification option
d116626 Feb 6, 2024
8a7b5d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 6, 2024
afe6d9a
chore: add translation to label classification
d116626 Feb 7, 2024
be1bb1d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 7, 2024
f15b5d5
feat: implement auth
gabriel-milan Feb 7, 2024
ca7dadb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 7, 2024
ab6c1fe
Merge pull request #4 from prefeitura-rio/new-api
gabriel-milan Feb 7, 2024
66c9710
chore: sequencial imagens and skip if image_condition is poor
d116626 Feb 7, 2024
677d60f
Merge pull request #6 from prefeitura-rio/new-api
d116626 Feb 7, 2024
505ba08
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 7, 2024
c346ee0
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 7, 2024
4fd520c
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 7, 2024
5d29ad0
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 7, 2024
dce93d9
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 7, 2024
c989bb5
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 8, 2024
337dd49
chore: add prompt viz, add new display for classifier and adjust layo…
d116626 Feb 8, 2024
cbe1d31
fix: remove aggrid header element
d116626 Feb 8, 2024
33dab6d
fix: better layout
d116626 Feb 8, 2024
8599a18
fix: set use_mock_data to false
d116626 Feb 8, 2024
092904b
feat: fix none timestamp
d116626 Feb 9, 2024
2e8dcdb
feat: add update data buttom
d116626 Feb 9, 2024
30aa802
fix: typo
d116626 Feb 9, 2024
0e8cbe9
feat: add image popup in folium map
d116626 Feb 10, 2024
57e9442
feat: add image popup in folium map
d116626 Feb 10, 2024
26b1b2f
feat: asmall fix for new objects and labels
d116626 Feb 10, 2024
d2316e0
feat: small fix for new objects and labels
d116626 Feb 10, 2024
7277411
chore: refactor for new api endpoints
d116626 Feb 15, 2024
c04b4dc
chore: refactor for new api endpoints
d116626 Feb 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VISION_API_USERNAME=
VISION_API_PASSWORD=
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Data files ignore rules are on data/.gitignore
**/**/test.py
test.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files # prevents adding large files
- id: detect-private-key # detects private keys
- id: fix-byte-order-marker # fixes BOM
- id: fix-encoding-pragma # fixes encoding pragma
- id: no-commit-to-branch # prevents committing to protected branches
- id: trailing-whitespace # prevents trailing whitespace

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
language_version: python3.10

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# Detecção de alagamentos

## Develop


`poetry install --no-root`

Add .env vars missing from .env.example.

`export POETRY_DOTENV_LOCATION=.env && streamlit run app/📣\ Home.py`
Loading
Loading