ml-image-searcher
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ml-image-searcher", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "NodeJS module NPM package that helps to search for images using instagram hashtags and machine learning object recognition technology.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# instagrammer | ||
# ml-image-searcher | ||
@@ -12,2 +12,7 @@ [![license](https://img.shields.io/github/license/khaledalam/ml-image-searcher.svg)](LICENSE) | ||
## Motivation | ||
In example below output shows how searching using:<br> | ||
- Human hashtags + ML: `20(cats) / 20(total result)` -> [`100%` correct]<br> | ||
- Human hashtags : `12(cats) / 20(total result)` -> [`60%` correct] | ||
## Installation | ||
@@ -26,8 +31,13 @@ | ||
getImages('cat').then((ret) => console.log(ret.filteredData)) | ||
IG.getImages('cat').then((ret) => console.log(ret.filteredData)) | ||
``` | ||
#### Example (filteredData) response: | ||
#### Output (format: `htmlAll`) response: | ||
- Left: Human hashtags + ML | ||
- Right: Human hashtags only | ||
<img src="./result-ml-image-searcher.png" width="850"> | ||
#### Output (format: `filteredData`) response: | ||
```json | ||
@@ -76,6 +86,2 @@ { "node": | ||
#### Example (htmlAll) response: | ||
<img src="" width="350"> | ||
--- | ||
@@ -87,3 +93,3 @@ | ||
2. cd ml-image-searcher/ | ||
3. change LISTENER variable in .env file to: LISTENER='true' | ||
3. change LISTENER variable in .env file to: `LISTENER='true'` | ||
4. run `node index.js` | ||
@@ -94,3 +100,3 @@ 5. open browser: localhost:8080 | ||
```` | ||
``` | ||
{ | ||
@@ -102,3 +108,3 @@ originalData, // result based on humans hashtags only | ||
htmlAll, // both results (htmlOriginalData + htmlFilteredData) in a table | ||
};``` | ||
```` | ||
}; | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1828328
7
105