Tuesday, 2 October 2018

Barcode Scan through Webcam using Java


 

Barcode QRcode scan
03-06-2016    
ZBar is open source java API to scan Barcode and QRcode easily.Here are steps how it can be done in eclipse.

Steps:

1.        Download all required java files and jar files from Here.        
2.        Open eclipse and create new java project.Make sure you use jdk 1.7 32 bit otherwise sometime it may give problem.
        
        Fig. Creating new project
3.        Now right click on project Build path -> Configure Build path. Choose libraries. Click on add external jar files. Select dsj.jar and JNative.jar files which you can download from above given link.
4. Right click on src and create package code. Add 2 files ZBar.java and QRReader.java provided to you.
5. Now add all remaining files in project.You can drag and drop files on to project.

5. Now run QRReader.java file.Here is output.

Wednesday, 7 March 2018

Importance of Cleaning

Today I was reading Indian Economy Chapter 2 - Importance of Human behavior in policy making.
Learned -
How important cleaning is :


There are evidences which shows cleaning offices and healthy environment, decreases rate of
corruption and people behave sincerely.

Even in some countries, crimes are controlled by simply cleaning societies.

So cleaning is not only important in keeping diseases  away but also to reduce crimes,
corruption and improve human values.


As like singer get more motivated if singer finds that audiences have good knowledge
about singing.

In similar way if people know more about policies and involve more, give their opinion
or feedback regarding any decision by government then government also take proper
decision according to people.