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.

Saturday, 30 December 2017

Osho Teerth Park and current status

Osho Teerth Park

Date : 31-12-17

Yesterday, I went to see Osho Teerth Park. Before that I just searched about it. Its history.
Came to know many new interesting things.
About history :
It is example for how wastelands could be aesthetically transformed into park.
Osho Ashram took a responsibility of this. There is all around separate history about Osho itself.
He was Guru, used to say as Bhagwan Shree Rajneesh then turned to Osho(Sanskrit meaning Dhyan).

Ref :


It is park nice and beautiful. Many visitors come to see.
But from observation, nowadays many people just to take photographs, selfies.
To post it onto WhatsApp, fb, instagram or any other social media, to update status.

Many where even don't know the history behind it.
This is the current condition that can be observed everywhere.
I think whatever in present day we see is result of some past events.
If we know about history then it provide guide and motivation for us to improve and develop further.

Ref :

About Osho :

Saturday, 24 June 2017

Unable to copy text from PDF file

Stupid solution but ya worked :
1. Open PDF file in web browser
2. Enter Ctrl + p
3. Change to save as PDF.
4. Click print.
5. Secured file now saved as PDF file again and property is not secured. 
6. Now open that new saved pdf file. Now you can copy paste text.

Saturday, 25 March 2017

3 Daily Habits of Confident People

1.Diet and fitness2. Create right newtork: you are the average of people you spendmost time with.Upgrade your playgroup.3. Positive self talk.Let the champion inside you speak out.



Wednesday, 4 January 2017

What is Body and Mind and how to control it

Motivational :

Msg: Control Ur Mind By Education and Discipline


Shri Krishna tells Arjun that mind is only the issue creator which leads you to wrong places based on your senses but you have to control it to live a good life, if you will not control it, it will always leads you to wrong places.