A
A
arti_djeims2017-02-22 15:56:18
PHP
arti_djeims, 2017-02-22 15:56:18

How to create a bot that will describe an image in JS or PHP?

Increasingly, different api sites began to appear that determine what is in the picture, by type: Computer Vision Microsoft or Google Cloud Vision All of them use AI. How to create your own website that will describe an image using JavaScript or PHP but without using Node.js Do you have any ideas or ready-made solutions or ready-made code? Interesting topic, thanks for your help.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
McBernar, 2017-02-22
@McBernar

Oh sure.
1. We take a site
2. And we create it

A
Anton, 2017-02-22
Reytarovsky @Antonchik

  1. Making a neural network
  2. We train her
  3. We write a web interface for it
  4. Profit

A
Alexander Pozharsky, 2017-02-22
@alex4321

"How to create your own website that will describe a picture using JavaScript or PHP but without using Node.js"
1. select api (from the same google or watson, for example)
2. find a ready-made wrapper for it or write your own
3. write your website.
But how to write your own platform and where to get data for training (and even how to use it) is a completely different problem. And, it seems, learning a language at a more or less suitable level is so, little things :-)

X
xmoonlight, 2017-02-22
@xmoonlight

NN is filtering by features of the input data.
For a picture: this is the color of the main central pixel and the colors of neighboring (surrounding) pixels.
Step-by-step recognition:
1. Find unique areas of the image (limited by a rectangle or circle) that make up the topological "skeleton" of the entire image.
2. We find the maximum comparison of "skeletons" on the reference and on the recognized image.
3. We compare these areas with the reference areas in percentage terms, taking into account the correctness of the topology: lines, distance percentages and direction angles of each unique area relative to other unique areas of the same image.
4. Profit!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question