Skip to content

dfriveros11/CanBeTheObjectIdentify

Repository files navigation

Can Be The Object Identify? 💥

Description

We wanted to do a game in which the people have an approach with image classification. People can put different objects to the webcam and check if is detect or not.

Authors

Check the page 😎

Link

Prerequisites

In order to deploy the page locally, you should have the following technologies install if you don't have installed just click on the name and you will be redirected to the dowloand page:

Deployment

Enter in the root folder of the proyect and run the following commands:

 # Install dependencies for server
 yarn install
 
 # Add mongodb to yarn
 yarn add mongodb

Almost there!!!.

Windows

Go to where you intsalled mongo (eg.)

C:\Program Files\MongoDB\Server\3.2\bin>

Enter command

mongod

Then, open a new cmd and set your environment variables to be the admin and password

SET MONGO_USER=admin
SET MONGO_PWD=secret

Go to where you intsalled mongo (eg.)

C:\Program Files\MongoDB\Server\3.2\bin>

Enter command

mongo

Then open a new cmd and go to you folder where the app is and

yarn start

Ubuntu

Create the image to mongodb with the name some-mongo with user mongoadmin and password secret:

docker run -d --name some-mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=secret mongo:4.0.4

If you want to check mongo shell in the docker image, just run in the console :

docker run -it --rm --link some-mongo:mongo mongo mongo --host mongo -u mongoadmin -p secret --authenticationDatabase admin some-db

Before running the project, remember to set the variables for MONGO_USER and MONGO_PWD in this example run the next commands:

export MONGO_USER=mongoadmin
export MONGO_PWD=secret

Now, all you have to do is to be inside the root folder of the project and run:

yarn start

GIF

Used technologies

  • HTML
  • CSS
  • Bootsrap
  • Javascript
  • TensorFlow.js
  • MongoDB
  • Docker

MIT License

This project is licensed by the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published