MashPit -- Co-op Hackathon

  • This free trial of Professional Edition is limited to 3 users or less. Contact an admin about purchasing Professional Edition.

 

PhoTiger

Page history last edited by Chris Radcliff 2 yrs ago

The Problem

 

Nobody likes to type in information about their photos. That's why most of them are called IMG0008.JPG. How do you get information from other sources (online calendars, geolocation, plazes) to label the photos automatically?

 

The Team

 

TaraHunt

ChrisRadcliff

DanKurtz

BlytheDunham

DanChiao

Ryan

...add yourself if you were in Room 13 with us!

 

Our Solution

 

PhoTiger! Match up my photos with my events and cross-pollinate tags between them.

 

Screenshots and Mockups

 

 

 

 

 

Resources

 

Event Sites

 

  • Eventful
  • Upcoming
  • Zvents

 

Personal Calendars

 

  • Spongecell
  • Google Calendar
  • Trumba

 

Location Data

 

  • Plazes
  • Rrove

 

Photo Sites

 

  • Riya
  • Flickr

 

Assumptions for this revision

 

1) Photos are all online and taggable already.

 

2) Information comes from public events only (no logged-in users).

 

3) Shared information flows from events to photos:

 

  • what (event title)
  • where (geolocation tags)
  • when (date?)
  • other tags

 

General Flow

 

1) Ask for usernames/login info for each service.

2) Pull the most recent X events from the event/calendar services and display.

3) For the selected event, pull a likely set of photos based on start and end date (plus a bit of padding). Display the photos with controls for adding information from the event.

4) Update the photos with the selected information. Rinse. Repeat as needed.

 

 

API details

 

Riya REST API examples (w/ a test acct)

1) Authenticate (gives you an auth token for the acct)

 

http://www.riya.com/rest?api_key=47688f0d042c0abe&user_name=test1@riya.com&password=123456&method=riya.auth.GetToken

 

2) Date-range search on my photos (format is yyyy/mm/dd/hhmmss-yyyy/mm/dd/hhmmss)

 

http://www.riya.com/rest?api_key=47688f0d042c0abe&user_name=test1@riya.com&auth_token=222594b4f1ca0cb1&method=riya.photos.search.Search&bucket=my-photos&daterange=2006/4/3-2006/4/4

 

(forthcoming, next release)

 

add &show_tags=true to get the exif, tags, objects, faces, text for each photo in the result

 

3) Tag a photo

 

http://www.riya.com/rest?api_key=47688f0d042c0abe&user_name=test1@riya.com&auth_token=222594b4f1ca0cb1&method=riya.photos.tags.AddTag&image_id=9c6490374635e8135a48867d7fe237659f04857c&tag=123456

 

 

Eventful API examples (with test key)

 

1) List last 20 events user chris_radcliff attended, most recent first:

http://api.evdb.com/rest/events/search?app_key=test_key&keywords=going:chris_radcliff&date=Past&sort_order=date&sort_direction=descending&page_size=20

 

2) Get more details for an event:

http://api.evdb.com/rest/events/get?app_key=test_key&id=E0-001-000938553-2

 

 

Spongecell API examples (with WRITE API key)

 

User: mashpit13

Password: riventful

 

 

All events for user mashpit13:

REST: http://spongecell.com/api/rest/calendar/mashpit13?key=hc2a3HmHMYltxJFRp6Bmo8agvBPmmEDu

JSON:

http://spongecell.com/api/rest/calendar/mashpit13?key=hc2a3HmHMYltxJFRp6Bmo8agvBPmmEDu&format=json

 

Limit events to everything before yesterday:

REST: http://spongecell.com/api/rest/calendar/mashpit13?key=hc2a3HmHMYltxJFRp6Bmo8agvBPmmEDu&end_time=20060620

JSON:

http://spongecell.com/api/rest/calendar/mashpit13?key=hc2a3HmHMYltxJFRp6Bmo8agvBPmmEDu&end_time=20060620&format=json

 

Other parameters for limiting results, start time, etc:

API INFO: http://spongecell.com/api_info/api_method/calendar?type=rest

 

Mockups (and future home of site)

 

http://www.photiger.com

 

 

PhoTiger is a Summer of Rails project written in Ruby on Rails... mostly.

 

Subversion repository

 

http://svn.photiger.com/photiger/photiger/

user: mashpit

pw: mashpit

 

Anyone has read access, the login/pw is for read/write access. Please include your name in the commit log if you submit changes.

 

PhoTiger wins a major award!

 

A demo of PhoTiger won mumble-mumble place in the Best Mashup competition at Mashup Camp 2. The code used in the demo is available for download, but it ain't pretty. I'll try to put up a working version somewhere.

Comments (0)

You don't have permission to comment on this page.