NodeJS 验证码识别算法-二值化处理图片

下面的代码是针对下方的图片的处理


function chulixx(data)
{
	var width = data.width
	var height = data.height
	var len = width * height * 4
	var i, tmp=0;
	
	var line = [], linei = 0, lineoption = 3;
	var pic  = [], pici = 0, picoption = 15;
	
	for(i=0;i=0) && (bottomindex=0)&& (rightindex

你可能感兴趣的:(javascript,html)