GithubHelp home page GithubHelp logo

Comments (8)

jeremybmerrill avatar jeremybmerrill commented on September 18, 2024

any interest, @imalsogreg ?

from facebook-political-ads.

jeremybmerrill avatar jeremybmerrill commented on September 18, 2024

Since my understanding is that these perceptual hash algorithms are primarily architected in Python, this could either happen as part of the classifier classify step in Python in this repo, or in a similar, but new, separate script that's also run on a frequent cron.

from facebook-political-ads.

imalsogreg avatar imalsogreg commented on September 18, 2024

That sounds like a lot of fun :) Let me see if I can get a proof of concept up.

from facebook-political-ads.

jeremybmerrill avatar jeremybmerrill commented on September 18, 2024

Awesome, holler if you have Qs or if there's anything I can help with.

from facebook-political-ads.

yinleon avatar yinleon commented on September 18, 2024

Hi, I just stumbled on this.

I have experience making reverse image search engines using features extracted from pre-trained neural networks, and then calculating distance using KNN. There's some more info (code, presentation, video) in this repo:
https://github.com/yinleon/pydata2017

Let me know if this method sounds interesting for this project
(sorry for the shameless self-promotion).

from facebook-political-ads.

jeremybmerrill avatar jeremybmerrill commented on September 18, 2024

Hi @yinleon, that sounds amazing. In my response to your other comment, I posted a link to download the entire dataset of US political ads.

This sounds potentially really promising. Are the extracted features interpretable (e.g. "this one has a picture of Nancy Pelosi")? Can you describe how well it works identifying nearly-identical images versus more heavily modified or cropped images? What about images with text overlays, like memes?

I'm not super familiar with Keras. Would it be possible for me or a colleague to test your implementation on an ordinary MacBook Pro? Or is it easier to set it up on a GPU-enabled AWS instance?

I really appreciate your taking the time to share about your research. You're of course welcome to download and check out our data and I'd love if we could find a way to work together. Happy to talk more about my qualitative observations of the ad images, if that'd be helpful.

from facebook-political-ads.

yinleon avatar yinleon commented on September 18, 2024

@jeremybmerrill I sent you an email to talk in depth about this.

from facebook-political-ads.

imalsogreg avatar imalsogreg commented on September 18, 2024

This sounds awesome!

Pre-trained ResNet probably has lots of features that are relevant for general image search (common objects, body parts), and lacks some that would specifically help categorize political ads (Nancy Pelosi neurons, e.g.). I wonder how hard it would be to retrain ResNet with lots of extra labeled examples, with those labels drawn from politically relevant topics. Your google image scraper could be useful there?

I'd always assumed image classifiers would be terrible for image search, but from your video, apparently it can work great, when you don't throw away all features but the strongest one :P Cool result with KNN search.

from facebook-political-ads.

Related Issues (20)

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.