Skip to content

omkarjc27/meat_quality_assesment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meat Quality Assesment API

  • Implementation of IEEE paper
  • Dataset freely distributed on kaggle
  • Validation Set Accuracy 98%

Training Metrics

Training Metrics

Test Results

Training Metrics

API usage

function Quality(filename) {
	var APIurl = ''
	var ourRequest = new XMLHttpRequest();
	ourRequest.open('POST', APIurl+'/predict/');
	var formData = new FormData();
	formData.append("img_file",file);
	ourRequest.send(formData);
	ourRequest.onload = function() {
		if (ourRequest.status >= 200 && ourRequest.status < 400) {
			var data = JSON.parse(ourRequest.responseText);
			console.log(data)
		} else {
			alert('Server Error')
		}
	}
}

Releases

No releases published

Packages

No packages published