* Update deepface requirement from <=0.0.75 to <=0.0.92
---
updated-dependencies:
- dependency-name: deepface
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* more extensive testing for faces, adapt changes from deepface
* include gender threshold in display and notebook
* update documentation
* increase detection threshold for tests
* update handling of missing dict keys
* update notebook
* make sure text was found on image before analysing
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* use simpler image for testing
* include age in faces test again
* fix typo
* try with newer tensorflow version
* remove testing for age again
* try with tensorflow newer versions only for breaking change in transformers
* force transformers to use pytorch
* fixing DemoNotebook
* fixing DemoNotebook2
* rearrange the code and text
* continiue changing demo notebook
* continiue changing demo notebook2
* fixing bug on a100 in google colab
* change order of tests and do not test for age in faces
* add screenshots for gcv api
* instructions for google cloud vision API
* link instructions in readme
* add missing image
* trim whitespace
---------
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* increment version number
increment version number for automated release with new dependency ammico-lavis
* only upload to testpypi for new release tag
* change codecov token transmission method
* force_rounding_of_all_colors
* update test
* fixed bug in color analysis
* changed color rounding to seperate loop
* updated to new dash layout using dbc
* removed dash server from test
* added dash version to pyproject.toml
* changed something to get codecov to work
* changed something else to get codecov to work..
* added test_right_output_analysis_text
* fix type in dependencies
* removed test_text from display
---------
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* increased dash width
* added new color_analysis notebook
* added colorgram.py to dependencies
* added first iteration of new color_check
* added new version of color analysis
* added webcolors to dependencies
* added colormath
* switched from colormath to colour-science
* made delta_e algorithm user accessible
* remove obsolete notebook
* update docstrings and type hints
* add color analysis module to API doc
* renamed color_expressions to color_analysis
* renamed test
* updated color analysis notebook to adhere to the same style as other notebooks
* updated test for new df orientation
* refactored color analysis to comply with ammico workflow
* updated color tests to comply with new class structure
* added explanation to colors_analysis notebook
* added class doc string
* updated analysis explorer test to include empty image keyword as dash observer
* fix typo and names, docstring and import
* update doc and notebook explanation
* add project url for pypi
---------
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* clean up docstrings
* clean up docstrings 2
* temp integration test module
* cleaner text sample to analyse
* remove clean text and spelling corrections
* change ammico exposed interface
* added dash app instead of ipywidgets
* added pre-commit
* removed ipywidgets function
* added dash to dependencies
* exempted dash server from tests
* put das explorer app in new class
* added variable for img path in tests
* added new explorer class to all notebooks
* added identif class variable
* removed unused argument in test_display
* more cleanup, more text analysis in notebook
* update NER test
* update with more comments and fix dash calls
* update text description multimodal
* update objects description
---------
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* deleted lavis from utils
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test_objects
* added 'not gcv' to CI
* fixed multimodal search and summary tests
* disable doc build on PR for now
* restrict ipywidgets version to avoid dummycomm error
* limit deepface version
* original repositories for retinaface lavis
* update gcv test results
* update display test outputs
* update test env
* run all tests
* wo xdist to avoid segfault
* remove widgets ref
* skip long-running tests
* skip long
* verbose codecov upload
* refactor summary test 2
* finish summary test refactor
* reduce memory overhead of SummaryDetector
* remove VQA models from self
* remove VQA models from self
* update notebook for changes
* update notebook for changes
* fixed multimodal search tests
* fixed tests in multimodal search after precommit
* run all tests
* update doc notebook for summary changes
* skip long-running multimodal
* exclude blip2 from testing
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
* update notebooks and google auth
* update readme and text
* google cred
* update secret name
* add pandocto CI
* pandoc step
* install pandoc
* correct typo
* add image summary notebook
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* pin deepface version to avoid bug with progress bar after update
* update actions version for checkout and python
* test ci without lavis
* no lavis for ci test
* merging
* return lavis
* change lavis to salesforce-lavis
* change pycocotools install method
* change pycocotools install method
* fix_pycocotools
* Downgrade Python
* back to 3.9 and remove pycocotools dependance
* instrucctions for windows
* missing comma after merge
* lavis only for ubuntu
* use lavis package name in install instead of git
* adding multimodal searching py and notebook
* exclude lavis on windows
* skip import on windows
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reactivate lavis
* Revert "reactivate lavis"
This reverts commit ecdaf9d316e4b08816ba62da5e0482c8ff15b14e.
* Change input format for multimodal search
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix clip models
* account for new interface in init imports
* changed imports bec of lavis/windows
* fix if-else, added clip ViT-L-14=336 model
* fix code smells
* add model change function to summary
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed new model in summary.py
* fixed summary windget
* moved some function to utils
* fixed imort torch in utils
* added test_summary.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed opencv version
* added first test of multimodal_search.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test
* removed windows in CI and added test in multimodal search
* change lavis from dependencies from pip ro git
* fixed blip2 model in test_multimodal_search.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test multimodal search on cpu and gpu machines
* added test, fixed dependencies
* add -vv to pytest command in CI
* added test_multimodal_search tests
* fixed tests in test_multimodal_search.py
* fixed tests in test_summary
* changed CI and fixed test_multimodel search
* fixed ci
* fixed error in test multimodal search, changed ci
* added multimodal search test, added windows CI, added picture in test data
* CI debuging
* fixing tests in CI
* fixing test in CI 2
* fixing CI 3
* fixing CI
* added filtering function
* Brought back all tests after CI fixing
* changed CI one pytest by individual tests
* fixed opencv problem
* fix path for text, adjust result for new gcv
* remove opencv
* fixing cv2 error
* added opencv-contrib, change objects_cvlib
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixing tests in CI
* fixing CI testing
* fixing codecov in CI
* fixing codecov in CI
* run tests together; install opencv last
* update requirements for opencv dependencies
* first doc updates
* more changes to doc notebooks
---------
Co-authored-by: Petr Andriushchenko <pitandmind@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add image summary notebook
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* pin deepface version to avoid bug with progress bar after update
* update actions version for checkout and python
* test ci without lavis
* no lavis for ci test
* merging
* return lavis
* change lavis to salesforce-lavis
* change pycocotools install method
* change pycocotools install method
* fix_pycocotools
* Downgrade Python
* back to 3.9 and remove pycocotools dependance
* instrucctions for windows
* missing comma after merge
* lavis only for ubuntu
* use lavis package name in install instead of git
* adding multimodal searching py and notebook
* exclude lavis on windows
* skip import on windows
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reactivate lavis
* Revert "reactivate lavis"
This reverts commit ecdaf9d316e4b08816ba62da5e0482c8ff15b14e.
* Change input format for multimodal search
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix clip models
* account for new interface in init imports
* changed imports bec of lavis/windows
* fix if-else, added clip ViT-L-14=336 model
* fix code smells
* add model change function to summary
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed new model in summary.py
* fixed summary windget
* moved some function to utils
* fixed imort torch in utils
* added test_summary.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed opencv version
* added first test of multimodal_search.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test
* removed windows in CI and added test in multimodal search
* change lavis from dependencies from pip ro git
* fixed blip2 model in test_multimodal_search.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test multimodal search on cpu and gpu machines
* added test, fixed dependencies
* add -vv to pytest command in CI
* added test_multimodal_search tests
* fixed tests in test_multimodal_search.py
* fixed tests in test_summary
* changed CI and fixed test_multimodel search
* fixed ci
* fixed error in test multimodal search, changed ci
* added multimodal search test, added windows CI, added picture in test data
* CI debuging
* fixing tests in CI
* fixing test in CI 2
* fixing CI 3
* fixing CI
* added filtering function
* Brought back all tests after CI fixing
* changed CI one pytest by individual tests
* fixed opencv problem
* fix path for text, adjust result for new gcv
* remove opencv
* fixing cv2 error
* added opencv-contrib, change objects_cvlib
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixing tests in CI
* fixing CI testing
* cleanup objects
* fixing codecov in CI
* fixing codecov in CI
* run tests together; install opencv last
* update requirements for opencv dependencies
* moved lavis functions from utils to summary
* Remove lavis from utils.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add missing jupyter
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: iulusoy <inga.ulusoy@uni-heidelberg.de>
* add bertopic to requirements
* basic topic modeling
* topic modeling using BERT; bugfix if no text on post
* update for google colab
* Catch connection errors
* replace newline character with space
* move topic analysis into PostprocessText class
* set up dataflow topic analysis
* expose topic model to UI
* tests for class init
* tests for topic analysis
* more tests
* take care of carriage return on windows
* take care of carriage return on windows
* take care of carriage return on windows
* set encoding to ensure windows compatibility
* track encoding error
* more debug
* skip topic analysis debug
* windows fixes
* lower python version for google colab
* faces working with colab
* text for colab
* fix dict update bug
* final edits for colab
* update readme with links
* load text models on demand
* update test
* fix typo; more description in readme
* remove optional keys
* update notebook
* comments
* add jupyterlab
* add text analysis capability
* add bool in tests
* add dependencies and spelling test
* add test sentiment
* update black pre-commit dependency for native nb support
* update black version, find better sentiment test
* test analyse_image
* start with translate
* translate and clean - notebook
* spacy model in requirements
* translate in module
* clean in module
* upload coverage only for ubuntu
* update ubuntu version on runner
* update dependencies
* start tests for text
* skip gcv test
* fix age
* more text tests
* more text tests
* add comment
* test translation
* fix numpy version; add reference data for trans
* use utf-8 for windows
* Create ci.yml
* include pytest
* Update pyproject.toml
* include pytest-cov
* use approx in pytest
* Update test_faces.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add coverage yaml
* reduce passing grade
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* colors expression by KMean algorithm
* object detection by imageai
* object detection by cvlib
* add encapsulation of object detection
* remove encapsulation of objdetect v0
* objects expression to dict
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* added imageai to requirements
* add objects to dictionary
* update for AnalysisMethod baseline
* add objects dection support explore_analysis display
* extend python version of misinf to allow imageai
* account for older python
* use global functionality for dict to csv convert
* update for docker build
* docker will build now but ipywidgets still not working
* test code
* include test data folder in repo
* add some sample images
* load cvs labels to dict
* add test data
* retrigger checks
* add map to human coding
* get orders from dict, missing dep
* add module to test accuracy
* retrigger checks
* retrigger checks
* now removing imageai
* removed imageai
* move labelmanager to analyse
* multiple faces in mydict
* fix pre-commit issues
* map mydict
* hide imageai
* objects default using cvlib, isolate and disable imageai
* correct python version
* refactor faces tests
* refactor objects tests
* sonarcloud issues
* refactor utils tests
* address code smells
* update readme
* update notebook without imageai
Co-authored-by: Ma Xianghe <825074348@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: iulusoy <inga.ulusoy@uni-heidelberg.de>
* read image into nb
* test
* added keras-ocr and google vision
* google cloud vision by far the best
* setting up docker for text 1
* move widgets and analysis to display module
* move widgets and analysis to display module - 2
* text on image through widgets