OCR

fonte: http://www.oxhow.com/free-online-ocr-services-to-convert-images-to-text/
But, this technology is still under development and there is no such application that works 100% when performing OCR. Though, Google Docs can be used to extract text from images, here is five more web tools that you can try for OCR and suggest our readers the best performing tool.

Free-online-ocr.com

FREE-Online-OCRFree Online OCR is a free service that allows you to easily convert scanned documents, faxes, photos into editable and searchable text. Free-online-ocr.com is the site that has an easy interface to work, I have found so far. You can easily find the options for uploading and converting an image to text. It also provides the options to convert documents into 4 popular formats – .doc, .pdf, .rtf and .txt. It accepts all formats of images like GIF, BMP, JPEG, TIFF or PNG. It does also have an integrated dictionary. The conversion speed is good and you have no need to register in this site.

i2OCR.Com

i2OCR- Convert images to texti2OCR.com is a free service with no sign up, no limitation of uploaded file size or number of input files per hour. The interesting feature is that you can choose between 33 different languages before converting the uploaded file into text format. It also has More Productivity Tools tab that includes various options to design your pages to give Phonetic keyboard layout, graphical symbols, Arabic Transliteration etc..

NewOCR.Com

NewOCR.com is a free online service based on Tesseract Optical Character Recognition engine. NewOCR.com feels a bit cluttered with lots of advertisements. It analyzes the text from any image file that you upload, and then converts the text from the image so that you can easily edit it on your computer. It supports 39 languages including Greek, Chinese, Slovakian and Vietnamese. You can save recognition results as .txt, .html, .doc, .pdf, .rtf, LibreOffice and .odt extensions. There is no need to register in this site also.

Free-OCR.Com

Free-OCR.Com is a free online tool to extract text from any image from JPG, GIF, TIFF, BMP or PDF extensions. This also has a pretty interface with great converting speed. Despite being free service, you can’t upload a file bigger than 2MB and no wider or higher than 5000 pixels plus. There is a limit of 10 image uploads per hour. Read more on how to pickup text from images online.

OnlineOCR.Net

Online-OCR to convert images to text
OnlineOCR.Net is also an easy to use interface service that recognizes and converts text and characters from PDF scanned documents, photographs and digital camera captured images. It supports 32 languages. You can extract text from JPG, JPEG, BMP, TIFF, GIF format images and convert into editable .doc, .txt, .pdf, .html formats. It also provides .xls or MS excel file format in output choice as well. There is a limit of 15 images per hour for users who don’t sign up to use their service. However, signing up with the service removes the limitation.
Let us know which service did you find more easy and useful.

Menu Focus – scorrere una lista dinamica di item

Punto 1: ricordarsi di mettere jQuery e non $, che nel php si spacca tutto.
poi: contare quanti LI nell' UL che interessa.
Quindi: freccia dx, fa scomparire i primi, freccia a sn, fa apparire i primi.

/*questo fa scorrere i focus */

jQuery(document).ready(function(){
var i=0;
var quantiLi = 10;
jQuery(“.focus li”).each(function (i) {
i = i+1;
jQuery(this).addClass(“focus”+i);
});
// quantiLi = jQuery(“.menu.nav.focus li”);
console.log( quantiLi );
var n = 1
jQuery(“span.asn”).click(function() {
// console.log( “ready!focus” ); il primo sparisce
jQuery(“.menu.nav.focus > li:nth-child(“+ n +”)”).addClass(“hide”);
n=n+1;
});
jQuery(“span.adx”).click(function() {
//console.log( “ready!focus” );
jQuery(“.menu.nav.focus > li:nth-child(“+ n +”)”).removeClass(“hide”);
n=n-1;
});
});
MIGLIORIA dinamica:

/*questo fa scorrere i focus */

jQuery(document).ready(function(){
var i=0;
jQuery(“.focus li”).each(function (i) {
i = i+1;
jQuery(this).addClass(“focus”+i);
});
jQuery( “.focus li” ).last().addClass( “ultimo” );
var listItem = jQuery( “.ultimo” );
var quantiLi = listItem.index( “.focus li” )-3;/*dinamico!!*/
console.log( quantiLi );
var n = 1
jQuery(“span.asn”).click(function() {
// console.log( “ready!focus” ); il primo sparisce
if(n <= quantiLi){ jQuery(“.menu.nav.focus > li:nth-child(“+ n +”)”).addClass(“hide”);
n=n+1;
}
else{
n = quantiLi;
}
});
jQuery(“span.adx”).click(function() {
//console.log( “ready!focus” );
if(n >= 0){
jQuery(“.menu.nav.focus > li:nth-child(“+ n +”)”).removeClass(“hide”);
n=n-1;
}
else{
n=1;
}
});
});

play da html al video embeddato

http://jsfiddle.net/8R5y6/
http://stackoverflow.com/questions/17514403/youtube-iframes-in-bootstrap-carousel-stop-video-on-slide
http://stackoverflow.com/questions/7988476/listening-for-youtube-event-in-javascript-or-jquery/7988536#7988536
carino e second me utile!

Fantastici! Knight lab

http://knightfoundation.org/press-room/press-release/new-html5-website-helps-organizations-navigate-int/
mettono a disposizione tantissimi strumenti in FREESOFTWARE per la didattica,
niente specchietti per le allodole gratuiti e poi features a pagamento!
TUTTO gratis, anzi LIBERO!
TIMELINE:  http://timeline.knightlab.com/
STORYMAP: http://storymap.knightlab.com/
SLIDER: http://juxtapose.knightlab.com/
SOUND-INLINE in Text: http://soundcite.knightlab.com/
 
 

La lunghezza di un oggetto in JS

fonte: http://gabrieleromanato.com/2012/03/javascript-ottenere-la-dimensione-e-il-numero-di-membri-di-un-oggetto/
 
thanks!
La seguente funzione conteggia tutti i membri di un oggetto, ossia quelli direttamente accessibili tramite la catena dell’ereditarietà basata sull’oggetto prototype:


function objectSize(obj) {
  var objectSize = 0;
  for (key in obj){
    if (obj.hasOwnProperty(key)) {
      objectSize++;
    }
  }
  return objectSize;
}

Esempio d’uso:


var my = {
	a: 1,
	b: 'Test'
};
console.log(objectSize(my)); // 2

Il problema è che dall’iterazione vengono esclusi i membri privati dell’oggetto.