Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waldemarnt/holmes-web
this is a web application to use with holmes template matcher binaries, it's used to make the make based in a post, and return the created image
https://github.com/waldemarnt/holmes-web
Last synced: 20 days ago
JSON representation
this is a web application to use with holmes template matcher binaries, it's used to make the make based in a post, and return the created image
- Host: GitHub
- URL: https://github.com/waldemarnt/holmes-web
- Owner: waldemarnt
- Created: 2014-12-21T05:08:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-21T23:01:37.000Z (almost 10 years ago)
- Last Synced: 2024-04-09T22:14:58.345Z (7 months ago)
- Language: PHP
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Holmes web application
Holmes is a software to detect images in another images using JavaCV and OpenCV.
https://github.com/waldemarnt/holmesThe 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
```sh
$ composer require waldema/holmes-web
```
After download is done, rename your config.yaml.default to config.yaml and configure like thissettings:
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 urlhttp://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.
```sh
{
"data": {
"url": "http://localhost/holmes-web/images/matches/df08781cc6221daeff1b2d4d03fd63d9.jpg"
},
"status": "success"
}
```
```sh
{
"data": {
},
"status": "error"
}
```
### LibsWe use 3 libs to make it happens
* Holmes java
* bytedeco/javacv
* OpenCv