Fermé

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:

PHP

<?php

//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);

fclose($file);

//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

http_response_code(200);

$JSONResult = json_encode($MyResult);

echo $JSONResult;

?>

Python

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.

Compétences : Python, MySQL, PHP

en voir plus : 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

Concernant l'employeur :
( 13 commentaires ) ARLINGTON, United States

Nº du projet : #20659400

34 freelance font une offre moyenne de $180 pour ce travail

widadsaghir1993

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(130 Commentaires)
7.5
techwelfare

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(169 Commentaires)
7.1
dreammate0621

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(27 Commentaires)
6.6
ferozstk

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(120 Commentaires)
6.6
adampohp79

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(76 Commentaires)
6.2
Grisha97924

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(36 Commentaires)
6.1
WebExpert555

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(33 Commentaires)
6.2
TakaAlex

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(22 Commentaires)
5.9
oneginaalyona

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(29 Commentaires)
6.1
MeihaoShiguang

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(25 Commentaires)
6.0
MaZheng225

Hi,client I have been working for 8 years working in freelancer. In these times , I have a lot of experiences in Javascript, bootstrap,django,python, HTML5, PHP ,Node.js and Angular.js ,Laravel, CI ,React.js ,ASP.NET, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(25 Commentaires)
5.8
AlexanderPGR

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(25 Commentaires)
5.1
fastwebsoft

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, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(22 Commentaires)
5.1
nodinh325

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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(22 Commentaires)
4.9
Zhenqiang

Hi, there My name's Nanji, Sr PHP Developer who got the reputation of "Top 1% Developer" by this community. Especially, I have rich experience in Python. Please contact me to discuss furthermore. I can make your all id Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(10 Commentaires)
4.8
songhwa2019

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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(5 Commentaires)
4.1
cindcoder

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(7 Commentaires)
4.2
phantom1222

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(14 Commentaires)
4.4
kornienkoelvira

Hi, Dear! I have read through your job details carefully and I am interested in your idea. I have a good experience in PHP , CI, WordPress and Python image processing. Of couse, MySQL too, I can handle your requiremen Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(13 Commentaires)
4.3
fivestarOne

Hello, I have been working as a professional Python developer for 6 years and I've gained rich experience with it in other companies. And I have made more than 60 Python sites before. Please review my portfolio if you Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(17 Commentaires)
4.0