Skip to main content

Keras Flower

status coverage

A Simple Flower classification package using DenseNet201.

Usage

  • Use pip install to install this package
pip install keras_flower
  • To get all prediction results
import keras_flower as kf
predictions = kf.predict_by_path("file/to/predict.png")
print(predictions)

Sample output:

[1.4414026e-06 1.6031330e-06 1.6295390e-06 1.1156463e-06 2.7592062e-06
...
 1.1587109e-06 4.1556059e-06 1.0784672e-05 6.0254356e-06]
import keras_flower as kf
for predicted, score in kf.predict_name_by_path("/path/to/file.png"):
    print(predicted, score)

Sample output:

sunflower 0.99960905

Validation

                           precision    recall  f1-score   support
                micro avg       0.97      0.97      0.97      8189
                macro avg       0.95      0.94      0.94      8189
             weighted avg       0.97      0.97      0.97      8189

Demo

demo

Metadata

Release files for keras-flower 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-flower 0.3
File Size Uploaded
keras_flower-0.3.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keras-flower 0.3
File Interpreter ABI Platform
keras_flower-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / keras_flower-0.3.tar.gz

Download URL keras_flower-0.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0dd242848643a9c45b7a300199406fb3ec218e680f627c83f8403c1d090d74b9
BLAKE2b-256 checksum
How to use checksums
d3d6c843f6be00d74934fa6c8559620899f6cf3160768a4c19af9d14701ff1e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / keras_flower-0.3-py3-none-any.whl

Download URL keras_flower-0.3-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1a4a5473fef03e2f0d20b7e1a3f0712f98c3503c4c8f47987a4d4ca37e8ffd4
BLAKE2b-256 checksum
How to use checksums
b65c52eb11fb713c0dde20378f57a5426e86655d481997eea60bfe0c4e92535e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page