Fake (Photoshopped) Image Detection using Machine Learning

Fake Image Detection using machine learning is a neural network based project written in Java with JavaFX that helps to identify tampered / faked / photoshopped images.

The objective of this project is to identify fake images(Fake images are the images that are digitally altered images). The problem with existing fake image detection system is that they can be used detect only specific tampering methods like splicing, coloring etc. We approached the problem using machine learning and neural network to detect almost all kinds of tampering on images.

Using latest image editing softwares, it is possible to make alterations on image which are too difficult for human eye to detect. Even with a complex neural network, it is not possible to determine whether an image is fake or not without identifying a common factor across almost all fake images. So, instead of giving direct raw pixels to the neural network, we gave error level analysis image.

Fake image detection projects introduces two different levels of analysis for the image. At first level, it checks the image metadata. Image metadata is not that much reliable since it can be altered using simple programs. But most of the images we come across will have non-altered metadata which helps to identify the alterations. For example, if an image is edited with Adobe Photoshop, the metadata will contain even the version of the Adobe Photoshop used.

Working

A multilayer perceptron neural network is used having one input layer, 3 hidden layers and 1 output layer. Once the image is selected for evaluation, it is converted to ELA representation from Compression and Error Level Analysis stage. 100%, 90% images are used for the construction of ELA image.

Once ELA is calculated, the image is preprocessed to convert into 100x100px width and height. After preprocessing, the image is serialized in to an array. The array contains 30,000 integer values representing 10,000 pixels. Since each pixel has red, green and blue components, 10,000 pixels will have 30,000 values.

During training, the array is given as input to the multilayer perceptron network and output neurons also set. The MLP is a fully connected neural network. There are 2 output neurons. First neuron is for representing fake and the second one for real image. If the given image is fake one, then the fake neuron is set to one and real is set to zero. Else fake is set to zero and real set to one.

We have used momentum backpropagation learning rule adjust the neuron connection weights. It is a supervised learning rule that tries to minimize the error function. The chosen learning rate and momentum along with achieved efficiency is given in Table 3.

During testing, the image array is fed into the input neurons and values of output neurons are taken. We have used sigmoid activation function.

View project in my GitHub repo

Comments

52 responses to “Fake (Photoshopped) Image Detection using Machine Learning”

  1. … [Trackback]

    […] Read More Information here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  2. … [Trackback]

    […] Information on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  3. … [Trackback]

    […] Read More on to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  4. … [Trackback]

    […] Read More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  5. … [Trackback]

    […] There you can find 21476 additional Info on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  6. … [Trackback]

    […] Read More on to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  7. … [Trackback]

    […] Read More on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  8. … [Trackback]

    […] Info to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  9. … [Trackback]

    […] Find More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  10. … [Trackback]

    […] Information to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  11. … [Trackback]

    […] There you will find 46835 more Information to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  12. … [Trackback]

    […] Find More Information here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  13. … [Trackback]

    […] Information to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  14. … [Trackback]

    […] Find More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  15. … [Trackback]

    […] Find More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  16. … [Trackback]

    […] Find More on to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  17. … [Trackback]

    […] Information to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  18. … [Trackback]

    […] Read More on to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  19. … [Trackback]

    […] Information to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  20. … [Trackback]

    […] Read More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  21. … [Trackback]

    […] Here you can find 77277 more Info to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  22. … [Trackback]

    […] Read More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  23. … [Trackback]

    […] Read More Information here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  24. … [Trackback]

    […] Find More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  25. … [Trackback]

    […] Find More here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  26. … [Trackback]

    […] Read More to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  27. … [Trackback]

    […] Read More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  28. … [Trackback]

    […] Information on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  29. … [Trackback]

    […] Read More here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  30. … [Trackback]

    […] Info on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  31. … [Trackback]

    […] Read More Information here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  32. … [Trackback]

    […] Read More to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  33. … [Trackback]

    […] Find More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  34. … [Trackback]

    […] Read More Info here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  35. … [Trackback]

    […] Find More on on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  36. … [Trackback]

    […] Info on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  37. … [Trackback]

    […] Read More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  38. … [Trackback]

    […] Read More Info here to that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  39. … [Trackback]

    […] Read More here on that Topic: genuinecoder.com/fake-photoshopped-image-detection-using-machine-learning/ […]

  40. 180 androxal delivered on saturday

    androxal without a prescription or doctor

  41. enclomiphene australia do need prescription

    get enclomiphene cost of tablet

  42. discount rifaximin price dubai

    rifaximin generico

  43. cheap xifaxan cheap new zealand

    ordering xifaxan price usa

  44. cheapest buy staxyn uk over the counter

    staxyn with overnight fedex

  45. how to buy avodart uk cheapest

    purchase avodart purchase online safely

  46. get dutasteride buy mastercard

    can i get dutasteride without prescription

  47. cheap flexeril cyclobenzaprine canada discount

    get flexeril cyclobenzaprine generic in usa

  48. buy gabapentin overnight fedex

    buy cheap gabapentin cheap generic uk

  49. cheap fildena uk how to get

    buy cheap fildena cheap online canada

  50. purchase itraconazole australia discount

    cheapest buy itraconazole cost at walmart

  51. online lテゥkテ。rna bez pナ册dpisu kamagra

    kamagra s doruト稿nテュm v sobotu

  52. générique kamagra pharmacie canadienne

    moins cher kamagra en ligne sans ordonnance

Leave a Reply