Auki

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

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.

Taidot: MySQL, PHP, Python

Näytä lisää: free image hosting api php, generate iso image api php, google image api php, google image search api php, image cropping api php code, 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, we are busy busy we need 3 banners designed, we need 3 banners designed after that we have allot more, we need website development with complete responsive designing please open this url : http://collegeduniacom/ we need same to s, we need 3 d cad operator from outsouce for modular kitchen, we need php developers freelancers phone numbers on delhi

Tietoa työnantajasta:
( 13 arvostelua ) ARLINGTON, United States

Projektin tunnus: #20793442

22 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

leemilun

Hi. Sir I would be very glad to meet you. I read your description carefully. I can bring you perfect result as you want. I am an experienced web developer and designer with the depth knowledge related to Laravel, WordP Lisää

$150 USD 4 päivässä
(78 arvostelua)
6.7
Mickelson

Dear, I have checked your request. I can resolve your problem with my 10+years experience of full stack developer. I am very interesting of your proposal. I have 200 reviews in freelancer site and I am proud of deliver Lisää

$140 USD 7 päivässä
(118 arvostelua)
6.8
jonathangenty31

Hello sir. As a computer vision and image processing expert, machine/deep learning expert, I'm glad to see your project. In fact I master in your project. If you check my profile, you can see I have deep knowledge in c Lisää

$250 USD 5 päivässä
(34 arvostelua)
6.3
suhaa18

Hi. thanks for your posting. I'm very happy to have a chance of bidding your project. I have experience in development of the projects like yours If you hire me, I'll do my best for your project and finish greatly in a Lisää

$140 USD 7 päivässä
(19 arvostelua)
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 Lisää

$140 USD 7 päivässä
(31 arvostelua)
6.1
skfaroo123

Pro PHP/Python/MySQL/ Machine Learning/AI Expert! Dear employer Once saw a your project, it was very attracted my mind because I am very interested in your project and also, have rich experiences and high skills on th Lisää

$50 USD 1 päivässä
(25 arvostelua)
6.0
susanna2018

hi! Dear , my Client! i am very pleasure the opportunity to discuss this job with you. i am a full time freelancer with skills and experience on laravel,codeigniter,wordpress and angular.js, vue.js, react.js node.js, r Lisää

$140 USD 7 päivässä
(40 arvostelua)
5.7
Pingduoduo

My 7 years of R&D experience should be of interest to an ideal project like yours. In various capacities in image processing, computer vision and machine learning, leading to my present assignment as project manager, I Lisää

$200 USD 3 päivässä
(18 arvostelua)
5.2
AndreiPPB

Hello. I read your requirement carefully. I'm very interested your project. My main skills is PHP and Python. If you assign to me this project, you can get a cool result. please contact me. thanks. best requards.

$140 USD 7 päivässä
(15 arvostelua)
5.4
elepsis

Hi there, I have good experience with tensorflow, keres frameworks. And will be happy to update your system to send also the reference wheel spieces along with hollander ids. Also, I will update it to add the training Lisää

$250 USD 7 päivässä
(84 arvostelua)
5.5
albertpopov46

Hi Dear I read your requirements carefully. I have rich experience with Python Django, PHP, Flask, selenium, Web Scrapy, software architecture and so on. I can complete your job within a few days. Please touch me. I wi Lisää

$150 USD 7 päivässä
(25 arvostelua)
5.0
cindcoder

Hi, I am interested in your project. I have extensive experience in real time face recognition, emoji recognition, ALPR/ANPR, object detection, crack detection, vehicle speed detection, hand gesture recognition, pedest Lisää

$140 USD 7 päivässä
(7 arvostelua)
4.2
star314

Hi, I just reviewed your project description and interested in your project. My skills like is matched your project's requirement skills perfectly, so No problem to implement your project and sure you will get the sat Lisää

$150 USD 5 päivässä
(12 arvostelua)
4.5
BoyVit85

✅✅✅✅✅ "Wish you could not lose an amazing opportunity to work with an amazing developer!" Hello! Thanks for your job. I have read your proposal carefully and understood what you want. As a senior full stack developer, Lisää

$120 USD 3 päivässä
(15 arvostelua)
4.3
$155 USD 3 päivässä
(5 arvostelua)
3.3
sharpman1013

Dear Client. Warm Greetings.!!! I have been really very happy to see a job posting which is 100% fit for my skills. According to the job description, you need a Python developer to assist you in your project. -I a Lisää

$140 USD 5 päivässä
(6 arvostelua)
3.5
unix515

Hello! I have more experience in side of python. I have checked your project description carefully. I can build it If you hire me, I am gonna do my best. I can produce the good result. I hope to have a good relati Lisää

$120 USD 5 päivässä
(6 arvostelua)
2.9
GlobalSolution3

⭐⭐⭐⭐ i am Full stack python api developer. ⭐⭐⭐⭐⭐⭐ I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. * 6+ years experience in python If you want high Lisää

$140 USD 2 päivässä
(4 arvostelua)
2.9
vladimirsekunda

Hi, I am excited to confirm that I am a 7+ years experienced developer with expertise into PHP based CMS platforms like WordPress, Drupal and MVC like Laravle, Codeignitor, Yii, Symfony and custom PHP as well. I have Lisää

$250 USD 7 päivässä
(1 arvostelu)
1.9
AlexMelcon

Hello, I have some experience developing ML systems for image classification with python, I am confident that I am able to complete this project. I will have to ask some questions about the job before getting into it. Lisää

$120 USD 7 päivässä
(0 arvostelua)
0.0