Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-03-04 (6 months ago) ![]() | Not yet rated by the users | Total: 157 This week: 3 | All time: 8,851 This week: 67![]() |
Version | License | PHP version | Categories | |||
php-darknet 1.0.2 | Custom (specified... | 7.4 | Algorithms, Graphics, Artificial inte..., P..., F... |
Description | Author | |||
This package can classify and detect objects in images with Darknet library Innovation Award
|
|
php7.4 interface to the lib-darknet for object detection.
composer require ghostjat/darknet
Darknet is an open source neural network framework written in C and CUDA. It is fast, easy to install, and supports CPU and GPU computation.
If running on cpu you may use FASTEST cfg & weight for real time object detection on MS COCO dataset.
require '../vendor/autoload.php';
use darknet\core;
$dn = new core(core::YOLOFASTEST);
System-Conf:-
CPU:- Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz 64bit
MEM:- 8GB
Dataset:- MS-COCO Classes:- 80
WARNING: This module is in its early stages and should be considered a Work in Progress. The interface is not final and may change in the future.
Sample:
<p align="center">
<img src="https://raw.github.com/ghostjat/php-darknet/master/temp/out/gp.jpg" alt="gp"/>
<img src ="https://raw.github.com/ghostjat/php-darknet/master/temp/out/dog.jpg" alt ="dog"/>
<img src ="https://raw.github.com/ghostjat/php-darknet/master/temp/out/eagle.jpg" alt ="egale"/>
<img src ="https://raw.github.com/ghostjat/php-darknet/master/temp/out/giraffe.jpg" alt ="giraffe"/>
<img src="https://raw.github.com/ghostjat/php-darknet/master/temp/out/person.jpg" alt="person"/>
</p>
Sample code:
require '../vendor/autoload.php';
use darknet\core;
$lib = '/home/ghost/bin/c-lib/darknet/data/';
$img = ['eagle.jpg','giraffe.jpg','horses.jpg','person.jpg','kite.jpg'];
$dn = new core();
foreach ($img as $value) {
$dn->detect($lib.$value);
}
Shubham Chaudhary <ghost.jat@gmail.com>
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
Data | Auxiliary data | ||
![]() |
Icon | Icon image | ||
![]() |
Lic. | License text | ||
![]() |
Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
95% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.