Object detection with tensorflow
Project description
Object detection with tensorflow
$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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tf_efficientdet_lite2-0.10.tar.gz
.
File metadata
- Download URL: tf_efficientdet_lite2-0.10.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad814cb910cf1059b5d1937e5fde9ef32e6a6845c1f714e8383264bef4eed2d8 |
|
MD5 | d0f338c5c98e6d9ea00fb759fa974827 |
|
BLAKE2b-256 | c55fefa3784ec78c31fb6574363ee7120dfd866619f9519aaabcdc84a79cfda7 |
File details
Details for the file tf_efficientdet_lite2-0.10-py3-none-any.whl
.
File metadata
- Download URL: tf_efficientdet_lite2-0.10-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aceb3f2d0adba9ce7a12e7d4a1d5b2ae56342321da2bad910af4708e7703f603 |
|
MD5 | 35d6f97380fb25236f5bb80fc50c4a8b |
|
BLAKE2b-256 | 0ea82d32b6d3cb987a0426fe01d32dd06f627f233f2179ce84b5d6b3bb8104c7 |