vortistandard.blogg.se

Hashtag suggester
Hashtag suggester











hashtag suggester

If we do not choose an image and click Upload an error will show up saw "Please choose a file" as it is required field.Ĭhoose an image from Computer or choose an image from Facebook.

hashtag suggester

Demonstration of Application working: Our homepage: Choosing an Image from the Computer: It contains the necessary UI styling for this page which also has an option to post the analyzed image to Facebook and twitter.

hashtag suggester

This is the second page which appears after uploading the image where the hashtags(labels) for the image are displayed after the image has been analyzed using the CloudVision API. If the user decides to select an image from Facebook then the picture is sent to the servlet(Hashtag.java) for further processing and if the user selects to upload the photo from the lcomputer to the blobstore, then the Upload servlet is invoked for processing. This interface gives the user the option of selecting the image either from the computer or Facebook. Along with invoking the Cloud Vision API and fetching the labels to or from the Datastore.įirstly, all the UI design and styling is done in this JSP file. Similar to the Hashtag.java class, even here we are storing and retrieved the image ID, image URL, and the labels from the Datastore but this for images uploaded from computer. It also stores and retrieves the image ID, image URL, and labels from the Datastore. Which also helps in generating the labels for the pictures selected from Facebook. This java class is responsible for invoking the cloud vision API.

#Hashtag suggester code#

Github Code Repository: 1.2 Project Proposal: There's an option wherein the analyzed image along with the hashtags can be posted to Facebook and Twitter. The Cloud Vision API then analyses the uploaded image and then the appropriate hashtag is suggested. These uploaded pictures are stored in the Google Datastore. We can upload an image from the computer or select an image from Facebook for Hashtag suggestions by using a tool called the Graph API. Welcome to the Hashtag-Suggester wiki! Introduction:įor this project, we have created an application called the Hashtag Suggester which allows the user to upload a picture for hashtag suggestions.













Hashtag suggester