定制 waldema/holmes-web 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

waldema/holmes-web

最新稳定版本:v0.0.1

Composer 安装命令:

composer require waldema/holmes-web

包简介

README 文档

README

Holmes is a software to detect images in another images using JavaCV and OpenCV. https://github.com/waldemarnt/holmes

The Holmes Web, is a good way to make a service to create this images for you using the web, for example, varius websites can use the same holmes web to find images in images using the http protocol.

Installation

The Holmes web is a php application created using silex, and very easy to start.

Downloading via composer

$ composer require waldema/holmes-web

After download is done, rename your config.yaml.default to config.yaml and configure like this

settings:

holmes-binaries: 'C:\\java\\holmes.jar' //default jar location in your system

default-nest-image: localhost //not implemented yet

result-web-dir: 'http://localhost/holmes-web/images/matches/' //url to access matches folder from browser

debug: true //silex debug boolean

Using

after the installation is done, you can send the image and parameters using a similar url

http://localhost/holmes-web/web/match_images // match_images is the action

Send a post for this url passing this parameters

template: is a big image

nest: is a image to find in the template

width: is the width size of the new image

height: is the height of the new image

preview: is a boolean to show a window with the preview of created image, this preview is opened in the server.

After your post done , you will receive a response like this.

{
    "data": {
        "url": "http://localhost/holmes-web/images/matches/df08781cc6221daeff1b2d4d03fd63d9.jpg"
    },
    "status": "success"
}
{
    "data": {
    },
    "status": "error"
}

Libs

We use 3 libs to make it happens

  • Holmes java
  • bytedeco/javacv
  • OpenCv

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-12-21