Code Monkey home page Code Monkey logo

travel-recommendation-system's Introduction

Image-recognition

This projects provides image based recognition of unknown tourist places and also recommends tourist places based on user preference.

Dependencies:

  1. Flask

  2. Twilio


Steps to follow:

  1. Download all the dependencies.

  2. In terminal go to project directory and run "python app.py" command.

  3. Copy paste the link in browser and add "/index" to it and press enter.

  4. For image search upload files from "queries" folder only.


SCREENSHOTS:

image image image image image image image image image image image image

travel-recommendation-system's People

Contributors

arshiyaaftab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

travel-recommendation-system's Issues

FileNotFoundError: [Errno 2] No such file or directory: 'index.csv'

	with open(self.indexPath) as f:

		reader = f.read(self)

		# loop over the rows in the index
		for row in reader:
			# parse out the image ID and features, then compute the
			# chi-squared distance between the features in our index
			# and our query features
			features = [float(x) for x in row[1:]]
			d = self.chi2_distance(features, queryFeatures)

			# now that we have the distance between the two feature
			# vectors, we can udpate the results dictionary -- the
			# key is the current image ID in the index and the
			# value is the distance we just computed, representing
			# how 'similar' the image in the index is to our query
			results[row[0]] = d

		# close the reader
	f.close()

#Whenever I try to upload image it shows me this error. give me solution for this one.
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.