在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jawadbappy/forgery_localization_HLED开源软件地址(OpenSource Url):https://github.com/jawadbappy/forgery_localization_HLED开源编程语言(OpenSource Language):C 64.8%开源软件介绍(OpenSource Introduction):Localization of Image ForgeriesThis project presents a framework to localize the image manipulation from an image. The network employs resampling features, Long-Short Term Memory (LSTM) cells, and encoder-decoder network in order to segment out manipulated regions from an image. DataWe create a large dataset by splicing different objects obtained from MS-COCO dataset into the images of DRESDEN benchmark. Please check "synthetic_data" folder for more details. ModelModel can be found in "./model" folder. Please note that the given model is obtained by finetuning the base model with NIST data. The base model is trained on synthesized data. Resampling FeaturesThe codes for extracting resampling features can be found on "Radon" folder. Please change the input and output directory for your own dataset. Following is the command to extract the resampling features.
In this code, the images are stored in hdf5 format. Please note that the package "pyfftw" are required to be installed before running the script. Please use the following command to install the package.
TrainFirst, the data needs to be prepared either hdf5 format or any other formats. The training code needs to be modified accordingly. In order to train the model, an image and a corresponding binary mask is required.
The model will be stored in the model path. TestWe provide 8 sample images which will be found on test_data folder in order to demonstrate the output of the network. Please use the following command.
The code will automatically generate the binary mask and the heat map of prediction score. Sample OutputsCitationPlease cite the following paper for reference.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论