Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-image-searcher

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-image-searcher - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

result-ml-image-searcher.png

2

package.json
{
"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
};```
````
};
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc