Slashdot Mirror


Ask Slashdot: How To Catch Photoshop Plagiarism?

First time accepted submitter jemenake writes "A friend of mine teaches electronic media (Photoshop, Premiere, etc.) at a local high-school. Right now, they're doing Photoshop, and each chapter in the book starts with an 'end result' file which shows what they're going to construct in that chapter, and then, given the basic graphical assets (background textures, photos, etc.), the students need to duplicate the same look in the final-result file. The problem, of course, is that some students just grab the final-result file and rename it and turn it in. Some are a little less brazen and they rename a few layers, maybe alter the colors on a few images, etc. So, it becomes time-consuming for her to open each file alongside the final-result file to see if it's 'too perfect.'" How to look for images closer than they should be to the original? Read on for more details. jemenake continues: "When I first discovered that she was doing this, my first reaction was that there's got to be some automated way of catching the cheaters. Of course, my first idea of just doing MD5 hashes of each file won't work, since most kids alter the file a little bit.

A second idea I had was to alter the final-result file in a way that isn't obvious, like removing someone's shoelace, mis-spelling a word in the background, or removing/adding some dust-specks. (I know map publishers and music transcribers use this trick to catch copiers). But this still requires that she look for the alteration in each file. I'd think that Photoshop, after all these years, would have some kind of scripting language which also supports some digital watermarking, but I've just never dabbled in that realm.

And, of course, I guess another solution would be for her to not provide the end-result file in Photoshop format, but to export it as a flat image. But I'm still intrigued by the notion of being able to "fuzzily" compare two photoshop files or images to find the ones which are too similar in certain aspects (color histograms, where the edges are, level of noise, whatever).

Anybody else have any clever ideas for this?"

26 of 284 comments (clear)

  1. Invent your own exercises by Anonymous Coward · · Score: 5, Insightful

    That's what a teacher is supposed to do anyway.

    1. Re:Invent your own exercises by Z00L00K · · Score: 5, Insightful

      It's of course easy to invent your own exercises, but even better would be to have the students to use pictures they have taken themselves to be used in the exercise. And almost everyone has a mobile phone with a camera these days so that would be a minor problem. Or provide a collection of pictures that can be used in the exercise and let them play around.

      Just state the basic points, then let each student do what they can and let them rate each others results. Don't force the students to use the same template, let them have their artistic freedom.

      And isn't the whole point behind the exercise to learn how to use Photoshop and other tools - not to try to mimic a creation?

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    2. Re:Invent your own exercises by j-beda · · Score: 4, Insightful

      Or require students to also hand in the intermediate steps for the homework just like old school math.

      At the start of the course have a discussion about ethics and expectations. Have a class discussion of the purpose of the exercises. Have the class participate in designing the evaluation scheme (percentages for HW, tests, etc.) Get them to buy into the course so they view it as something they are participating in because they see value in their participation. Have them turn in some intermediate steps, and maybe some commentary on things they found challenging or interesting about the activities.

      Record transgressors and use the policies of your institution to at the very least get it into their institutional record if they commit any accredited dishonesty so that if they have a pattern of that type of behaviour they can be tracked.

    3. Re:Invent your own exercises by shawn(at)fsu · · Score: 3, Insightful

      There are some good problems that have been asked over and over again because they teach good lessons. My data structures professor started one of our assignments off with the following quote "More time has been spent on undergraduates recreating the Ackerman function than any other problem in computer science, and you all will be no different"

      Sure there are other problems that have double recursion but why try to find something new and different when a good problem already exists? Plus there is something unifying about it. If I meet someone who graduated years before me or years after and they also had to do the Ackerman function in some language maybe the same one I used it kind of give you something in common. I like that; a common thread the ties us all together.

      --
      500 dollar reward for tip(s) leading to the arrest of the person(s) who stole my sig.
    4. Re:Invent your own exercises by egranlund · · Score: 3, Insightful

      Newsflash: Students usually cheat because they DON'T have a strong grasp of the task.

      Not necessarily. There are many reasons that people cheat:
      1) They are lazy
      2) They "don't have the time"
      3) They think they're getting away with something

      In these cases they use "I don't know how to do it" as the excuse to just cheat, rather than expend the effort required to ask for clarification or practice further until they do grasp the task/concept that they are performing.

      For some reason in college (at least my college), people cheating is totally normal and students talk about it like it's no big deal. To me, there is no purpose going to college if you're not going to do any of the work that would teach you something.

    5. Re:Invent your own exercises by jarbrewer · · Score: 5, Insightful

      On the grading machine, keep the history window open. It's stored as part of the file. File history should give a very good idea if the student is resorting to shenanigans. Yes, a student could delete the file's history, but the teacher could require 'showing your work' through the history.

  2. She should know this if she's teaching photoshop by Anonymous Coward · · Score: 5, Interesting

    Paste images into the source image as new layers, adjust layer mode to "difference" and look for the similarities. Done.

  3. Final result should just be a flattened image? by Anonymous Coward · · Score: 4, Insightful

    Why not just flatten the final result into a simple image? The students can still see what the end result is supposed to look like, but they obviously can't just hand in that file.

  4. simple solution by wbr1 · · Score: 5, Informative

    distribute the final file as a watermarked png only. Require assignments to be turned in a multi layered psd files. Problem solved.

    --
    Silence is a state of mime.
    1. Re:simple solution by ColdWetDog · · Score: 3, Interesting

      This should work and would be trivial to do.

      If you want to spend more time on it, make sure that the student's copy of Photoshop is set to record history in the metadata.

      Then you can go through and look at every step they made. I do this on some images so I can figure out what the hell I did to get that effect three years later. It takes up little space - it's just text.

      But a more boring way to spend a day would be hard to create.

      --
      Faster! Faster! Faster would be better!
    2. Re:Simple Solution by Anonymous Coward · · Score: 3, Interesting

      "If they can't do it at the end, they will fail. If they didn't ask for help, tough. Treat them like adults. They will ether rise to it or learn what doesn't work."

      While that is a fair approach, I've found that I get much higher success rates in the end if I have some kind of feedback during the period they are working. If they don't *know* they're way off track, or don't *know* they aren't putting in enough effort, then, sure, they'll fail at the end like they should, but there will be some missed opportunities where honest and interested students would have increased their effort had they realized the course demanded more.

      Inevitably, there will be some students that are incorrigible. I can't do much for those. But a mid-term "reality check" evaluation worth, say, half as much as the final evaluation, is really useful. It also means that students who don't want to put in the required effort can bail out early (which means I don't have to waste my time with them the rest of the term either -- a win-win as far as I'm concerned).

  5. Instead by Sparticus789 · · Score: 3, Interesting

    She could also not show the students a picture of the final project. She could just give them a list like:

    1. Remove one set of shoelaces.
    2. Add a bird in the sky
    3. Add a portrait of Spock in the background.
    etc.

    --
    sudo make me a sandwich
    1. Re:Instead by Anne_Nonymous · · Score: 3, Funny

      More like:

      1. Remove the stretch marks
      2. Make the boobs bigger
      3. Get rid of that wart thing with the hair growing out of it.
      etc.

    2. Re:Instead by dmacleod808 · · Score: 4, Funny

      See this is where you went wrong. Ever project should ALWAYS include a portrait of Spock in the background, anything less is just not logical.

      --
      There Can Be Only One...
    3. Re:Instead by 93+Escort+Wagon · · Score: 4, Funny

      It certainly jazzed up our family reunion photo!

      --
      #DeleteChrome
  6. FindImageDupes by Ken_g6 · · Score: 5, Informative

    From the manpage:

    findimagedupes compares a list of files for visual similarity.

    To calculate an image fingerprint:

              1) Read image.
              2) Resample to 160x160 to standardize size.
              3) Grayscale by reducing saturation.
              4) Blur a lot to get rid of noise.
              5) Normalize to spread out intensity as much as possible.
              6) Equalize to make image as contrasty as possible.
              7) Resample again down to 16x16.
              8) Reduce to 1bpp.
              9) The fingerprint is this raw image data.

    To compare two images for similarity:

              1) Take fingerprint pairs and xor them.
              2) Compute the percentage of 1 bits in the result.
              3) If percentage exceeds threshold, declare files to be similar.

    Of course, you shouldn't take its suggestions at face value every time, but it should help narrow your search for cheats.

    --
    (T>t && O(n)--) == sqrt(666)
  7. Simple Solution by hubang · · Score: 4, Insightful

    The solution is simple:

    Give a token homework grade (like ~ 10%) for participating and make everything in the final grade else be based on original projects and tests. Make the students use given files.

    Then, if they cheat, they only cheat themselves.

  8. Ummmmm by cultiv8 · · Score: 5, Informative
    2 mins of googling and I found this: ComparePSD.

    ComparePSD compares two Adobe Photoshop PSD files for you and highlights the differences. Layer by layer. Effect by effect. Simple. And did we mention that ComparePSD is absolutely free?

    --
    sysadmins and parents of newborns get the same amount of sleep.
  9. MOD PARENT UP! - Re:Final result should just be by corychristison · · Score: 5, Insightful

    Why not just flatten the final result into a simple image? The students can still see what the end result is supposed to look like, but they obviously can't just hand in that file.

    Offer flat JPG in medium quality as an "end result". Maybe even include a digital metadata watermark?

    Require high quality JPEG and PSD for assignment. First check for metadata watermark, then compare quality of JPEG. If it looks too close then open up the PSD and check the layers.

  10. Re:history by ColdWetDog · · Score: 4, Informative

    Yep. PS does include a history function that can be written to the metadata. Bonus points for pulling out the metadata stream, running some regex on it and deciding if it was legit.

    Extra bonus points for not including the history in the image given to the students. And requiring it for a grade.

    --
    Faster! Faster! Faster would be better!
  11. Introduction to Time Lapse by mrbene · · Score: 3, Interesting

    It's probably annoying for all involved, but just like the "show your work" in math classes, you can request a "show your work" equivalent via screen-cast. And the students will learn a bit about screen-casting.

    Alternatively, request a picture of each step.

  12. She could try... by AliasMarlowe · · Score: 5, Informative

    Perceptual Image Diff and Find Image Dupes might be helpful. If she runs finddupes with a threshhold of .99 or so, then it is likely just trigger on nearly exact copies. At least, it should narrow down the ones she has to inspect in more detail. On the other hand, pdiff will detect exact or nearly exact copies by specifying how many pixels are allowed to differ (so it can be fooled by addition of random noise). While pdiff is available for Windows as well as Linux, it seems that finddupes is Linux only.

    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  13. Change the assignment by Mr.+Freeman · · Score: 3, Insightful

    For one thing, you can prevent plagiarism by not asking students for plagiarism. You're giving students a file and then asking them to duplicate it. That's pretty much the definition of plagiarism and, frankly, probably of very little educational benefit.

    The teacher needs to stop trying to figure out ways to catch people cheating on an exercise designed for cheating and start teaching the damn course. Teaching doesn't just mean lecturing and assigning exercises out of some book, it means developing exercises, homework problems, and exams from scratch as well.

    --
    -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
  14. Why does this sound like a stock image supplier? by tlambert · · Score: 4, Interesting

    Why does this sound like a stock image supplier trying to find machine-modified infringing images using a web crawler so that they can bludgeon the people publishing the modified images, who have not paid a license fee, with a copyright infringement lawsuit?

    I'm just saying, a good answer to the OP's question is going to mean the ability to use the answer in this fashion.

  15. Re:Difference layer effect is even easier, by gumbi+west · · Score: 3, Funny

    "It's fun to do this with NASA photos of the moon, some of them have lens flares added from photoshop. :) (you can recreate some the lensflares pixel perfect...)"

    Not at all, those are the files photoshop's lens flare is based on.

  16. Throw out the cookie cutter by tverbeek · · Score: 4, Interesting

    Let them use their own base images! And then let them do something creative with them!

    One of the least interesting and least creative classes I took in art school was one that was about producing photorealistic oil paintings based on photographs. The class was 99% about mechanical technique, and to hell with creativity... which seems to be the theme of the class being taught here. So be it. But at least the instructor let us pick our own photographs to replicate! So we'd have an interest in what we were doing. And even if he had never checked on our progress along he way (like would happen in any worthwhile "learn how to ____" class), he would know whether we had done the work, because each of our paintings was a) unique, and b) matched the photograph we'd had approved at the start of the assignment. Plagiarism wasn't even a question, and not just because we were working in traditional physical media.

    All of these suggestions for how to identify plagiarism through technological measures are missing the point. The problem isn't "how to catch a cheat", but "how to give students an assignment that they will have a reason to bother doing in the first place".

    --
    http://alternatives.rzero.com/