https://github.com/hansalemaos/tf_efficientdet_lite2
Object detection with tensorflow
https://github.com/hansalemaos/tf_efficientdet_lite2
python tensorflow tensorflow2
Last synced: 3 months ago
JSON representation
Object detection with tensorflow
- Host: GitHub
- URL: https://github.com/hansalemaos/tf_efficientdet_lite2
- Owner: hansalemaos
- License: mit
- Created: 2022-11-13T09:38:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T09:38:29.000Z (over 3 years ago)
- Last Synced: 2025-09-23T05:33:37.241Z (10 months ago)
- Topics: python, tensorflow, tensorflow2
- Language: Python
- Homepage: https://pypi.org/project/tf-efficientdet-lite2
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Object detection with tensorflow

```python
$pip install tf-efficientdet-lite2
from tf_efficientdet_lite2 import TfEfficientdetLite2
tflo= TfEfficientdetLite2(sevenzip_path = r"C:\Program Files\7-Zip\7z.exe",set_visible_devices_0 = True) #works without 7-zip as well
tflo.detect(r'https://images.pexels.com/photos/14139354/pexels-photo-14139354.jpeg?cs=srgb&dl=pexels-olena-bohovyk-14139354.jpg&fm=jpg&_gl=1*19indnx*_ga*ODM0MDU4MTIyLjE2NjgzMzEwODk.*_ga_8JE65Q40S6*MTY2ODMzMTA4OS4xLjEuMTY2ODMzMTA5My4wLjAuMA..',draw_results=True,draw_result_min_score=.3)
tflo.get_df()
aa_class aa_x_start aa_y_start aa_x_end aa_y_end aa_conf
0 person 449 124 870 611 0.915973
1 cup 916 521 1022 654 0.642683
2 cup 652 360 732 469 0.561634
3 dining table 829 21 1200 793 0.545763
4 chair 926 1 1198 176 0.235585
.. ... ... ... ... ... ...
95 chair 988 13 1188 253 0.012212
96 cup 857 491 947 616 0.011954
97 chair 1149 728 1196 793 0.011811
98 spoon 651 371 666 409 0.011780
99 spoon 1013 290 1062 358 0.011758
tflo.get_drawn_results()
```