Skip to main content

Posts

Handwritten Text Recognition with TensorFlow / Python

In order to use wordbeam search: python main.py --train --beamsearch 1. Compile wordbeam search https://github.com/githubharald/CTCWordBeamSearch2. downloadIAM Handwriting Databasehttp://www.fki.inf.unibe.ch/databases/iam-handwriting-database
Recent posts

React way to use D3 - ( Python as API )

The Inspiration
Andmap is trying to build new BI product, the tech stacks would be D3 + ReactJS as data visualization frontend, Web API, and Python provides data. As with most new projects, it didn’t take long to figure out the major roadblocks. D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation. In one of our initial discovery sessions, we realized that our application needs to be able to adapt D3 library in ReactJS way. More than that, we prefer utilizing new feature of React - Hooks. Finally, we build  component for each chart and Helpers file for drawing each chart. Here is sample for map chart:
index.js:



map.js - map chart container -
using useEffect hook

helpers.js
- to draw charts

useReducer Hook + Context API for Towneley project

To ger rid of Redux!!

A simpler, more straightforward way to handle global state management

library we are using for this project are:
1. Formik
2. Material Design
3. Redux

1. Index.js 2. store.js 3. reducer.js 4. actions.js5. middleware.js6. typeOfActions.js7. profileForm.js=======
Same idea - use hook for Material Design

SVG, and SVG for ReactJS - D3, and other library

Android app publishing

Upload failed You uploaded a debuggable APK or Android App Bundle. For security reasons you need to disable debugging before it can be published in Google Play. Learn more about debuggable APKs or Android App Bundles.

Online tool to remove background of images