Giter Site home page Giter Site logo

gallery-scripting's Introduction

Gallery-Scripting

A program that synchronizes a photograph gallery data. To run the program correctly please read the following sections.

Sections:

                                        Required Packages                                      -

To run the scripts properly cpan,CUrl and Google::Search api should be installed. To install cpan ->sudo apt-get install cpanminus To install Google::Search ->sudo cpanm Google::Search Note:Google::Search api gives a warning about overloading ' '. This is about the api not my scripts.

		                        Usage                                               -

All scripts are executable. Usage of the scripts: ./<script_name> . are the same specified in the project description. To change settings and keys, please read Extra Files section.

If you want to control the gallery using gallery.pl, you can specify the number of tags and number of samples from preferences.txt.

		                        Assumptions                                         -

All images should be in jpg format. To add a directory to the gallery, directory name should not contain empty space. If you add a directory to the gallery with command './galley.pl --add ./dir_name', when using --similar option you should use './dir_name/image' not 'dir_name/image'.
Perl directory should be in /usr/bin/perl. Required packages should be installed. If you run the system on the same image more than once the last output will be available and the previous ones will be overwritten. If you upload or download an image with the same name more than once to same directory the last image will be available and previous one will be overwritten. The sample files are not downloaded. Just the Url's are available. All the files specified in Extra Files section should be in the same directory with scripts. To run an instance id,region and private key file should be specified in the setting.txt.

                                        Extra Files                                              -

The files below numbered up to 3 are used as database. The files below numbered as 4,5,6 and 7 are used to keep settings and keys. These files should be located in the same directory with the scripts. Also all the scripts should be located in the same directory. 1)report.txt Stores the unique tags the gallery contains. It is used by labelimage.pl and gallery.pl. 2)report2.txt Stores the tags and images(image paths) the gallery contains. It is used by labelimage.pl and gallery.pl. 3)samples.txt Stores the samples the user created(URL'S).It is used by searchlabels.pl and gallery.pl. 4)preferences.txt This file contains the number of samples and number of tags the user wants to create. 5)keys.txt This file contains AWS and Imagga keys. 6)setting.txt This file contains the information about the amazon instance. The user should give the instance id,region and the name of private key file. Note:Private key file should be located in the same directory with the scripts. Note:I did not remove my own keys or settings to give an example of format of the files.

gallery-scripting's People

Contributors

guneykan avatar

Watchers

 avatar

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.