Yaron Vazana

NLP, Algorithms, Machine Learning, Data Science, tutorials, tips and more

  • About
  • Blog
  • Projects
  • Medium

Contact Me

yaronv99 [at] gmail.com

Powered by Genesis

You are here: Home / Archives for Mobile

Android Text Detection Using OpenCV

February 2, 2016 by Yaron 38 Comments

Mobile devices have improved significantly over the past years. They are now capable of running intensive CPU tasks like image processing and object detection algorithms, perform mathematic calculations and even handle a large amount of data efficiently.

In this project I’m going explain how to use the OpenCV library in your android app, and implement a real time text detection algorithm using  the rear phone camera. I will use the OpenCV MSER algorithm which is used to detect points of interest inside an image.

android-text-recognition

[Read more…]

Filed Under: Android, Mobile Tagged With: Android, Apps, Material Design, Mobile, Open CV, Video

How To Add OpenCV To Your Android App

January 20, 2016 by Yaron 4 Comments

OpenCV is an open source library which provides a wide range of machine learning and computer vision algorithms. OpenCV original library is written in C++ but there are wrappers for other major programming languages, including Java (for android).

Since I use OpenCV quite often, I decided to dedicate a separate post and write a tutorial on how to add the library to an existing android application, developed in android studio.

OpenCV for android

[Read more…]

Filed Under: Android, Mobile Tagged With: Android, Android Studio, Apps, Material Design, Mobile, Open CV, Programming

What Google Can Teach Us about Caching

January 7, 2016 by Yaron Leave a Comment

Loading a single bitmap image into your android app is straightforward. However, on most cases you need to load many images at once into your UI view, this can damage your app responsiveness and downgrade your overall look and feel.

This post walks you through Google’s best practice for using a memory and disk caching to improve the responsiveness and fluidity of your UI when loading multiple images.

android-cache

[Read more…]

Filed Under: Android, Mobile Tagged With: Android, Apps, Google, Mobile, Programming

Material Design Collapsing Toolbar With Image

December 28, 2015 by Yaron Leave a Comment

One of the best Material Design’s component is the Collapsing Toolbar. Many android apps use this concept as it brings simplicity, elegance and beauty to the screen. Using images is a great practice in general, mobile screens are much smaller so less images can fit in. Showing an image as the main header and collapsing it when the user scrolls, allows us to show more above the fold content in less space.

Making long story short, this is the final result…

Collapsing toolbar with image open Collapsing toolbar with image close

[Read more…]

Filed Under: Android, Mobile Tagged With: Android, Apps, Google, Material Design, Mobile, Programming

Right to Left Support in Your Android App – Tutorial

October 29, 2015 by Yaron 3 Comments

There comes a time on almost every app life cycle where the owners ask themselves how can we engage more customers. One of the best action you can do to improve your app downloads rate is to translate it into several different languages. Languages written Left to Right are easy, just add a another strings.xml file, translate all your texts there and you’re done. But what about Right to Left languages? this could be a bit tricky.

Android RTL languages

Right to left languages usually require your elements to be placed on the opposite order, creating a separate view file for each screen is definitely something you can do, but it’s not going to be scalable as your app grows.

Luckily android 4.2 is now fully supports Right to left languages, I’ll explain each step on how to achieve that.

[Read more…]

Filed Under: Android, Mobile Tagged With: Android, Android Studio, Apps, Mobile, Right to left, RTL, Translation

  • 1
  • 2
  • 3
  • Next Page »

SUBSCRIBE TO BLOG

Subscribe to Blog

Subscribe to get the latest posts to your inbox

Recent Posts

  • Training an AutoEncoder to Generate Text Embeddings
  • Using Dockers for your Data Science Dev Environment
  • Identifying Real Estate Opportunities using Machine Learning
  • How to Create a Simple WhatsApp Chatbot in Python using Doc2vec
  • Average Word Vectors – Generate Document / Paragraph / Sentence Embeddings
  • Visualizing Vectors using TensorBoard
  • Training a Doc2Vec Model with Gensim
 

Loading Comments...