All Projects → Scifabric → app-flickrperson

Scifabric / app-flickrperson

Licence: AGPL-3.0 License
PyBossa FlickrPerson Example App

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to app-flickrperson

pdftranscribe
A simple PDF transcription project for PyBossa
Stars: ✭ 19 (+46.15%)
Mutual labels:  pybossa-pbs, pybossa-server
ai-image-fill
Simple Adobe Illustrator Panel to generate placeholder image content from Flickr or Unsplash
Stars: ✭ 30 (+130.77%)
Mutual labels:  flickr
public-information-map-template-js
An ArcGIS Online mapping template to showcase social media on a map for disaster response and public information.
Stars: ✭ 66 (+407.69%)
Mutual labels:  flickr
photo-screen-saver
A Chrome Extension providing a screen saver with custom photo sources. Developed with Polymer Web Components
Stars: ✭ 20 (+53.85%)
Mutual labels:  flickr
backup-all-my-flickr-photos
Script to download all your Flickr photos and videos
Stars: ✭ 32 (+146.15%)
Mutual labels:  flickr
keyring-social-importers
A collection of importers which pull your content back from social networks, and into your own WordPress install.
Stars: ✭ 26 (+100%)
Mutual labels:  flickr
flickrsavr
A preservation experiment to save photos from Flickr to your disk with the metadata embedded.
Stars: ✭ 17 (+30.77%)
Mutual labels:  flickr
flickr to google photos migration
A tool for migrating your photo library from Flickr to Google Photos
Stars: ✭ 39 (+200%)
Mutual labels:  flickr
hosts
自动生成 Hosts 文件,科学上网
Stars: ✭ 30 (+130.77%)
Mutual labels:  flickr
flickr scraper
Simple Flickr Image Scraper
Stars: ✭ 148 (+1038.46%)
Mutual labels:  flickr
jekyll-flickr-photoset
A Jekyll plugin for embedding Flickr photosets
Stars: ✭ 40 (+207.69%)
Mutual labels:  flickr
flickr-uploader
Upload a directory of media to Flickr to use as a backup to your local storage
Stars: ✭ 38 (+192.31%)
Mutual labels:  flickr
flickr-photo-url
Download Flickr photos without API key.
Stars: ✭ 20 (+53.85%)
Mutual labels:  flickr
Gallery Dl
Command-line program to download image galleries and collections from several image hosting sites
Stars: ✭ 4,199 (+32200%)
Mutual labels:  flickr

Image Pattern Recognition Demo project for PyBossa

The aim of this demo project is to show how you can solve an image pattern recognition problem using PyBossa technology.

This demo uses Flickr as the backend for storing the photos, but you can use any other web server or service that gives you public access to the photos.

The project has five main files:

  • project.json: a JSON file that describes the project.
  • long_description.md: a Markdown file with a long description of the project.
  • get_images.py: to query Flickr and write a file with the photo links.
  • template.html: the task presenter where the user/volunteer will do the image pattern recognition.
  • tutorial.html: a simple tutorial that explains how to do the image pattern recognition.

alt screenshot

Testing the project

You need to install the pybossa-pbs. If you don't have a virtual environment, we recommend you to create one, and activate it:

    $ virtualenv env
    $ source env/bin/activate

Then, you can install pybossa-pbs:

    $ pip install pybossa-pbs

Or if you prefer:

    $ pip install -r requirements.txt

NOTE: Use this template with a PyBossa server version >=1.0.0.

Creating an account in a PyBossa server

Now that you've all the requirements installed in your system, you need a PyBossa account:

  • Create an account in your PyBossa server (use Crowdcrafting if you want).
  • Copy your API-KEY (you can find it in your profile page).

Configure pybossa-pbs command line

PyBossa-pbs command line tool can be configured with a config file in order to avoid typing the API-KEY and the server every time you want to take an action on your project. For this reason, we recommend you to actually create the config file. For creating the file, follow the next steps:

    $ cd ~
    $ editorofyourchoice .pybossa.cfg

That will create a file. Now paste the following:

[default]
server: http://yourpybossaserver.com
apikey: yourapikey

Save the file, and you are done! From now on, pybossa-pbs will always use the default section to run your commands.

Create the project

Now that we've everything in place, creating the project is as simple as running this command:

    $ pbs create_project

Adding some tasks

Now we can add some tasks. The project comes with two samples that you can use:

  • flickr_tasks.csv: a CSV file with some tasks
  • get_images.py: a script that will contact Flickr to create a JSON file with links to images

Using a CSV file for adding tasks

This is very simple too, thanks to pbs:

    $ pbs add_tasks --tasks-file flickr_tasks.csv

You'll get a progress bar with the tasks being uploaded. Now your project has some tasks in the server to be processed by the volunteers.

Using a JSON file for adding tasks

Instead of giving you a JSON file, we wanted to show you how you can use a web service like Flickr to query it and get the images that want to do image pattern recognition. For this reason, we've created the script get_images.py.

When you run this script, it will contact Flickr, get the last 20 published photos in the web services, get its links, and write a file in JSON format named: flickr_tasks.json. We'll use this file to add some extra tasks to our project:

    $ python get_images.py
    $ pbs add_tasks --tasks-file flickr_tasks.json

Again, as before, you will see a progess bar as the tasks are being added to your project. You can modify get_images.py to adapt it for your needs ;-)

Finally, add the task presenter, tutorial and long description

Now that we've some data to process, let's add to our project the required templates to show a better description of our project, to present the tasks to our users, and a small tutorial for the volunteers:

    $ pbs update_project

Done! Now you can do image pattern recognition problems in the PyBossa server.

NOTE: we provide templates also for Bootstrap v2 in case your PyBossa server is using Bootstrap2 instead of Bootstrap3. See the rest of the files.

Documentation

We recommend that you read the section: Build with PyBossa, follow the step by step tutorial and read the PyBossa pbs documentation.

NOTE: This project uses the pybossa-pbs library in order to simplify the development of the project and its usage. Check the documentation.

LICENSE

Copyright (C) 2015 SciFabric LTD

Please, see the COPYING file.

Acknowledgments

The thumbnail has been created using a photo from Sean McGrath (license CC BY 2.0).

Note: You can see the results of the Crowdcrafting app here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].