Need advice about which tool to choose?Ask the StackShare community!
OpenCV vs Ghostscript: What are the differences?
What is OpenCV? Open Source Computer Vision Library. OpenCV was designed for computational efficiency and with a strong focus on real-time applications. Written in optimized C/C++, the library can take advantage of multi-core processing. Enabled with OpenCL, it can take advantage of the hardware acceleration of the underlying heterogeneous compute platform.
What is Ghostscript? Interpreter for the PostScript language and for PDF. It is a suite of software based on an interpreter for Adobe Systems' PostScript and PDF page description languages. Its main purposes are the rasterization or rendering of such page description language files.
OpenCV and Ghostscript can be primarily classified as "Image Processing and Management" tools.
OpenCV is an open source tool with 39.2K GitHub stars and 29.3K GitHub forks. Here's a link to OpenCV's open source repository on GitHub.
Users are uploading huge PDF files of more than 100MB on our platform. We are creating several tools to manage those files, but keeping the raw file will eat up space, as we are handling several of them. After upload, they will be mainly keep stored for future use.
I am looking for a tool to compress and optimize those PDFs, like a library or an external API that can process that for us.
Thanks
You can store raw files on a cdn service like bunnyCdn. If they want to work with the raw files, you can get it from the cdn service. Compressing is not a persistent solution for space problem. Also it's more safe way, because cdn providers copy your files more than one servers..
Modern cdn solutions have ftp / ssh support so you can easily send files to them...
I have been using Ghostscript and Python to get JPEG images from PDF files and that way we have reduced PDF size. But if your average is 100MB then probably those are hi-res images and not sure if your users will accept a quality reduction.
Pros of Ghostscript
Pros of OpenCV
- Computer Vision36
- Open Source17
- Imaging12
- Face Detection9
- Machine Learning9
- Great community6
- Realtime Image Processing4
- Helping almost CV problem2
- Image Augmentation2