Build prototype of Java Image Processing function
$30-250 AUD
Paguhet në dorëzim
I'd like help building simple Java prototype of a function that can detect blobs of black pixels in black-and-white scanned images. This function is available in the freely available library OpenCV [login to view URL]
I'm picturing the algorithm being something like the pseudocode below:
import org.apache.pdfbox.*;
import org.opencv.core.*;
/**
* @param pdfFilename path to a PDF file that contains scanned page images.
* These page images should be easily retrievable with a call to Apache PDFbox
*
* @param jsonFileName path to a JSON file containing a list of *known* objects
* on the page -- it's a simple array of {page, x, y, width, height} objects. These
* objects should be filtered out from the object detection results
**/
void process(String pdfFilename, String jsonFilename) {
pdf = openAndRead(pdfFileName);
json - openAndRead(jsonFileName);
for each page "p" in pdf {
image = [login to view URL](p);
for each "box" array element in json {
// If the box refers to an object on this page, wipe that part of the image
if ([login to view URL] == p)
[login to view URL](page.x, page.y, page.w, page.h)
}
// image should now have all the json box areas deleted,
// leaving only stray marks on the page. Time to detect objects
detectedObjects = [login to view URL](image);
for each detected object "o" in detectedObjects {
[login to view URL](`Awesome! Found something on page ${p} at x=${o.x}, y=${o.y}, w=${w}, h=${h}`);
}
}
}
The code should load the PDF with Apache PDFbox, as we use this library elsewhere in our application and would like to avoid having redundant dependancies. The image processing could be done in OpenCV or your choice image processing SDK (as long as it has a decent license for commercial use and works :)! )
I'm happy to provide a few example input files to help you scope the work. If this ends up working reasonably well, there will potentially be an opportunity for additional paid work to refine it.
ID Projekti: #16691966
Rreth projektit
5 profesionistë freelancer dërguan një ofertë mesatare prej $435 për këtë punë
The perfect man for this job. I have 6 years’ experience with java, I did some project with matlab and opencv and I am sure I can do this project
Hi, I have core IT experience of 15 years and got the exposure to work on many domains throughout the globe. I have expert team of specific skill sets as mentioned below Core Skill sets: * Blockchain, Cryptocurrency Më shumë