Download the PHP package veka-server/onnx-php without Composer

On this page you can find all versions of the php package veka-server/onnx-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package onnx-php

ONNX-PHP

Total Downloads Latest Stable Version License Documentation

ONNX-PHP est une bibliothèque PHP permettant de charger et d'exécuter des modèles IA au format ONNX. Dans cet objectif, la librairie utilise FFI pour interagir directement avec onnxruntime.

Cette bibliothèque offre une API simple et flexible pour intégrer des modèles IA dans vos applications PHP.

Installation

Vous pouvez installer cette bibliothèque via Composer.

Prérequis PHP

Tâches Disponibles

Vision

Tâches Description Statut
Classification d'images Attribuer une ou plusieurs étiquettes à une image, en identifiant à quelle catégorie l'image appartient parmi un ensemble de catégories prédéfinies.
Détection d'objets Localiser et identifier des objets spécifiques dans une image, en dessinant des boîtes englobantes autour des objets détectés et en les étiquetant avec leurs catégories correspondantes.

Traitement du Langage Naturel

Tâches Description Statut
Génération de texte Produire un texte cohérent et fluide en réponse à une entrée donnée, comme une phrase ou un contexte.

Modèles testé

Classification d'images

Modèles Description Statut Exemple
suko / nsfw classification : Naked , SAFE wiki
wd14 classification : tout les tags de danbooru wiki
NUDENET classifier (classifier_model.onnx) classification : unsafe , safe wiki
NSFW Detection classification : drawing, hentai, neutral, porn, sexy wiki

Détection d'objets

Modèles Description Statut Exemple
YOLOV10 detection de la liste COCO voir la liste wiki
YOLOV5 Face detection des visages wiki
NUDENET v3 detector (640m.onnx) detection : FEMALE_GENITALIA_COVERED, FACE_FEMALE, BUTTOCKS_EXPOSED, FEMALE_BREAST_EXPOSED, FEMALE_GENITALIA_EXPOSED, MALE_BREAST_EXPOSED, ANUS_EXPOSED, FEET_EXPOSED, BELLY_COVERED, FEET_COVERED, ARMPITS_COVERED, ARMPITS_EXPOSED, FACE_MALE, BELLY_EXPOSED, MALE_GENITALIA_EXPOSED, ANUS_COVERED, FEMALE_BREAST_COVERED, BUTTOCKS_COVERED wiki

Exemple d'utilisation

Contribution

Les contributions sont les bienvenues !

Si vous avez des suggestions, trouvez des bugs, ou voulez ajouter des fonctionnalités ou des models, n'hésitez pas à ouvrir une issue ou une pull request.

License

Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.

Remerciements

Un grand merci à la communauté ONNX et à tous les contributeurs de onnxruntime pour leur travail exceptionnel. Cette librairie est dérivé des travaux de :


All versions of onnx-php with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.1
ext-ffi Version >= 8.1
ext-gd Version *
ffi/work-directory Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package veka-server/onnx-php contains the following files

Loading the files please wait ....