Skip to main content

A Simple Flower classification package trained on DenseNet201

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras_flower-0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keras_flower-0.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file keras_flower-0.3.tar.gz.

File metadata

  • Download URL: keras_flower-0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for keras_flower-0.3.tar.gz
Algorithm Hash digest
SHA256 0dd242848643a9c45b7a300199406fb3ec218e680f627c83f8403c1d090d74b9
MD5 8d088d28f6937606aec9203a49e01d83
BLAKE2b-256 d3d6c843f6be00d74934fa6c8559620899f6cf3160768a4c19af9d14701ff1e6

See more details on using hashes here.

File details

Details for the file keras_flower-0.3-py3-none-any.whl.

File metadata

  • Download URL: keras_flower-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for keras_flower-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1a4a5473fef03e2f0d20b7e1a3f0712f98c3503c4c8f47987a4d4ca37e8ffd4
MD5 8e4e4f5079d370015c4707b134505c25
BLAKE2b-256 b65c52eb11fb713c0dde20378f57a5426e86655d481997eea60bfe0c4e92535e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page