Skip to content

Personal implementation of HBO Silicon Valley's app Hotdog or Not Hotdog

Notifications You must be signed in to change notification settings

prash29/Hotdog-Not-Hotdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotdog-Not-Hotdog

Personal implementation of HBO Silicon Valley's app Not Hotdog ( Identifies if a given picture is a Hotdog or not )

I have used Google's Inception model (2015) . Inception-v3 is trained for the ImageNet Large Visual Recognition Challenge using the data from 2012. The model classifies images to about 1000 classes. The retraining is done by replacing last layer of this model. Training has been done with 450 pictures. Thus, accuracy for a certain images might be low. Better the dataset, better the result.

Prerequisites

  • Need to have Python and Tensorflow installed on the system.

Steps

  • Clone the repository.

  • Open a terminal and run the following commmand on any of the images in the Test images folder or any other image of your choice. python label.py Test\ images/jianyang.jpeg

    • E.g. 1

    1. Jianyang

    • (Wait for the prediction)

    Result

    • not hotdog = 0.98556
    • hotdog = 0.01444
  • E.g. 2

    • To check on another image, run this : python label.py Test\ images/hotdog1.jpeg

    2. Hotdog

    • (Wait for the prediction)

    Result

    • hotdog = 0.99714
    • not hotdog = 0.00286
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy