dorianprill / CBIRjpg

Comparative study on Content-Based Image Retrieval from compressed images using different compression algorithms and content concepts. Compression: [jpeg, jpeg2000, jpegXR] Content: [SIFT, ...]
GNU General Public License v3.0
0 stars 0 forks source link

Query about the compression algorithm. #1

Open prakharg4598 opened 6 years ago

prakharg4598 commented 6 years ago

I tried running this code and it showed some error, it would be great if you could help with running this project.And I really can't figure out the code where compression algorithm takes place.

motteneder commented 6 years ago

Hi, what did you try and what error did you get? Please specifiy your version of python etc.

prakharg4598 commented 6 years ago

ERROR: usage: doEverything.py [-h] preset resultFile doEverything.py: error: the following arguments are required: preset, resultFile

Python:3.5.2. I copied all the files to the system and tried running doEverything.py but this error came along. And secondly I have been looking for compression algorithm and i cant find,so you mind helping me with compression algorithms of JPEG,JPEG2000,JPEGXR. That would be really great . Thank you

motteneder commented 6 years ago

You have to specify a preset and a resultFile. The available presets are in the preset directory. try the "quick" preset first because the other ones will take a long time. So you run it like "doEverything.py quick myQuickResults.txt". It will then probably fail due to some missing dependencies. Check out the readme to learn more about the required dependencies. I do not really understand your question about the copmression algorithms. They are not implemented here. We just already existing software to perform the compression (see compress.py). PS: Implementing them would be non-trivial.