Skip to content

minlee077/BARS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

BARS

Beer Auto Recognition System for mobile

1. What is BARS?

Beer Auto Recognition System(BARS) is a mobile application that will help you search beers that you've never seen before.

Every Beer has it's distinct label that differentiates it from others. If you see a beer that you've never seen before or not familiar, take a photo of it's label with your phone camera and upload it at BARS application. When the photo is uploaded, BARS program will operate through Image-Classification-Model based on deep-learning and find a match with the product on our database. When it is matched, information about beer comes up at the screen including the name, manufacturer, ABV(alcohol), type, avg.price, style, ratings.

To make the features more reliable, we will refer to the data on worldwide famous beer information websites such as ‘www.ratebeer.com’ or ‘www.beeradvocate.com’. For maintenance, continuous interest to new beer products is required.

So far our application can classify only cass, tsingtao and guiness. if we can collect enough data for other beers, we will addtion it in our model.

2. Use cases

case 1

You went to a convenience store to grab some beers to drink. You are fed up with Korean beers that you’ve been drinking for years. Just then, you notice that there are lots of imported beers that you’ve never drank before. There are too many choices and it’s even hard to read the label because it’s written in foreign language. At the time you run the BARS app and take some photos of those beers and upload it. Now, You have all the info about those beers which will make you a smart consumer. Enjoy the beer!

case 2

You are a traveller visiting Korea. You wonder how the Korean beer will taste like. It’s seems like “Hite beer” and “Cass Beer” is the most famous beer in Korea. Take photos of two beers. upload it on the BARS app. You notice that the rating of those two beers are pretty low. You put those beers back on the shell and take some more photos of Korean beer. After a while, you find a beer with rather high rating. Grab it and enjoy it.

case 3

You visited your friend’s house. He brought two bottles of foreign beer. He said grab one you like. You take photos of two beers and upload it on BARS app. Blue label beer is IPA beer which you prefer the most. Grab the beer and enjoy it.

3. Requirements

For User

Android 8.0 (Oreo) (or higher version)

For Developer

Application Development


Android Studio 3.2 (installed on a Linux, Mac or Windows machine)
Android TensorFlow Lite AAR

You can find more detail about development environment of application on docs


Image Processing Development


Except external image crawling tool, all of image processing steps are done on python3.7 environment.
Especially we use conda virtual environment, so if you want to continue the project you have to meet following environment conditions.
  • Image crawling (external tool) [github]

You can find more detail about the tool in README


  • Image augmentation

If you need data augmentation, you should install following python packages. [environment]


  • Image classification

If you want to renew classification model, you should insall following python packages. [environment]


4. Installation Process

install


download apk file and install it [BARS.apk]


5. How to run

main

If you run our app, you will see this screen.
Touch camera icon and take a picture of beer what you want to know

captioning

Then, the application tells you the beer's name.
If you want to know more about the beer then, touch '정보 보기'

info

Now, You have all the info about the beer which will make you a smart consumer. Enjoy the beer!

6. About Image processing

Data Annotation tool


Extracting frames(image) from videos



Image augmentation package. If you meet the environment setting, you just follow [notebook]


Image Classification

tf_lite_image

  • Classification Architecture : Inception v3 [arxiv]

Specific implementation : [notebook]

7. Tested Device

Device : Samsung Galaxy Note8 (SM-N950N) + Android 9.0 (Pie)
Build environment:
Mac OSX 10.11.6
bazel Version : 0.8
Android Studio 3.2
Android Build Tools Level: 26.1.1
Android NDK Version: r19c

8. Copyright

License

9. Contact Information

If you have any questions or suggestions about the project, please contact me by e-mail or create issue in this repository.

minlee077@naver.com

10. Members

Image Processing Team

Application Development Team

11. Change Logs

[alpha_Application]

------------------ Alpha release 2019-05-24 ------------------

Performance enhancement and UI modification

[final_Application]

------------------ Final release 2019-06-09 ------------------

Releases

No releases published

Packages

No packages published

Languages