Portable and fast text detection