Repository navigation
Tags
Tags
Bump pillow from 9.2.0 to 9.4.0 (#307) Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.2.0 to 9.4.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@9.2.0...9.4.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump tflite-runtime from 2.8.0 to 2.9.1 (#240) Bumps [tflite-runtime](https://www.tensorflow.org/lite/) from 2.8.0 to 2.9.1. --- updated-dependencies: - dependency-name: tflite-runtime dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
added tflite runtime support (#167) * Release the tflite inference from tensorflow * Update README * Remove the bodypix_tflite from develop branch * Add tflite inference to the tflite_inference branch * added initial build_tflite workflow job * added --use-feature=in-tree-build * don't install tflite by default * moved build_tflite up * added tflite extra * using dev-install-tflite * make dev-install-tflite install build and dev depenencies * run pytest for tflite * using tflite extra when installing tflite * added make dev-pytest-tflite * linting: addressed markdown linting * made tensorflow import optional * added test_should_be_able_to_use_existing_tflite_model * import tflite_runtime.interpreter * extracted load_image * load image using pillow * adapted pad_and_resize_to using _pad_image_like_tensorflow * implemented _resize_image_to_using_pillow * added make dev-watch-tflite * fallback to np expand_dims without tf * extracted _get_mobilenet_preprocessed_image with np fallback * reuse resize_image_to for scale_and_crop_to_input_tensor_shape * automatically reduce dimension if needed * added support for single channel in _resize_image_to_using_pillow * extracted get_sigmoid and implemented np version * reuse resize_image_to * fixed failing test * removed trailing space from requirements.txt * cli: automatically select tflite model if full tf is not available * don't fail with missing tf when adding alpha mask * added tflite support to draw mask cli * added support for remote tflite models; defined model tflite paths * use model path constants for cli * added TensorFlow Lite Runtime support section to readme * ignore tflite models * removed obsolete bodypix_tflite diectory * fixed draw mask * replaced pillow resize with numpy handling floats * retain original dtype when padding * use float32 for imagenet preprocessing * debug logging of input image * added list-tflite-models sub command * fixed resnet tflite support * added more tflite models Co-authored-by: MrRiahi <mohammad.r.riahi@gmail.com>
Bump types-requests from 2.27.7 to 2.27.8 (#178) Bumps [types-requests](https://github.com/python/typeshed) from 2.27.7 to 2.27.8. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-requests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump opencv-python from 4.5.4.58 to 4.5.4.60 (#149) Bumps [opencv-python](https://github.com/skvark/opencv-python) from 4.5.4.58 to 4.5.4.60. - [Release notes](https://github.com/skvark/opencv-python/releases) - [Commits](https://github.com/skvark/opencv-python/commits) --- updated-dependencies: - dependency-name: opencv-python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
added backwards compatibility with opencv 4.5.2 and below (keypoints) (… …#139) * Update draw.py Error in draw TypeError: KeyPoint() missing required argument '_size' (pos 3) was size=3 change to _size=3 * handle get_cv_keypoints wraps cv2.KeyPoint(..., size=3), cv2.KeyPoint(..., _size=3) in try except block to handle change in argument name between opencv versions. * Update tf_bodypix/draw.py Co-authored-by: Daniel Ecer <de-code@users.noreply.github.com> * Update tf_bodypix/draw.py Co-authored-by: Daniel Ecer <de-code@users.noreply.github.com> Co-authored-by: Daniel Ecer <de-code@users.noreply.github.com>
improved cli docs (#77) * show cli default values * document inputs and outputs * move video extra above image * using external examples to make commands runnable * added example video * introduce mask alpha earlier * added more example images * added links to used libraries * added missing background source link
added tflite support (experimental) (#40) * tflite support (wip) * linting * just check for "resnet" in model path * fallback to single tensor input * adjust image_data shape to expected input shape also optional image_size input * removed commented out code * only resize tensor if input image doesn't match * added command to convert to tflite * added --model-architecture argument * added quantization arguments * updated readme * linting * typo in readme * improved wording in readme
PreviousNext