We Need an Image Classifier API in PHP / Python -- 2

Image classifier API

Method: POST

Input: Base 64 stream (JPG image data)

Output: JSON array (Top 5 matching Hollander data)

Language: PHP

Input data


“image64”: base64 stream


Output data


“title”: “matching”,

“description”: “Please check the results.”,

“uploadedUrl”: uploaded JPG file URL,

“ref”: [


“id”: Hollander ID,

“img_url”: Hollander image file URL,

“prob”: Similarity



“id”: Hollander ID,

“img_url”: Hollander image file URL,

“prob”: Similarity




Source File:



//setting headers

header("Access-Control-Allow-Origin: *");

header("Content-Type: application/json; charset=UTF-8");

header("Access-Control-Allow-Methods: OPTIONS,GET,POST,PUT,DELETE");

header("Access-Control-Max-Age: 3600");

header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");

//recevieing json

$content = trim(file_get_contents("php://input"));

$post = json_decode($content);

//saving uploaded image

$imagedata = base64_decode($post->image64);

$file_path = 'upload/' . date("Y_m_d_H_i_s_") . '[login to view URL]';

$file = fopen($file_path, "wb");

fwrite($file, $imagedata);


//Matching (Here Deep Learning)

$result_json = exec("[login to view URL] ".$file_path);

$result_arr = json_decode($result_json);

//making json

$MyResult = array();

$MyResult['title'] = "Matching";

$MyResult['description'] = "Please check the results.";

$MyResult['uploadedUrl'] = $file_path;

$MyResult['ref'] = array();

foreach ($result_arr as $key => $value) {

$img_file_arr = scandir('base/' . $key . '/');

$buff = array('id' => $key, 'img_url' => 'base/' . $key . '/' . $img_file_arr[2], 'prob' => $value);

array_push($MyResult['ref'], $buff);


//Sending Results


$JSONResult = json_encode($MyResult);

echo $JSONResult;



Tree Structure

Base folder structure

I am using base folder for Hollander images.

But you needn’t use this folder.

I can use your origin database.

And you can find all the reference wheel information which has the same hollander ids.

So I hope you to expand my raw api to send all the reference wheel spieces, not only hollander ids.

In the 7z file, the [login to view URL] is the kernel of image classifying.

If you train more, the [login to view URL] will be updated. Then you should replace it to newer version.

There is no training part in 7z python files.

Квалификация: Python, MySQL, PHP

Показать больше free image hosting api php, generate iso image api php, google image api php, cnn image classification python code, cnn image classification python keras, image classification using cnn keras, image classification using cnn github, cnn image classification python github, neural network image classification python, cnn image classification tensorflow, image classifier python, google image search api php, image cropping api php code, php image upload api, php bing image search api, php image search api, bing image api php script, search image web api php, api whatsapp python php, php python api

О работодателе:
( 13 отзыв(-а, -ов) ) ARLINGTON, United States

ID проекта: #20659400

29 фрилансеров(-а) в среднем готовы выполнить эту работу за $175


Hello sir. As a machine/deep learning expert, I'm glad to see your project. If you check my profile, you can see I have deep knowledge in machine/deep learning, computer vision and image processing, opencv and tensorfl Больше

$200 USD за 3 дней(-я)
(136 отзывов(-а))

Hi we have experience in similar type of works, we are working last 12 years in this industry. we have some questions to clarify, please reply us so we can discuss in details and start immediately. We are confident t Больше

$140 USD за 2 дней(-я)
(170 отзывов(-а))

Hello! I am a web & app developer. I have checked your project description. I can do it as I have rich experience with PHP If you hire me, I am gonna do my best. I guarantee the good result. I will wait for your reply. Больше

$140 USD за 3 дней(-я)
(27 отзывов(-а))

Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on it with more than 7 years experience. Please feel free to contact me. I am looking forward to hear from you. Больше

$100 USD за 3 дней(-я)
(122 отзывов(-а))

Dear client! How are you? Thanks for your job posting. Here is Python expert you are looking for. As you can check my profile, I have 8+ years of experience in python projects, so If you give me your project, then I th Больше

$140 USD за 7 дней(-я)
(77 отзывов(-а))

Hi Dear. My name is Ruyun. After reading your description carefully and I am convinced that I would be a perfect fit for this role. I am a senior Web developer with high skills in Laravel/Ci/Django/Symfony/Yii/Cakephp Больше

$100 USD за 7 дней(-я)
(33 отзывов(-а))

Hi I can do it immediately Thanks. :) ............................................................................................

$250 USD за 7 дней(-я)
(22 отзывов(-а))

Greetings! I am very thankful for this chance because I have a similar kind of expertise and work experience. [login to view URL] https://www.freelancer.com/u/oneginaalyona I would like to point out that my bid amount is Больше

$250 USD за 7 дней(-я)
(29 отзывов(-а))

Hi, I can fix it within 2 hours. I have rich experience in PHP, Python, Mysql I'm very interested in your project. Please send me a message so that we can discuss more. I am ready to work for you. Regards

$200 USD за 1 день
(36 отзывов(-а))

Hello! I'm specialized in deep learning and machine learning with many experiences on computer vision, NLP and data analysis. I'm a good mathematician and theoretical physician, so having a strong theoretical backgroun Больше

$250 USD за 7 дней(-я)
(25 отзывов(-а))

Hi, there! I have read your description carefully. I am very interested in your project. So you need python code that can train and update your pre-trained model. I have high Python skill and can work for you anytime. Больше

$140 USD за 7 дней(-я)
(33 отзывов(-а))

Hello There, Greetings of the days..!! I hope You Doing well. I Read carefully and Analyzed Your Provide Project Description. My Skills - CSS,HTML, BootStrap , PHP, CakePhp , CodeIgniter, Laravel, Responsive, MySQL, Больше

$150 USD за 5 дней(-я)
(24 отзывов(-а))

Dear Client. I'm interested in your project and I perfectly can handle your require for image classifier. I am a full stack web expert with 7+ years experience and I have excellent skills and experience in the projec Больше

$200 USD за 7 дней(-я)
(12 отзывов(-а))

Hi, I am an expert in python , php and image processing. I am very familiar with image classifier API in PHP / Python. I can do your project perfectly. Waiting for your response. Thanks.

$140 USD за 7 дней(-я)
(23 отзывов(-а))

Hello, How are you? I have read all your requirement. I have rich experience with Python and I can help you perfectly. I'm very interested in your job post.I believe my skills would be ideal for your project. And then Больше

$150 USD за 7 дней(-я)
(18 отзывов(-а))

Dear client. I've read your all descriptions carefully. I am very specialized in PHP, Javascript, HTML, Python and MySQL and have much experience as full-stack. If i can have a chance to work for you i will be apprecia Больше

$140 USD за 7 дней(-я)
(14 отзывов(-а))

Hi there. Thank you for your detailed posting. I am an image processing expert and your task is easy to me if you can trust me. I would like to have a detailed discussion with you. Regards.

$200 USD за 3 дней(-я)
(13 отзывов(-а))

Hello, I am interested in your project. I have extensive experience in image classification and clustering using machine learning and deep learning such as tensorflow, keras, CNN, LSTM, scikit-learn, tensorboard and py Больше

$140 USD за 7 дней(-я)
(7 отзывов(-а))

*****Hello Sir.***** My name is Vliadimir from Russia. i studied your project, understood all your requirements and therefore i am bidding for it. I am interested in working with with you for this project and we can Больше

$200 USD за 7 дней(-я)
(8 отзывов(-а))

Hello there! My name is Chris, I'm a UK based and native English speaking web developer and app expert with 10 years experience building and maintaining complex web apps and websites. I've built and maintained applica Больше

$250 USD за 1 день
(4 отзывов(-а))