diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 7fc3d6d..148b6ea 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -3,7 +3,7 @@ execSync = require('exec-sync') test_path = './test_set/' #test_sets = ['Text', 'NonText'] -test_sets = ['Grid_full', 'Grid_rescaled'] +test_sets = ['good', 'bad'] module.exports = -> grunt = @ @@ -96,13 +96,15 @@ module.exports = -> imgs = fs.readdirSync dir for img in imgs - unless /filtered|threshold|contours|saliency|DS_Store/.test img + unless /filtered|threshold|contours|saliency|histogram_saliency|DS_Store/.test img img = img.replace /\s/g, '\\ ' abspath = dir + '/' + img console.log ' ' + abspath - execSync './build/Release/saliency ' + abspath + output = execSync './build/Release/saliency ' + abspath console.log ' ' + abspath + ' finished.' - data[set].push abspath + data[set].push + image: abspath + measurement: JSON.parse output grunt.file.write './test_set_app/data.js', 'window.DATA = {sets:' + JSON.stringify(data, 1, 1) + '};' diff --git a/saliency.cpp b/saliency.cpp index bcb6929..ab27f4c 100644 --- a/saliency.cpp +++ b/saliency.cpp @@ -1,5 +1,5 @@ /* saliency.cpp - Saliency heuristics - * (c) 2014 The Grid + * (c) 2014-2015 The Grid * */ @@ -17,12 +17,30 @@ using namespace std; RNG rng(12345); +Mat DrawHistogram(Mat gray) { + int histSize = 256; // bin size + float range[] = { 0, 255 }; + const float *ranges[] = { range }; + MatND hist; + + calcHist( &gray, 1, 0, Mat(), hist, 1, &histSize, ranges, true, false ); + + int hist_w = 512; int hist_h = 400; + int bin_w = cvRound( (double) hist_w/histSize ); + + Mat histImage( hist_h, hist_w, CV_8UC1, Scalar( 0,0,0) ); + normalize(hist, hist, 0, histImage.rows, NORM_MINMAX, -1, Mat() ); + + for( int i = 1; i < histSize; i++){ + line( histImage, Point( bin_w*(i-1), hist_h - cvRound(hist.at(i-1)) ) , + Point( bin_w*(i), hist_h - cvRound(hist.at(i)) ), + Scalar( 255, 0, 0), 2, 8, 0 ); + } + return histImage; +} + static void display_help(string program_name) { - cerr << "Usage: " << program_name << " " - //<< "Options:\n" - //<< "\t-h,--help\t\tShow this help message\n" - //<< "\t-s,--saliencymap\tWrite the saliency map to an image file\n" - << endl; + cerr << "Usage: " << program_name << " " << endl; } int main(int argc, char *argv[]) { @@ -51,18 +69,32 @@ int main(int argc, char *argv[]) { Mat saliency_gray = saliency_map * 255; Mat most_salient; - // Static threshold: - // Mat fg; - // int threshold_value = 254; - // fg = saliency_gray >= threshold_value; - // #ifdef DEBUG - // sprintf(file_path, "%s_fg.png", original_image_path); - // imwrite(file_path, fg); - // #endif - GaussianBlur(saliency_gray, saliency_gray, Size(1,1), 0, 0); + #ifdef DEBUG + Mat histin = DrawHistogram(saliency_gray); + sprintf(file_path, "%s_histogram_saliency.png", original_image_path); + imwrite(file_path, histin); + #endif + + // Calculate confidence based on homogeneity of saliency map's histogram + Mat hist; + int histSize = 256; + float range[] = { 0, 256 } ; + const float* histRange = { range }; + calcHist(&saliency_gray, 1, 0, Mat(), hist, 1, &histSize, &histRange, true, false); + hist /= original_image.size().height*original_image.size().width; + Mat logP; + cv::log(hist,logP); + // Inverse normalized entropy + float entropy = -1*sum(hist.mul(logP)).val[0]; + entropy = entropy/log(256); // normalize + entropy = 1.0 - entropy; // inverse + + // Blur and binary threshold saliency map based on OTSU saliency_gray.convertTo(saliency_gray, CV_8U); // threshold needs an int Mat - //adaptiveThreshold(saliency_gray, most_salient, 255, ADAPTIVE_THRESH_MEAN_C, THRESH_BINARY, 3, 0); - threshold(saliency_gray, most_salient, 0, 255, THRESH_BINARY | THRESH_OTSU); + Mat blur; + bilateralFilter(saliency_gray, blur, 12, 24, 6); + // GaussianBlur(saliency_gray, blur, Size(5,5), 0); + threshold(blur, most_salient, 0, 255, THRESH_BINARY + THRESH_OTSU); #ifdef DEBUG sprintf(file_path, "%s_threshold.png", original_image_path); imwrite(file_path, most_salient); @@ -70,6 +102,7 @@ int main(int argc, char *argv[]) { // Eliminate small regions (Mat() == default 3x3 kernel) Mat filtered; + //filtered = most_salient; // Another option is to use dilate/erode/dilate: // dilate(most_salient, filtered, Mat(), Point(-1, -1), 2, 1, 1); // erode(filtered, filtered, Mat(), Point(-1, -1), 4, 1, 1); @@ -117,16 +150,16 @@ int main(int argc, char *argv[]) { } // Find the biggest area of all contours - // int big_id = 0; - // double big_area = 0; - // for (size_t i = 0, max = contours.size(); i < max; ++i) { - // // Contour area - // double area = contourArea(contours[i]); - // if (area > big_area) { - // big_id = i; - // big_area = area; - // } - // } + int big_id = 0; + double big_area = 0; + for (size_t i = 0, max = contours.size(); i < max; ++i) { + // Contour area + double area = contourArea(contours[i]); + if (area > big_area) { + big_id = i; + big_area = area; + } + } // Group all bounding rects into one, good for superimposition elimination // Vector allRect = boundRect; @@ -152,14 +185,9 @@ int main(int argc, char *argv[]) { xmax = xmaxB; if (ymaxB > ymax) ymax = ymaxB; - // cout << j << endl; - // cout << boundRect[j].tl() << endl; - // cout << boundRect[j].br() << endl; } - // cout << xmin << "," << ymin << endl; - // cout << xmax << "," << ymax << endl; Rect bigRect = Rect(xmin, ymin, xmax-xmin, ymax-ymin); - //int i = big_id; + #ifdef DEBUG // Draw polygonal contour + bonding rects + circles Mat drawing = Mat::zeros( filtered.size(), CV_8UC3 ); @@ -192,23 +220,44 @@ int main(int argc, char *argv[]) { #endif // Serialize as stringified JSON - // TODO: Use jsoncpp instead? Not using now to avoid one more dependency cout << "{\"saliency\": "; - cout << "{\"outmost_rect\": [" << bigRect.tl() << ", " << bigRect.br() << "],"; + float x = bigRect.tl().x; + float y = bigRect.tl().y; + float w = abs(x-bigRect.br().x); + float h = abs(y-bigRect.br().y); + + cout << "{\"bounding_rect\": [" << bigRect.tl() << ", " << bigRect.br() << "],"; + cout << "\"bbox\": {\"x\": " < for i in [0...calculated.length] - diffX = Math.abs(calculated[i][0] - expected[i][0]) - diffY = Math.abs(calculated[i][1] - expected[i][1]) - chai.expect(diffX).to.be.at.most threshold - chai.expect(diffY).to.be.at.most threshold + chai.expect(calculated[i][0]).to.be.closeTo expected[i][0], threshold + chai.expect(calculated[i][1]).to.be.closeTo expected[i][1], threshold describe 'GetSaliency component', -> @@ -34,6 +32,7 @@ describe 'GetSaliency component', -> chai.expect(c.outPorts.out).to.be.an 'object' describe 'with file system image', -> + previous = null it 'should extract a valid saliency profile', (done) -> @timeout 10000 id = 1 @@ -45,15 +44,62 @@ describe 'GetSaliency component', -> out.once 'data', (res) -> chai.expect(groups).to.eql [1] chai.expect(res).to.be.an 'object' - saliency = res.saliency - outmost_rect = saliency.outmost_rect - regions = saliency.regions + {saliency} = res + previous = saliency + {bounding_rect, polygon, radius, center, bbox, confidence, regions} = saliency - expected = [[510,1],[456,59],[417,109],[396,111],[367,133],[352,138],[341,135],[331,125],[318,102],[294,75],[266,57],[231,45],[209,46],[196,52],[193,57],[217,65],[230,83],[226,103],[189,139],[189,165],[198,180],[197,191],[158,237],[135,244],[120,260],[108,261],[69,307],[63,324],[65,349],[60,358],[65,367],[66,466],[61,510],[172,510],[173,495],[183,483],[199,479],[215,484],[221,479],[224,468],[234,458],[242,428],[251,417],[302,414],[305,406],[317,397],[334,399],[351,415],[367,455],[380,410],[374,400],[375,358],[410,243],[447,158],[481,107],[484,82],[493,74],[510,72]] - validateWithThreshold chai, regions[0].polygon, expected, 15 - # chai.expect(saliency.center).to.be.eql [285, 255] - # chai.expect(Math.round(saliency.radius)).to.be.equal 350 - # chai.expect(saliency.bounding_rect).to.be.eql [[60, 1], [511, 511]] + # Check if every field exists and have the right types + chai.expect(bounding_rect).to.exists + chai.expect(bounding_rect).to.be.an 'array' + chai.expect(polygon).to.exists + chai.expect(polygon).to.be.an 'array' + chai.expect(radius).to.exists + chai.expect(radius).to.be.a 'number' + chai.expect(center).to.exists + chai.expect(center).to.be.an 'array' + chai.expect(bbox).to.exists + chai.expect(bbox).to.be.an 'object' + chai.expect(confidence).to.exists + chai.expect(confidence).to.be.a 'number' + chai.expect(regions).to.exists + chai.expect(regions).to.be.an 'array' + chai.expect(regions[0]).to.exists + chai.expect(regions[0]).to.be.an 'object' + chai.expect(regions[0].bbox).to.exists + chai.expect(regions[0].bbox).to.be.an 'object' + chai.expect(regions[0].bbox.x).to.be.a 'number' + chai.expect(regions[0].bbox.y).to.be.a 'number' + chai.expect(regions[0].bbox.width).to.be.a 'number' + chai.expect(regions[0].bbox.height).to.be.a 'number' + chai.expect(regions[0].center).to.exists + chai.expect(regions[0].center).to.be.an 'object' + chai.expect(regions[0].center.x).to.be.a 'number' + chai.expect(regions[0].center.y).to.be.a 'number' + chai.expect(regions[0].radius).to.exists + chai.expect(regions[0].radius).to.be.a 'number' + chai.expect(regions[0].polygon).to.exists + chai.expect(regions[0].polygon).to.be.an 'array' + chai.expect(regions[0].polygon[0]).to.exists + chai.expect(regions[0].polygon[0]).to.be.an 'object' + chai.expect(regions[0].polygon[0].x).to.be.a 'number' + chai.expect(regions[0].polygon[0].y).to.be.a 'number' + + expected = [[60, 1], [511, 511]] + chai.expect(bounding_rect).to.be.deep.equal expected + chai.expect(polygon).to.be.an 'array' + chai.expect(polygon.length).to.be.gt 0 + chai.expect(radius).to.be.closeTo 350, 2 + expected = [285, 255] + chai.expect(center).to.be.deep.equal expected + expected = + x: 60 + y: 1 + width: 451 + height: 510 + chai.expect(bbox).to.be.deep.equal expected + chai.expect(confidence).to.be.lte 0.30 + chai.expect(regions).to.be.an 'array' + chai.expect(regions.length).to.be.gt 0 done() inSrc = 'lenna.png' @@ -62,8 +108,8 @@ describe 'GetSaliency component', -> inImage.send image inImage.endGroup() - it 'should extract saliency with two images in a row', (done) -> - @timeout 10000 + it 'should extract a different saliency for a different image', (done) -> + @timeout 20000 id = 2 groups = [] out.once 'begingroup', (group) -> @@ -73,14 +119,8 @@ describe 'GetSaliency component', -> out.once 'data', (res) -> chai.expect(groups).to.eql [2] chai.expect(res).to.be.an 'object' - saliency = res.saliency - outmost_rect = saliency.outmost_rect - regions = saliency.regions - expected = [[77,74],[83,92],[103,123],[100,139],[84,150],[77,166],[95,198],[103,198],[106,188],[124,172],[124,160],[107,132],[107,101],[112,92],[98,89]] - validateWithThreshold chai, regions[0].polygon, expected, 15 - # chai.expect(saliency.center).to.be.eql [96, 136] - # chai.expect(Math.round(saliency.radius)).to.be.equal 67 - # chai.expect(saliency.bounding_rect).to.be.eql [[77, 74], [125, 199]] + {saliency} = res + chai.expect(saliency).to.be.not.deep.equal previous done() inSrc = 'lenin.jpg' diff --git a/spec/GetSaliency.js b/spec/GetSaliency.js index ffb5ead..9fff4af 100644 --- a/spec/GetSaliency.js +++ b/spec/GetSaliency.js @@ -14,13 +14,11 @@ if (!noflo.isBrowser()) { } validateWithThreshold = function(chai, calculated, expected, threshold) { - var diffX, diffY, i, _i, _ref, _results; + var i, _i, _ref, _results; _results = []; for (i = _i = 0, _ref = calculated.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) { - diffX = Math.abs(calculated[i][0] - expected[i][0]); - diffY = Math.abs(calculated[i][1] - expected[i][1]); - chai.expect(diffX).to.be.at.most(threshold); - _results.push(chai.expect(diffY).to.be.at.most(threshold)); + chai.expect(calculated[i][0]).to.be.closeTo(expected[i][0], threshold); + _results.push(chai.expect(calculated[i][1]).to.be.closeTo(expected[i][1], threshold)); } return _results; }; @@ -45,7 +43,9 @@ describe('GetSaliency component', function() { return chai.expect(c.outPorts.out).to.be.an('object'); }); }); - return describe('with file system image', function() { + describe('with file system image', function() { + var previous; + previous = null; it('should extract a valid saliency profile', function(done) { var groups, id, inSrc; this.timeout(10000); @@ -58,12 +58,63 @@ describe('GetSaliency component', function() { return groups.pop(); }); out.once('data', function(res) { - var expected, saliency; + var bbox, bounding_rect, center, confidence, expected, polygon, radius, regions, saliency; chai.expect(groups).to.eql([1]); chai.expect(res).to.be.an('object'); saliency = res.saliency; - expected = [[510, 1], [494, 1], [494, 21], [456, 59], [418, 111], [396, 111], [374, 128], [333, 128], [318, 102], [294, 75], [256, 52], [231, 45], [209, 46], [196, 52], [193, 57], [217, 63], [221, 68], [221, 109], [189, 139], [191, 206], [180, 208], [178, 222], [167, 225], [161, 238], [131, 247], [130, 261], [108, 261], [108, 267], [92, 277], [92, 289], [79, 294], [79, 302], [69, 307], [63, 324], [60, 358], [65, 469], [61, 510], [173, 510], [174, 484], [215, 484], [221, 479], [221, 461], [233, 460], [241, 441], [243, 418], [252, 415], [302, 414], [304, 407], [344, 407], [360, 431], [367, 455], [370, 433], [377, 431], [380, 410], [375, 409], [375, 351], [381, 348], [419, 218], [451, 150], [481, 107], [481, 77], [484, 73], [510, 73]]; - validateWithThreshold(chai, saliency.polygon, expected, 1.5); + previous = saliency; + bounding_rect = saliency.bounding_rect, polygon = saliency.polygon, radius = saliency.radius, center = saliency.center, bbox = saliency.bbox, confidence = saliency.confidence, regions = saliency.regions; + chai.expect(bounding_rect).to.exists; + chai.expect(bounding_rect).to.be.an('array'); + chai.expect(polygon).to.exists; + chai.expect(polygon).to.be.an('array'); + chai.expect(radius).to.exists; + chai.expect(radius).to.be.a('number'); + chai.expect(center).to.exists; + chai.expect(center).to.be.an('array'); + chai.expect(bbox).to.exists; + chai.expect(bbox).to.be.an('object'); + chai.expect(confidence).to.exists; + chai.expect(confidence).to.be.a('number'); + chai.expect(regions).to.exists; + chai.expect(regions).to.be.an('array'); + chai.expect(regions[0]).to.exists; + chai.expect(regions[0]).to.be.an('object'); + chai.expect(regions[0].bbox).to.exists; + chai.expect(regions[0].bbox).to.be.an('object'); + chai.expect(regions[0].bbox.x).to.be.a('number'); + chai.expect(regions[0].bbox.y).to.be.a('number'); + chai.expect(regions[0].bbox.width).to.be.a('number'); + chai.expect(regions[0].bbox.height).to.be.a('number'); + chai.expect(regions[0].center).to.exists; + chai.expect(regions[0].center).to.be.an('object'); + chai.expect(regions[0].center.x).to.be.a('number'); + chai.expect(regions[0].center.y).to.be.a('number'); + chai.expect(regions[0].radius).to.exists; + chai.expect(regions[0].radius).to.be.a('number'); + chai.expect(regions[0].polygon).to.exists; + chai.expect(regions[0].polygon).to.be.an('array'); + chai.expect(regions[0].polygon[0]).to.exists; + chai.expect(regions[0].polygon[0]).to.be.an('object'); + chai.expect(regions[0].polygon[0].x).to.be.a('number'); + chai.expect(regions[0].polygon[0].y).to.be.a('number'); + expected = [[60, 1], [511, 511]]; + chai.expect(bounding_rect).to.be.deep.equal(expected); + chai.expect(polygon).to.be.an('array'); + chai.expect(polygon.length).to.be.gt(0); + chai.expect(radius).to.be.closeTo(350, 2); + expected = [285, 255]; + chai.expect(center).to.be.deep.equal(expected); + expected = { + x: 60, + y: 1, + width: 451, + height: 510 + }; + chai.expect(bbox).to.be.deep.equal(expected); + chai.expect(confidence).to.be.lte(0.30); + chai.expect(regions).to.be.an('array'); + chai.expect(regions.length).to.be.gt(0); return done(); }); inSrc = 'lenna.png'; @@ -73,9 +124,9 @@ describe('GetSaliency component', function() { return inImage.endGroup(); }); }); - return it('should extract saliency with two images in a row', function(done) { + return it('should extract a different saliency for a different image', function(done) { var groups, id, inSrc; - this.timeout(10000); + this.timeout(20000); id = 2; groups = []; out.once('begingroup', function(group) { @@ -85,12 +136,11 @@ describe('GetSaliency component', function() { return groups.pop(); }); out.once('data', function(res) { - var expected, saliency; + var saliency; chai.expect(groups).to.eql([2]); chai.expect(res).to.be.an('object'); saliency = res.saliency; - expected = [[77, 74], [93, 107], [93, 147], [84, 150], [77, 166], [84, 179], [84, 198], [116, 198], [116, 179], [124, 172], [124, 160], [116, 145], [108, 142], [108, 93], [112, 92], [102, 92]]; - validateWithThreshold(chai, saliency.polygon, expected, 1.5); + chai.expect(saliency).to.be.not.deep.equal(previous); return done(); }); inSrc = 'lenin.jpg'; @@ -101,4 +151,26 @@ describe('GetSaliency component', function() { }); }); }); + return describe('when passed a big image', function() { + var input; + input = 'alan-kay.png'; + return it('should extract the salient region in a reasonable time', function(done) { + this.timeout(10000); + if (console.timeEnd) { + console.time('big image'); + } + out.once("data", function(res) { + if (console.timeEnd) { + console.timeEnd('big image'); + } + chai.expect(res).to.be.an('object'); + return done(); + }); + return testutils.getCanvasWithImageNoShift(input, function(canvas) { + inImage.beginGroup(3); + inImage.send(canvas); + return inImage.endGroup(); + }); + }); + }); }); diff --git a/spec/fixtures/lenna.png_contours.png b/spec/fixtures/lenna.png_contours.png new file mode 100644 index 0000000..911c350 Binary files /dev/null and b/spec/fixtures/lenna.png_contours.png differ diff --git a/spec/fixtures/lenna.png_filtered.png b/spec/fixtures/lenna.png_filtered.png new file mode 100644 index 0000000..421d7e2 Binary files /dev/null and b/spec/fixtures/lenna.png_filtered.png differ diff --git a/spec/fixtures/lenna.png_histogram_saliency.png b/spec/fixtures/lenna.png_histogram_saliency.png new file mode 100644 index 0000000..e02fb05 Binary files /dev/null and b/spec/fixtures/lenna.png_histogram_saliency.png differ diff --git a/spec/fixtures/lenna.png_threshold.png b/spec/fixtures/lenna.png_threshold.png new file mode 100644 index 0000000..6aff33f Binary files /dev/null and b/spec/fixtures/lenna.png_threshold.png differ diff --git a/spec/gmr-saliency.coffee b/spec/gmr-saliency.coffee index c047b1a..2e0b70f 100644 --- a/spec/gmr-saliency.coffee +++ b/spec/gmr-saliency.coffee @@ -24,10 +24,56 @@ describe 'Saliency (C++)', -> it 'should extract a valid saliency profile', -> obj = JSON.parse out - saliency = obj.saliency - regions = saliency.regions + {saliency} = obj + {bounding_rect, polygon, radius, center, bbox, confidence, regions} = saliency - chai.expect(regions[0].polygon).to.be.eql [[510,1],[456,59],[417,109],[396,111],[367,133],[352,138],[341,135],[331,125],[318,102],[294,75],[266,57],[231,45],[209,46],[196,52],[193,57],[217,65],[230,83],[226,103],[189,139],[189,165],[198,180],[197,191],[158,237],[135,244],[120,260],[108,261],[69,307],[63,324],[65,349],[60,358],[65,367],[66,466],[61,510],[172,510],[173,495],[183,483],[199,479],[215,484],[221,479],[224,468],[234,458],[242,428],[251,417],[302,414],[305,406],[317,397],[334,399],[351,415],[367,455],[380,410],[374,400],[375,358],[410,243],[447,158],[481,107],[484,82],[493,74],[510,72]] - chai.expect(regions[0].center).to.be.eql [285, 255] - chai.expect(Math.round(regions[0].radius)).to.be.equal 350 - chai.expect(regions[0].bounding_rect).to.be.eql [[60, 1], [511, 511]] \ No newline at end of file + # Check if every field exists and have the right types + chai.expect(bounding_rect).to.exists + chai.expect(bounding_rect).to.be.an 'array' + chai.expect(polygon).to.exists + chai.expect(polygon).to.be.an 'array' + chai.expect(radius).to.exists + chai.expect(radius).to.be.a 'number' + chai.expect(center).to.exists + chai.expect(center).to.be.an 'array' + chai.expect(bbox).to.exists + chai.expect(bbox).to.be.an 'object' + chai.expect(confidence).to.exists + chai.expect(confidence).to.be.a 'number' + chai.expect(regions).to.exists + chai.expect(regions).to.be.an 'array' + chai.expect(regions[0]).to.exists + chai.expect(regions[0]).to.be.an 'object' + chai.expect(regions[0].bbox).to.exists + chai.expect(regions[0].bbox).to.be.an 'object' + chai.expect(regions[0].bbox.x).to.be.a 'number' + chai.expect(regions[0].bbox.y).to.be.a 'number' + chai.expect(regions[0].bbox.width).to.be.a 'number' + chai.expect(regions[0].bbox.height).to.be.a 'number' + chai.expect(regions[0].center).to.exists + chai.expect(regions[0].center).to.be.an 'object' + chai.expect(regions[0].center.x).to.be.a 'number' + chai.expect(regions[0].center.y).to.be.a 'number' + chai.expect(regions[0].radius).to.exists + chai.expect(regions[0].radius).to.be.a 'number' + chai.expect(regions[0].polygon).to.exists + chai.expect(regions[0].polygon).to.be.an 'array' + chai.expect(regions[0].polygon[0]).to.exists + chai.expect(regions[0].polygon[0]).to.be.an 'object' + chai.expect(regions[0].polygon[0].x).to.be.a 'number' + chai.expect(regions[0].polygon[0].y).to.be.a 'number' + + expected = [[60, 1], [511, 511]] + chai.expect(bounding_rect).to.be.deep.equal expected + chai.expect(polygon.length).to.be.gt 0 + chai.expect(radius).to.be.closeTo 350, 2 + expected = [285, 255] + chai.expect(center).to.be.deep.equal expected + expected = + x: 60 + y: 1 + width: 451 + height: 510 + chai.expect(bbox).to.be.deep.equal expected + chai.expect(confidence).to.be.lte 0.30 + chai.expect(regions.length).to.be.gt 0 diff --git a/spec/gmr-saliency.js b/spec/gmr-saliency.js index e73704a..2431607 100644 --- a/spec/gmr-saliency.js +++ b/spec/gmr-saliency.js @@ -31,12 +31,58 @@ describe('Saliency (C++)', function() { return chai.expect(obj).to.be.an('object'); }); return it('should extract a valid saliency profile', function() { - var obj, saliency; + var bbox, bounding_rect, center, confidence, expected, obj, polygon, radius, regions, saliency; obj = JSON.parse(out); saliency = obj.saliency; - chai.expect(saliency.polygon).to.be.eql([[510, 1], [494, 1], [494, 21], [456, 59], [418, 111], [396, 111], [374, 128], [333, 128], [318, 102], [294, 75], [256, 52], [231, 45], [209, 46], [196, 52], [193, 57], [217, 63], [221, 68], [221, 109], [189, 139], [191, 206], [180, 208], [178, 222], [167, 225], [161, 238], [131, 247], [130, 261], [108, 261], [108, 267], [92, 277], [92, 289], [79, 294], [79, 302], [69, 307], [63, 324], [60, 358], [65, 469], [61, 510], [173, 510], [174, 484], [215, 484], [221, 479], [221, 461], [233, 460], [241, 441], [243, 418], [252, 415], [302, 414], [304, 407], [344, 407], [360, 431], [367, 455], [370, 433], [377, 431], [380, 410], [375, 409], [375, 351], [381, 348], [419, 218], [451, 150], [481, 107], [481, 77], [484, 73], [510, 73]]); - chai.expect(saliency.center).to.be.eql([285, 255]); - chai.expect(Math.round(saliency.radius)).to.be.equal(350); - return chai.expect(saliency.bounding_rect).to.be.eql([[60, 1], [511, 511]]); + bounding_rect = saliency.bounding_rect, polygon = saliency.polygon, radius = saliency.radius, center = saliency.center, bbox = saliency.bbox, confidence = saliency.confidence, regions = saliency.regions; + chai.expect(bounding_rect).to.exists; + chai.expect(bounding_rect).to.be.an('array'); + chai.expect(polygon).to.exists; + chai.expect(polygon).to.be.an('array'); + chai.expect(radius).to.exists; + chai.expect(radius).to.be.a('number'); + chai.expect(center).to.exists; + chai.expect(center).to.be.an('array'); + chai.expect(bbox).to.exists; + chai.expect(bbox).to.be.an('object'); + chai.expect(confidence).to.exists; + chai.expect(confidence).to.be.a('number'); + chai.expect(regions).to.exists; + chai.expect(regions).to.be.an('array'); + chai.expect(regions[0]).to.exists; + chai.expect(regions[0]).to.be.an('object'); + chai.expect(regions[0].bbox).to.exists; + chai.expect(regions[0].bbox).to.be.an('object'); + chai.expect(regions[0].bbox.x).to.be.a('number'); + chai.expect(regions[0].bbox.y).to.be.a('number'); + chai.expect(regions[0].bbox.width).to.be.a('number'); + chai.expect(regions[0].bbox.height).to.be.a('number'); + chai.expect(regions[0].center).to.exists; + chai.expect(regions[0].center).to.be.an('object'); + chai.expect(regions[0].center.x).to.be.a('number'); + chai.expect(regions[0].center.y).to.be.a('number'); + chai.expect(regions[0].radius).to.exists; + chai.expect(regions[0].radius).to.be.a('number'); + chai.expect(regions[0].polygon).to.exists; + chai.expect(regions[0].polygon).to.be.an('array'); + chai.expect(regions[0].polygon[0]).to.exists; + chai.expect(regions[0].polygon[0]).to.be.an('object'); + chai.expect(regions[0].polygon[0].x).to.be.a('number'); + chai.expect(regions[0].polygon[0].y).to.be.a('number'); + expected = [[60, 1], [511, 511]]; + chai.expect(bounding_rect).to.be.deep.equal(expected); + chai.expect(polygon.length).to.be.gt(0); + chai.expect(radius).to.be.closeTo(350, 2); + expected = [285, 255]; + chai.expect(center).to.be.deep.equal(expected); + expected = { + x: 60, + y: 1, + width: 451, + height: 510 + }; + chai.expect(bbox).to.be.deep.equal(expected); + chai.expect(confidence).to.be.lte(0.30); + return chai.expect(regions.length).to.be.gt(0); }); }); diff --git a/test_set_app/data.js b/test_set_app/data.js index 0137914..cd3cf01 100644 --- a/test_set_app/data.js +++ b/test_set_app/data.js @@ -1,48 +1,20989 @@ window.DATA = {sets:{ - "Grid_full": [ - "./test_set/Grid_full/image-1.jpg", - "./test_set/Grid_full/image-10.jpg", - "./test_set/Grid_full/image-11.jpg", - "./test_set/Grid_full/image-12.jpg", - "./test_set/Grid_full/image-13.jpg", - "./test_set/Grid_full/image-14.jpg", - "./test_set/Grid_full/image-15.jpg", - "./test_set/Grid_full/image-16.jpg", - "./test_set/Grid_full/image-17.jpg", - "./test_set/Grid_full/image-18.jpg", - "./test_set/Grid_full/image-19.jpg", - "./test_set/Grid_full/image-2.jpg", - "./test_set/Grid_full/image-20.jpg", - "./test_set/Grid_full/image-21.jpg", - "./test_set/Grid_full/image-3.jpg", - "./test_set/Grid_full/image-4.jpg", - "./test_set/Grid_full/image-5.jpg", - "./test_set/Grid_full/image-6.jpg", - "./test_set/Grid_full/image-7.jpg", - "./test_set/Grid_full/image-8.jpg", - "./test_set/Grid_full/image-9.jpg" + "good": [ + { + "image": "./test_set/good/001.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 89, + 63 + ], + [ + 422, + 369 + ] + ], + "bbox": { + "x": 89, + "y": 63, + "width": 333, + "height": 306 + }, + "confidence": 0.652433, + "polygon": [ + [ + 296, + 63 + ], + [ + 197, + 116 + ], + [ + 113, + 150 + ], + [ + 90, + 154 + ], + [ + 89, + 169 + ], + [ + 100, + 178 + ], + [ + 123, + 236 + ], + [ + 120, + 251 + ], + [ + 110, + 259 + ], + [ + 112, + 266 + ], + [ + 128, + 268 + ], + [ + 138, + 281 + ], + [ + 154, + 330 + ], + [ + 160, + 368 + ], + [ + 192, + 354 + ], + [ + 210, + 364 + ], + [ + 224, + 350 + ], + [ + 225, + 340 + ], + [ + 235, + 328 + ], + [ + 299, + 299 + ], + [ + 319, + 304 + ], + [ + 354, + 274 + ], + [ + 370, + 273 + ], + [ + 382, + 282 + ], + [ + 399, + 273 + ], + [ + 419, + 276 + ], + [ + 411, + 269 + ], + [ + 400, + 243 + ], + [ + 405, + 223 + ], + [ + 385, + 222 + ], + [ + 370, + 205 + ], + [ + 307, + 96 + ] + ], + "center": [ + 254, + 222 + ], + "radius": 178.66, + "regions": [ + { + "polygon": [ + { + "x": 421, + "y": 277 + } + ], + "center": { + "x": 421, + "y": 277 + }, + "radius": 1, + "bbox": { + "x": 421, + "y": 277, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 296, + "y": 63 + }, + { + "x": 197, + "y": 116 + }, + { + "x": 113, + "y": 150 + }, + { + "x": 90, + "y": 154 + }, + { + "x": 89, + "y": 169 + }, + { + "x": 100, + "y": 178 + }, + { + "x": 123, + "y": 236 + }, + { + "x": 120, + "y": 251 + }, + { + "x": 110, + "y": 259 + }, + { + "x": 112, + "y": 266 + }, + { + "x": 128, + "y": 268 + }, + { + "x": 138, + "y": 281 + }, + { + "x": 154, + "y": 330 + }, + { + "x": 160, + "y": 368 + }, + { + "x": 192, + "y": 354 + }, + { + "x": 210, + "y": 364 + }, + { + "x": 224, + "y": 350 + }, + { + "x": 225, + "y": 340 + }, + { + "x": 235, + "y": 328 + }, + { + "x": 299, + "y": 299 + }, + { + "x": 319, + "y": 304 + }, + { + "x": 354, + "y": 274 + }, + { + "x": 370, + "y": 273 + }, + { + "x": 382, + "y": 282 + }, + { + "x": 399, + "y": 273 + }, + { + "x": 419, + "y": 276 + }, + { + "x": 411, + "y": 269 + }, + { + "x": 400, + "y": 243 + }, + { + "x": 405, + "y": 223 + }, + { + "x": 385, + "y": 222 + }, + { + "x": 370, + "y": 205 + }, + { + "x": 307, + "y": 96 + } + ], + "center": { + "x": 254, + "y": 222 + }, + "radius": 178.66, + "bbox": { + "x": 89, + "y": 63, + "width": 331, + "height": 306 + } + } + ] + } + } + }, + { + "image": "./test_set/good/0b60ba6c-f3d4-483f-aad2-2f294cb9bb27.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 222, + 89 + ], + [ + 1747, + 1479 + ] + ], + "bbox": { + "x": 222, + "y": 89, + "width": 1525, + "height": 1390 + }, + "confidence": 0.580723, + "polygon": [ + [ + 1385, + 94 + ], + [ + 1358, + 89 + ], + [ + 1306, + 103 + ], + [ + 1273, + 125 + ], + [ + 1236, + 139 + ], + [ + 1225, + 136 + ], + [ + 1216, + 124 + ], + [ + 1203, + 123 + ], + [ + 1189, + 113 + ], + [ + 1175, + 122 + ], + [ + 1162, + 142 + ], + [ + 1130, + 145 + ], + [ + 1126, + 160 + ], + [ + 1118, + 168 + ], + [ + 1099, + 172 + ], + [ + 1088, + 186 + ], + [ + 1067, + 191 + ], + [ + 1053, + 204 + ], + [ + 1015, + 216 + ], + [ + 986, + 231 + ], + [ + 970, + 232 + ], + [ + 957, + 243 + ], + [ + 936, + 243 + ], + [ + 921, + 262 + ], + [ + 850, + 297 + ], + [ + 804, + 306 + ], + [ + 786, + 298 + ], + [ + 783, + 315 + ], + [ + 759, + 336 + ], + [ + 724, + 347 + ], + [ + 706, + 346 + ], + [ + 694, + 358 + ], + [ + 659, + 370 + ], + [ + 646, + 387 + ], + [ + 617, + 401 + ], + [ + 554, + 421 + ], + [ + 544, + 419 + ], + [ + 528, + 424 + ], + [ + 509, + 415 + ], + [ + 498, + 426 + ], + [ + 475, + 427 + ], + [ + 467, + 443 + ], + [ + 448, + 458 + ], + [ + 432, + 458 + ], + [ + 413, + 450 + ], + [ + 396, + 490 + ], + [ + 380, + 505 + ], + [ + 334, + 516 + ], + [ + 332, + 523 + ], + [ + 338, + 542 + ], + [ + 328, + 556 + ], + [ + 305, + 564 + ], + [ + 282, + 554 + ], + [ + 222, + 607 + ], + [ + 222, + 653 + ], + [ + 228, + 679 + ], + [ + 245, + 710 + ], + [ + 245, + 740 + ], + [ + 266, + 779 + ], + [ + 273, + 817 + ], + [ + 300, + 857 + ], + [ + 320, + 910 + ], + [ + 340, + 930 + ], + [ + 347, + 953 + ], + [ + 368, + 973 + ], + [ + 373, + 1009 + ], + [ + 393, + 1028 + ], + [ + 414, + 1081 + ], + [ + 414, + 1093 + ], + [ + 429, + 1114 + ], + [ + 427, + 1139 + ], + [ + 456, + 1175 + ], + [ + 475, + 1208 + ], + [ + 482, + 1237 + ], + [ + 492, + 1246 + ], + [ + 501, + 1270 + ], + [ + 519, + 1289 + ], + [ + 527, + 1307 + ], + [ + 529, + 1326 + ], + [ + 549, + 1350 + ], + [ + 555, + 1396 + ], + [ + 609, + 1452 + ], + [ + 629, + 1451 + ], + [ + 648, + 1470 + ], + [ + 673, + 1471 + ], + [ + 683, + 1478 + ], + [ + 726, + 1457 + ], + [ + 742, + 1454 + ], + [ + 753, + 1443 + ], + [ + 831, + 1406 + ], + [ + 834, + 1390 + ], + [ + 850, + 1378 + ], + [ + 940, + 1337 + ], + [ + 952, + 1337 + ], + [ + 962, + 1344 + ], + [ + 963, + 1335 + ], + [ + 972, + 1324 + ], + [ + 994, + 1314 + ], + [ + 1015, + 1310 + ], + [ + 1027, + 1313 + ], + [ + 1086, + 1288 + ], + [ + 1102, + 1262 + ], + [ + 1164, + 1236 + ], + [ + 1188, + 1243 + ], + [ + 1212, + 1224 + ], + [ + 1233, + 1218 + ], + [ + 1243, + 1209 + ], + [ + 1255, + 1208 + ], + [ + 1259, + 1191 + ], + [ + 1270, + 1181 + ], + [ + 1411, + 1117 + ], + [ + 1427, + 1113 + ], + [ + 1441, + 1119 + ], + [ + 1473, + 1104 + ], + [ + 1487, + 1082 + ], + [ + 1525, + 1060 + ], + [ + 1711, + 977 + ], + [ + 1741, + 958 + ], + [ + 1746, + 945 + ], + [ + 1743, + 923 + ], + [ + 1716, + 865 + ], + [ + 1698, + 862 + ], + [ + 1689, + 851 + ], + [ + 1688, + 808 + ], + [ + 1683, + 790 + ], + [ + 1634, + 686 + ], + [ + 1635, + 674 + ], + [ + 1646, + 660 + ], + [ + 1626, + 655 + ], + [ + 1617, + 644 + ], + [ + 1612, + 629 + ], + [ + 1617, + 599 + ], + [ + 1597, + 558 + ], + [ + 1599, + 543 + ], + [ + 1593, + 520 + ], + [ + 1549, + 428 + ], + [ + 1551, + 410 + ], + [ + 1539, + 401 + ], + [ + 1528, + 382 + ], + [ + 1448, + 197 + ], + [ + 1421, + 157 + ], + [ + 1409, + 127 + ] + ], + "center": [ + 984, + 776 + ], + "radius": 803.931, + "regions": [ + { + "polygon": [ + { + "x": 1385, + "y": 94 + }, + { + "x": 1358, + "y": 89 + }, + { + "x": 1306, + "y": 103 + }, + { + "x": 1273, + "y": 125 + }, + { + "x": 1236, + "y": 139 + }, + { + "x": 1225, + "y": 136 + }, + { + "x": 1216, + "y": 124 + }, + { + "x": 1203, + "y": 123 + }, + { + "x": 1189, + "y": 113 + }, + { + "x": 1175, + "y": 122 + }, + { + "x": 1162, + "y": 142 + }, + { + "x": 1130, + "y": 145 + }, + { + "x": 1126, + "y": 160 + }, + { + "x": 1118, + "y": 168 + }, + { + "x": 1099, + "y": 172 + }, + { + "x": 1088, + "y": 186 + }, + { + "x": 1067, + "y": 191 + }, + { + "x": 1053, + "y": 204 + }, + { + "x": 1015, + "y": 216 + }, + { + "x": 986, + "y": 231 + }, + { + "x": 970, + "y": 232 + }, + { + "x": 957, + "y": 243 + }, + { + "x": 936, + "y": 243 + }, + { + "x": 921, + "y": 262 + }, + { + "x": 850, + "y": 297 + }, + { + "x": 804, + "y": 306 + }, + { + "x": 786, + "y": 298 + }, + { + "x": 783, + "y": 315 + }, + { + "x": 759, + "y": 336 + }, + { + "x": 724, + "y": 347 + }, + { + "x": 706, + "y": 346 + }, + { + "x": 694, + "y": 358 + }, + { + "x": 659, + "y": 370 + }, + { + "x": 646, + "y": 387 + }, + { + "x": 617, + "y": 401 + }, + { + "x": 554, + "y": 421 + }, + { + "x": 544, + "y": 419 + }, + { + "x": 528, + "y": 424 + }, + { + "x": 509, + "y": 415 + }, + { + "x": 498, + "y": 426 + }, + { + "x": 475, + "y": 427 + }, + { + "x": 467, + "y": 443 + }, + { + "x": 448, + "y": 458 + }, + { + "x": 432, + "y": 458 + }, + { + "x": 413, + "y": 450 + }, + { + "x": 396, + "y": 490 + }, + { + "x": 380, + "y": 505 + }, + { + "x": 334, + "y": 516 + }, + { + "x": 332, + "y": 523 + }, + { + "x": 338, + "y": 542 + }, + { + "x": 328, + "y": 556 + }, + { + "x": 305, + "y": 564 + }, + { + "x": 282, + "y": 554 + }, + { + "x": 222, + "y": 607 + }, + { + "x": 222, + "y": 653 + }, + { + "x": 228, + "y": 679 + }, + { + "x": 245, + "y": 710 + }, + { + "x": 245, + "y": 740 + }, + { + "x": 266, + "y": 779 + }, + { + "x": 273, + "y": 817 + }, + { + "x": 300, + "y": 857 + }, + { + "x": 320, + "y": 910 + }, + { + "x": 340, + "y": 930 + }, + { + "x": 347, + "y": 953 + }, + { + "x": 368, + "y": 973 + }, + { + "x": 373, + "y": 1009 + }, + { + "x": 393, + "y": 1028 + }, + { + "x": 414, + "y": 1081 + }, + { + "x": 414, + "y": 1093 + }, + { + "x": 429, + "y": 1114 + }, + { + "x": 427, + "y": 1139 + }, + { + "x": 456, + "y": 1175 + }, + { + "x": 475, + "y": 1208 + }, + { + "x": 482, + "y": 1237 + }, + { + "x": 492, + "y": 1246 + }, + { + "x": 501, + "y": 1270 + }, + { + "x": 519, + "y": 1289 + }, + { + "x": 527, + "y": 1307 + }, + { + "x": 529, + "y": 1326 + }, + { + "x": 549, + "y": 1350 + }, + { + "x": 555, + "y": 1396 + }, + { + "x": 609, + "y": 1452 + }, + { + "x": 629, + "y": 1451 + }, + { + "x": 648, + "y": 1470 + }, + { + "x": 673, + "y": 1471 + }, + { + "x": 683, + "y": 1478 + }, + { + "x": 726, + "y": 1457 + }, + { + "x": 742, + "y": 1454 + }, + { + "x": 753, + "y": 1443 + }, + { + "x": 831, + "y": 1406 + }, + { + "x": 834, + "y": 1390 + }, + { + "x": 850, + "y": 1378 + }, + { + "x": 940, + "y": 1337 + }, + { + "x": 952, + "y": 1337 + }, + { + "x": 962, + "y": 1344 + }, + { + "x": 963, + "y": 1335 + }, + { + "x": 972, + "y": 1324 + }, + { + "x": 994, + "y": 1314 + }, + { + "x": 1015, + "y": 1310 + }, + { + "x": 1027, + "y": 1313 + }, + { + "x": 1086, + "y": 1288 + }, + { + "x": 1102, + "y": 1262 + }, + { + "x": 1164, + "y": 1236 + }, + { + "x": 1188, + "y": 1243 + }, + { + "x": 1212, + "y": 1224 + }, + { + "x": 1233, + "y": 1218 + }, + { + "x": 1243, + "y": 1209 + }, + { + "x": 1255, + "y": 1208 + }, + { + "x": 1259, + "y": 1191 + }, + { + "x": 1270, + "y": 1181 + }, + { + "x": 1411, + "y": 1117 + }, + { + "x": 1427, + "y": 1113 + }, + { + "x": 1441, + "y": 1119 + }, + { + "x": 1473, + "y": 1104 + }, + { + "x": 1487, + "y": 1082 + }, + { + "x": 1525, + "y": 1060 + }, + { + "x": 1711, + "y": 977 + }, + { + "x": 1741, + "y": 958 + }, + { + "x": 1746, + "y": 945 + }, + { + "x": 1743, + "y": 923 + }, + { + "x": 1716, + "y": 865 + }, + { + "x": 1698, + "y": 862 + }, + { + "x": 1689, + "y": 851 + }, + { + "x": 1688, + "y": 808 + }, + { + "x": 1683, + "y": 790 + }, + { + "x": 1634, + "y": 686 + }, + { + "x": 1635, + "y": 674 + }, + { + "x": 1646, + "y": 660 + }, + { + "x": 1626, + "y": 655 + }, + { + "x": 1617, + "y": 644 + }, + { + "x": 1612, + "y": 629 + }, + { + "x": 1617, + "y": 599 + }, + { + "x": 1597, + "y": 558 + }, + { + "x": 1599, + "y": 543 + }, + { + "x": 1593, + "y": 520 + }, + { + "x": 1549, + "y": 428 + }, + { + "x": 1551, + "y": 410 + }, + { + "x": 1539, + "y": 401 + }, + { + "x": 1528, + "y": 382 + }, + { + "x": 1448, + "y": 197 + }, + { + "x": 1421, + "y": 157 + }, + { + "x": 1409, + "y": 127 + } + ], + "center": { + "x": 984, + "y": 776 + }, + "radius": 803.931, + "bbox": { + "x": 222, + "y": 89, + "width": 1525, + "height": 1390 + } + } + ] + } + } + }, + { + "image": "./test_set/good/16938173422_112da622ce_b.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 388, + 203 + ], + [ + 982, + 647 + ] + ], + "bbox": { + "x": 388, + "y": 203, + "width": 594, + "height": 444 + }, + "confidence": 0.191459, + "polygon": [ + [ + 391, + 417 + ], + [ + 403, + 432 + ], + [ + 405, + 473 + ], + [ + 418, + 474 + ], + [ + 429, + 484 + ], + [ + 465, + 547 + ], + [ + 464, + 565 + ], + [ + 473, + 577 + ], + [ + 478, + 596 + ], + [ + 473, + 614 + ], + [ + 498, + 620 + ], + [ + 515, + 641 + ], + [ + 527, + 646 + ], + [ + 570, + 631 + ], + [ + 611, + 609 + ], + [ + 628, + 610 + ], + [ + 637, + 619 + ], + [ + 652, + 623 + ], + [ + 665, + 609 + ], + [ + 665, + 596 + ], + [ + 674, + 585 + ], + [ + 693, + 584 + ], + [ + 709, + 568 + ], + [ + 727, + 570 + ], + [ + 736, + 581 + ], + [ + 736, + 595 + ], + [ + 741, + 594 + ], + [ + 743, + 573 + ], + [ + 752, + 565 + ], + [ + 769, + 564 + ], + [ + 761, + 553 + ], + [ + 760, + 541 + ], + [ + 772, + 524 + ], + [ + 807, + 523 + ], + [ + 826, + 499 + ], + [ + 829, + 479 + ], + [ + 839, + 467 + ], + [ + 882, + 465 + ], + [ + 889, + 453 + ], + [ + 893, + 429 + ], + [ + 902, + 418 + ], + [ + 930, + 413 + ], + [ + 957, + 421 + ], + [ + 981, + 406 + ], + [ + 981, + 387 + ], + [ + 976, + 367 + ], + [ + 969, + 359 + ], + [ + 935, + 343 + ], + [ + 912, + 343 + ], + [ + 860, + 309 + ], + [ + 840, + 305 + ], + [ + 827, + 296 + ], + [ + 777, + 287 + ], + [ + 758, + 277 + ], + [ + 744, + 263 + ], + [ + 728, + 264 + ], + [ + 669, + 245 + ], + [ + 628, + 242 + ], + [ + 552, + 203 + ], + [ + 544, + 214 + ], + [ + 556, + 234 + ], + [ + 551, + 255 + ], + [ + 526, + 273 + ], + [ + 514, + 289 + ], + [ + 493, + 302 + ], + [ + 473, + 303 + ], + [ + 480, + 314 + ], + [ + 472, + 341 + ], + [ + 483, + 355 + ], + [ + 480, + 371 + ], + [ + 460, + 390 + ], + [ + 413, + 413 + ] + ], + "center": [ + 686, + 411 + ], + "radius": 303.903, + "regions": [ + { + "polygon": [ + { + "x": 388, + "y": 416 + } + ], + "center": { + "x": 388, + "y": 416 + }, + "radius": 1, + "bbox": { + "x": 388, + "y": 416, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 467, + "y": 299 + } + ], + "center": { + "x": 467, + "y": 299 + }, + "radius": 1, + "bbox": { + "x": 467, + "y": 299, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 738, + "y": 222 + }, + { + "x": 751, + "y": 229 + }, + { + "x": 758, + "y": 224 + } + ], + "center": { + "x": 748, + "y": 223 + }, + "radius": 10.3514, + "bbox": { + "x": 738, + "y": 222, + "width": 21, + "height": 8 + } + }, + { + "polygon": [ + { + "x": 391, + "y": 417 + }, + { + "x": 403, + "y": 432 + }, + { + "x": 405, + "y": 473 + }, + { + "x": 418, + "y": 474 + }, + { + "x": 429, + "y": 484 + }, + { + "x": 465, + "y": 547 + }, + { + "x": 464, + "y": 565 + }, + { + "x": 473, + "y": 577 + }, + { + "x": 478, + "y": 596 + }, + { + "x": 473, + "y": 614 + }, + { + "x": 498, + "y": 620 + }, + { + "x": 515, + "y": 641 + }, + { + "x": 527, + "y": 646 + }, + { + "x": 570, + "y": 631 + }, + { + "x": 611, + "y": 609 + }, + { + "x": 628, + "y": 610 + }, + { + "x": 637, + "y": 619 + }, + { + "x": 652, + "y": 623 + }, + { + "x": 665, + "y": 609 + }, + { + "x": 665, + "y": 596 + }, + { + "x": 674, + "y": 585 + }, + { + "x": 693, + "y": 584 + }, + { + "x": 709, + "y": 568 + }, + { + "x": 727, + "y": 570 + }, + { + "x": 736, + "y": 581 + }, + { + "x": 736, + "y": 595 + }, + { + "x": 741, + "y": 594 + }, + { + "x": 743, + "y": 573 + }, + { + "x": 752, + "y": 565 + }, + { + "x": 769, + "y": 564 + }, + { + "x": 761, + "y": 553 + }, + { + "x": 760, + "y": 541 + }, + { + "x": 772, + "y": 524 + }, + { + "x": 807, + "y": 523 + }, + { + "x": 826, + "y": 499 + }, + { + "x": 829, + "y": 479 + }, + { + "x": 839, + "y": 467 + }, + { + "x": 882, + "y": 465 + }, + { + "x": 889, + "y": 453 + }, + { + "x": 893, + "y": 429 + }, + { + "x": 902, + "y": 418 + }, + { + "x": 930, + "y": 413 + }, + { + "x": 957, + "y": 421 + }, + { + "x": 981, + "y": 406 + }, + { + "x": 981, + "y": 387 + }, + { + "x": 976, + "y": 367 + }, + { + "x": 969, + "y": 359 + }, + { + "x": 935, + "y": 343 + }, + { + "x": 912, + "y": 343 + }, + { + "x": 860, + "y": 309 + }, + { + "x": 840, + "y": 305 + }, + { + "x": 827, + "y": 296 + }, + { + "x": 777, + "y": 287 + }, + { + "x": 758, + "y": 277 + }, + { + "x": 744, + "y": 263 + }, + { + "x": 728, + "y": 264 + }, + { + "x": 669, + "y": 245 + }, + { + "x": 628, + "y": 242 + }, + { + "x": 552, + "y": 203 + }, + { + "x": 544, + "y": 214 + }, + { + "x": 556, + "y": 234 + }, + { + "x": 551, + "y": 255 + }, + { + "x": 526, + "y": 273 + }, + { + "x": 514, + "y": 289 + }, + { + "x": 493, + "y": 302 + }, + { + "x": 473, + "y": 303 + }, + { + "x": 480, + "y": 314 + }, + { + "x": 472, + "y": 341 + }, + { + "x": 483, + "y": 355 + }, + { + "x": 480, + "y": 371 + }, + { + "x": 460, + "y": 390 + }, + { + "x": 413, + "y": 413 + } + ], + "center": { + "x": 686, + "y": 411 + }, + "radius": 303.903, + "bbox": { + "x": 391, + "y": 203, + "width": 591, + "height": 444 + } + } + ] + } + } + }, + { + "image": "./test_set/good/17756862961_36a258d0f0_b.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 119, + 354 + ], + [ + 670, + 892 + ] + ], + "bbox": { + "x": 119, + "y": 354, + "width": 551, + "height": 538 + }, + "confidence": 0.263965, + "polygon": [ + [ + 355, + 357 + ], + [ + 328, + 373 + ], + [ + 304, + 379 + ], + [ + 304, + 415 + ], + [ + 270, + 466 + ], + [ + 232, + 482 + ], + [ + 215, + 473 + ], + [ + 215, + 492 + ], + [ + 226, + 504 + ], + [ + 226, + 519 + ], + [ + 123, + 660 + ], + [ + 119, + 677 + ], + [ + 145, + 705 + ], + [ + 157, + 743 + ], + [ + 180, + 751 + ], + [ + 194, + 745 + ], + [ + 236, + 749 + ], + [ + 248, + 764 + ], + [ + 252, + 782 + ], + [ + 263, + 796 + ], + [ + 264, + 808 + ], + [ + 272, + 815 + ], + [ + 350, + 828 + ], + [ + 383, + 827 + ], + [ + 405, + 855 + ], + [ + 422, + 866 + ], + [ + 430, + 882 + ], + [ + 444, + 891 + ], + [ + 469, + 889 + ], + [ + 488, + 870 + ], + [ + 507, + 859 + ], + [ + 511, + 848 + ], + [ + 525, + 834 + ], + [ + 573, + 834 + ], + [ + 593, + 819 + ], + [ + 597, + 802 + ], + [ + 588, + 789 + ], + [ + 588, + 775 + ], + [ + 597, + 764 + ], + [ + 615, + 763 + ], + [ + 618, + 759 + ], + [ + 618, + 743 + ], + [ + 609, + 741 + ], + [ + 599, + 727 + ], + [ + 599, + 698 + ], + [ + 622, + 588 + ], + [ + 635, + 571 + ], + [ + 658, + 571 + ], + [ + 669, + 521 + ], + [ + 664, + 507 + ], + [ + 666, + 489 + ], + [ + 656, + 487 + ], + [ + 647, + 475 + ], + [ + 632, + 474 + ], + [ + 623, + 466 + ], + [ + 620, + 448 + ], + [ + 627, + 414 + ], + [ + 610, + 404 + ], + [ + 459, + 361 + ], + [ + 401, + 354 + ] + ], + "center": [ + 401, + 601 + ], + "radius": 301.609, + "regions": [ + { + "polygon": [ + { + "x": 355, + "y": 357 + }, + { + "x": 328, + "y": 373 + }, + { + "x": 304, + "y": 379 + }, + { + "x": 304, + "y": 415 + }, + { + "x": 270, + "y": 466 + }, + { + "x": 232, + "y": 482 + }, + { + "x": 215, + "y": 473 + }, + { + "x": 215, + "y": 492 + }, + { + "x": 226, + "y": 504 + }, + { + "x": 226, + "y": 519 + }, + { + "x": 123, + "y": 660 + }, + { + "x": 119, + "y": 677 + }, + { + "x": 145, + "y": 705 + }, + { + "x": 157, + "y": 743 + }, + { + "x": 180, + "y": 751 + }, + { + "x": 194, + "y": 745 + }, + { + "x": 236, + "y": 749 + }, + { + "x": 248, + "y": 764 + }, + { + "x": 252, + "y": 782 + }, + { + "x": 263, + "y": 796 + }, + { + "x": 264, + "y": 808 + }, + { + "x": 272, + "y": 815 + }, + { + "x": 350, + "y": 828 + }, + { + "x": 383, + "y": 827 + }, + { + "x": 405, + "y": 855 + }, + { + "x": 422, + "y": 866 + }, + { + "x": 430, + "y": 882 + }, + { + "x": 444, + "y": 891 + }, + { + "x": 469, + "y": 889 + }, + { + "x": 488, + "y": 870 + }, + { + "x": 507, + "y": 859 + }, + { + "x": 511, + "y": 848 + }, + { + "x": 525, + "y": 834 + }, + { + "x": 573, + "y": 834 + }, + { + "x": 593, + "y": 819 + }, + { + "x": 597, + "y": 802 + }, + { + "x": 588, + "y": 789 + }, + { + "x": 588, + "y": 775 + }, + { + "x": 597, + "y": 764 + }, + { + "x": 615, + "y": 763 + }, + { + "x": 618, + "y": 759 + }, + { + "x": 618, + "y": 743 + }, + { + "x": 609, + "y": 741 + }, + { + "x": 599, + "y": 727 + }, + { + "x": 599, + "y": 698 + }, + { + "x": 622, + "y": 588 + }, + { + "x": 635, + "y": 571 + }, + { + "x": 658, + "y": 571 + }, + { + "x": 669, + "y": 521 + }, + { + "x": 664, + "y": 507 + }, + { + "x": 666, + "y": 489 + }, + { + "x": 656, + "y": 487 + }, + { + "x": 647, + "y": 475 + }, + { + "x": 632, + "y": 474 + }, + { + "x": 623, + "y": 466 + }, + { + "x": 620, + "y": 448 + }, + { + "x": 627, + "y": 414 + }, + { + "x": 610, + "y": 404 + }, + { + "x": 459, + "y": 361 + }, + { + "x": 401, + "y": 354 + } + ], + "center": { + "x": 401, + "y": 601 + }, + "radius": 301.609, + "bbox": { + "x": 119, + "y": 354, + "width": 551, + "height": 538 + } + } + ] + } + } + }, + { + "image": "./test_set/good/18250297731_52e12539b0_b.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 145, + 222 + ], + [ + 913, + 552 + ] + ], + "bbox": { + "x": 145, + "y": 222, + "width": 768, + "height": 330 + }, + "confidence": 0.706374, + "polygon": [ + [ + 776, + 407 + ], + [ + 744, + 368 + ], + [ + 749, + 324 + ], + [ + 725, + 324 + ], + [ + 716, + 337 + ], + [ + 699, + 339 + ], + [ + 686, + 329 + ], + [ + 682, + 316 + ], + [ + 669, + 314 + ], + [ + 639, + 293 + ], + [ + 631, + 277 + ], + [ + 630, + 252 + ], + [ + 637, + 238 + ], + [ + 630, + 222 + ], + [ + 614, + 222 + ], + [ + 613, + 231 + ], + [ + 604, + 242 + ], + [ + 581, + 246 + ], + [ + 569, + 243 + ], + [ + 559, + 224 + ], + [ + 551, + 227 + ], + [ + 539, + 243 + ], + [ + 528, + 246 + ], + [ + 485, + 242 + ], + [ + 476, + 236 + ], + [ + 431, + 255 + ], + [ + 368, + 300 + ], + [ + 353, + 300 + ], + [ + 339, + 291 + ], + [ + 333, + 292 + ], + [ + 346, + 309 + ], + [ + 346, + 323 + ], + [ + 337, + 334 + ], + [ + 316, + 339 + ], + [ + 308, + 375 + ], + [ + 273, + 412 + ], + [ + 266, + 438 + ], + [ + 269, + 457 + ], + [ + 291, + 487 + ], + [ + 357, + 523 + ], + [ + 403, + 538 + ], + [ + 458, + 547 + ], + [ + 578, + 551 + ], + [ + 609, + 549 + ], + [ + 680, + 532 + ], + [ + 707, + 520 + ], + [ + 709, + 506 + ], + [ + 718, + 495 + ], + [ + 762, + 488 + ], + [ + 763, + 465 + ], + [ + 776, + 451 + ] + ], + "center": [ + 521, + 422 + ], + "radius": 263.135, + "regions": [ + { + "polygon": [ + { + "x": 825, + "y": 406 + }, + { + "x": 840, + "y": 483 + }, + { + "x": 848, + "y": 494 + }, + { + "x": 878, + "y": 494 + }, + { + "x": 890, + "y": 475 + }, + { + "x": 911, + "y": 461 + }, + { + "x": 910, + "y": 436 + }, + { + "x": 904, + "y": 418 + }, + { + "x": 912, + "y": 401 + }, + { + "x": 845, + "y": 401 + } + ], + "center": { + "x": 870, + "y": 441 + }, + "radius": 59.3017, + "bbox": { + "x": 825, + "y": 401, + "width": 88, + "height": 94 + } + }, + { + "polygon": [ + { + "x": 261, + "y": 348 + }, + { + "x": 263, + "y": 354 + } + ], + "center": { + "x": 262, + "y": 351 + }, + "radius": 3.25715, + "bbox": { + "x": 261, + "y": 348, + "width": 3, + "height": 7 + } + }, + { + "polygon": [ + { + "x": 260, + "y": 324 + }, + { + "x": 257, + "y": 326 + }, + { + "x": 261, + "y": 330 + } + ], + "center": { + "x": 259, + "y": 327 + }, + "radius": 3.19466, + "bbox": { + "x": 257, + "y": 324, + "width": 5, + "height": 7 + } + }, + { + "polygon": [ + { + "x": 220, + "y": 304 + }, + { + "x": 149, + "y": 330 + }, + { + "x": 145, + "y": 388 + }, + { + "x": 212, + "y": 360 + }, + { + "x": 219, + "y": 345 + }, + { + "x": 217, + "y": 331 + }, + { + "x": 223, + "y": 321 + } + ], + "center": { + "x": 182, + "y": 346 + }, + "radius": 57.9941, + "bbox": { + "x": 145, + "y": 304, + "width": 79, + "height": 85 + } + }, + { + "polygon": [ + { + "x": 331, + "y": 292 + } + ], + "center": { + "x": 331, + "y": 292 + }, + "radius": 1, + "bbox": { + "x": 331, + "y": 292, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 776, + "y": 407 + }, + { + "x": 744, + "y": 368 + }, + { + "x": 749, + "y": 324 + }, + { + "x": 725, + "y": 324 + }, + { + "x": 716, + "y": 337 + }, + { + "x": 699, + "y": 339 + }, + { + "x": 686, + "y": 329 + }, + { + "x": 682, + "y": 316 + }, + { + "x": 669, + "y": 314 + }, + { + "x": 639, + "y": 293 + }, + { + "x": 631, + "y": 277 + }, + { + "x": 630, + "y": 252 + }, + { + "x": 637, + "y": 238 + }, + { + "x": 630, + "y": 222 + }, + { + "x": 614, + "y": 222 + }, + { + "x": 613, + "y": 231 + }, + { + "x": 604, + "y": 242 + }, + { + "x": 581, + "y": 246 + }, + { + "x": 569, + "y": 243 + }, + { + "x": 559, + "y": 224 + }, + { + "x": 551, + "y": 227 + }, + { + "x": 539, + "y": 243 + }, + { + "x": 528, + "y": 246 + }, + { + "x": 485, + "y": 242 + }, + { + "x": 476, + "y": 236 + }, + { + "x": 431, + "y": 255 + }, + { + "x": 368, + "y": 300 + }, + { + "x": 353, + "y": 300 + }, + { + "x": 339, + "y": 291 + }, + { + "x": 333, + "y": 292 + }, + { + "x": 346, + "y": 309 + }, + { + "x": 346, + "y": 323 + }, + { + "x": 337, + "y": 334 + }, + { + "x": 316, + "y": 339 + }, + { + "x": 308, + "y": 375 + }, + { + "x": 273, + "y": 412 + }, + { + "x": 266, + "y": 438 + }, + { + "x": 269, + "y": 457 + }, + { + "x": 291, + "y": 487 + }, + { + "x": 357, + "y": 523 + }, + { + "x": 403, + "y": 538 + }, + { + "x": 458, + "y": 547 + }, + { + "x": 578, + "y": 551 + }, + { + "x": 609, + "y": 549 + }, + { + "x": 680, + "y": 532 + }, + { + "x": 707, + "y": 520 + }, + { + "x": 709, + "y": 506 + }, + { + "x": 718, + "y": 495 + }, + { + "x": 762, + "y": 488 + }, + { + "x": 763, + "y": 465 + }, + { + "x": 776, + "y": 451 + } + ], + "center": { + "x": 521, + "y": 422 + }, + "radius": 263.135, + "bbox": { + "x": 266, + "y": 222, + "width": 511, + "height": 330 + } + } + ] + } + } + }, + { + "image": "./test_set/good/1e0ede7a7914e20ede711e09b9da90a21eb97ea97ea_mer-400.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 28, + 1 + ], + [ + 372, + 160 + ] + ], + "bbox": { + "x": 28, + "y": 1, + "width": 344, + "height": 159 + }, + "confidence": 0.209524, + "polygon": [ + [ + 28, + 44 + ], + [ + 31, + 77 + ], + [ + 44, + 81 + ], + [ + 59, + 104 + ], + [ + 95, + 110 + ], + [ + 110, + 126 + ], + [ + 124, + 129 + ], + [ + 137, + 140 + ], + [ + 157, + 142 + ], + [ + 168, + 153 + ], + [ + 188, + 159 + ], + [ + 230, + 155 + ], + [ + 244, + 142 + ], + [ + 259, + 139 + ], + [ + 269, + 127 + ], + [ + 290, + 124 + ], + [ + 326, + 94 + ], + [ + 344, + 90 + ], + [ + 355, + 77 + ], + [ + 369, + 75 + ], + [ + 371, + 60 + ], + [ + 369, + 38 + ], + [ + 353, + 31 + ], + [ + 333, + 11 + ], + [ + 330, + 1 + ], + [ + 56, + 1 + ], + [ + 49, + 23 + ], + [ + 34, + 32 + ] + ], + "center": [ + 199, + 52 + ], + "radius": 176.837, + "regions": [ + { + "polygon": [ + { + "x": 28, + "y": 44 + }, + { + "x": 31, + "y": 77 + }, + { + "x": 44, + "y": 81 + }, + { + "x": 59, + "y": 104 + }, + { + "x": 95, + "y": 110 + }, + { + "x": 110, + "y": 126 + }, + { + "x": 124, + "y": 129 + }, + { + "x": 137, + "y": 140 + }, + { + "x": 157, + "y": 142 + }, + { + "x": 168, + "y": 153 + }, + { + "x": 188, + "y": 159 + }, + { + "x": 230, + "y": 155 + }, + { + "x": 244, + "y": 142 + }, + { + "x": 259, + "y": 139 + }, + { + "x": 269, + "y": 127 + }, + { + "x": 290, + "y": 124 + }, + { + "x": 326, + "y": 94 + }, + { + "x": 344, + "y": 90 + }, + { + "x": 355, + "y": 77 + }, + { + "x": 369, + "y": 75 + }, + { + "x": 371, + "y": 60 + }, + { + "x": 369, + "y": 38 + }, + { + "x": 353, + "y": 31 + }, + { + "x": 333, + "y": 11 + }, + { + "x": 330, + "y": 1 + }, + { + "x": 56, + "y": 1 + }, + { + "x": 49, + "y": 23 + }, + { + "x": 34, + "y": 32 + } + ], + "center": { + "x": 199, + "y": 52 + }, + "radius": 176.837, + "bbox": { + "x": 28, + "y": 1, + "width": 344, + "height": 159 + } + } + ] + } + } + }, + { + "image": "./test_set/good/1e48eec4-bacb-4cb7-bdb0-548c72f982db.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 1, + 1 + ], + [ + 560, + 471 + ] + ], + "bbox": { + "x": 1, + "y": 1, + "width": 559, + "height": 470 + }, + "confidence": 0.581534, + "polygon": [ + [ + 241, + 1 + ], + [ + 219, + 185 + ], + [ + 206, + 258 + ], + [ + 188, + 268 + ], + [ + 165, + 264 + ], + [ + 120, + 268 + ], + [ + 65, + 294 + ], + [ + 37, + 321 + ], + [ + 11, + 357 + ], + [ + 1, + 359 + ], + [ + 1, + 409 + ], + [ + 11, + 411 + ], + [ + 55, + 451 + ], + [ + 58, + 470 + ], + [ + 118, + 470 + ], + [ + 121, + 460 + ], + [ + 139, + 444 + ], + [ + 181, + 420 + ], + [ + 217, + 409 + ], + [ + 228, + 411 + ], + [ + 237, + 419 + ], + [ + 258, + 470 + ], + [ + 282, + 470 + ], + [ + 285, + 434 + ], + [ + 302, + 401 + ], + [ + 317, + 387 + ], + [ + 334, + 379 + ], + [ + 372, + 374 + ], + [ + 398, + 383 + ], + [ + 418, + 401 + ], + [ + 430, + 431 + ], + [ + 428, + 470 + ], + [ + 451, + 470 + ], + [ + 447, + 421 + ], + [ + 430, + 376 + ], + [ + 403, + 342 + ], + [ + 354, + 310 + ], + [ + 351, + 295 + ], + [ + 556, + 16 + ], + [ + 559, + 1 + ], + [ + 430, + 1 + ], + [ + 411, + 43 + ], + [ + 382, + 76 + ], + [ + 371, + 79 + ], + [ + 358, + 76 + ], + [ + 348, + 62 + ], + [ + 350, + 1 + ] + ], + "center": [ + 308, + 235 + ], + "radius": 353.427, + "regions": [ + { + "polygon": [ + { + "x": 241, + "y": 1 + }, + { + "x": 219, + "y": 185 + }, + { + "x": 206, + "y": 258 + }, + { + "x": 188, + "y": 268 + }, + { + "x": 165, + "y": 264 + }, + { + "x": 120, + "y": 268 + }, + { + "x": 65, + "y": 294 + }, + { + "x": 37, + "y": 321 + }, + { + "x": 11, + "y": 357 + }, + { + "x": 1, + "y": 359 + }, + { + "x": 1, + "y": 409 + }, + { + "x": 11, + "y": 411 + }, + { + "x": 55, + "y": 451 + }, + { + "x": 58, + "y": 470 + }, + { + "x": 118, + "y": 470 + }, + { + "x": 121, + "y": 460 + }, + { + "x": 139, + "y": 444 + }, + { + "x": 181, + "y": 420 + }, + { + "x": 217, + "y": 409 + }, + { + "x": 228, + "y": 411 + }, + { + "x": 237, + "y": 419 + }, + { + "x": 258, + "y": 470 + }, + { + "x": 282, + "y": 470 + }, + { + "x": 285, + "y": 434 + }, + { + "x": 302, + "y": 401 + }, + { + "x": 317, + "y": 387 + }, + { + "x": 334, + "y": 379 + }, + { + "x": 372, + "y": 374 + }, + { + "x": 398, + "y": 383 + }, + { + "x": 418, + "y": 401 + }, + { + "x": 430, + "y": 431 + }, + { + "x": 428, + "y": 470 + }, + { + "x": 451, + "y": 470 + }, + { + "x": 447, + "y": 421 + }, + { + "x": 430, + "y": 376 + }, + { + "x": 403, + "y": 342 + }, + { + "x": 354, + "y": 310 + }, + { + "x": 351, + "y": 295 + }, + { + "x": 556, + "y": 16 + }, + { + "x": 559, + "y": 1 + }, + { + "x": 430, + "y": 1 + }, + { + "x": 411, + "y": 43 + }, + { + "x": 382, + "y": 76 + }, + { + "x": 371, + "y": 79 + }, + { + "x": 358, + "y": 76 + }, + { + "x": 348, + "y": 62 + }, + { + "x": 350, + "y": 1 + } + ], + "center": { + "x": 308, + "y": 235 + }, + "radius": 353.427, + "bbox": { + "x": 1, + "y": 1, + "width": 559, + "height": 470 + } + }, + { + "polygon": [ + { + "x": 147, + "y": 308 + }, + { + "x": 163, + "y": 325 + }, + { + "x": 171, + "y": 348 + }, + { + "x": 169, + "y": 374 + }, + { + "x": 159, + "y": 399 + }, + { + "x": 137, + "y": 424 + }, + { + "x": 116, + "y": 437 + }, + { + "x": 89, + "y": 442 + }, + { + "x": 64, + "y": 435 + }, + { + "x": 48, + "y": 419 + }, + { + "x": 40, + "y": 394 + }, + { + "x": 40, + "y": 366 + }, + { + "x": 52, + "y": 338 + }, + { + "x": 66, + "y": 322 + }, + { + "x": 90, + "y": 307 + }, + { + "x": 124, + "y": 301 + } + ], + "center": { + "x": 105, + "y": 371 + }, + "radius": 78.1342, + "bbox": { + "x": 40, + "y": 301, + "width": 132, + "height": 142 + } + } + ] + } + } + }, + { + "image": "./test_set/good/470731940_1280.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 234, + 72 + ], + [ + 1279, + 677 + ] + ], + "bbox": { + "x": 234, + "y": 72, + "width": 1045, + "height": 605 + }, + "confidence": 0.60637, + "polygon": [ + [ + 1278, + 189 + ], + [ + 1247, + 189 + ], + [ + 1224, + 183 + ], + [ + 1133, + 187 + ], + [ + 1088, + 196 + ], + [ + 1046, + 215 + ], + [ + 1032, + 217 + ], + [ + 996, + 238 + ], + [ + 972, + 241 + ], + [ + 958, + 228 + ], + [ + 958, + 211 + ], + [ + 985, + 178 + ], + [ + 991, + 145 + ], + [ + 975, + 116 + ], + [ + 969, + 111 + ], + [ + 951, + 110 + ], + [ + 940, + 99 + ], + [ + 932, + 78 + ], + [ + 917, + 72 + ], + [ + 896, + 89 + ], + [ + 889, + 112 + ], + [ + 889, + 143 + ], + [ + 866, + 166 + ], + [ + 904, + 158 + ], + [ + 915, + 161 + ], + [ + 925, + 175 + ], + [ + 901, + 242 + ], + [ + 886, + 256 + ], + [ + 769, + 256 + ], + [ + 755, + 243 + ], + [ + 753, + 215 + ], + [ + 720, + 215 + ], + [ + 701, + 221 + ], + [ + 686, + 215 + ], + [ + 674, + 224 + ], + [ + 595, + 225 + ], + [ + 578, + 216 + ], + [ + 551, + 218 + ], + [ + 539, + 214 + ], + [ + 503, + 225 + ], + [ + 480, + 223 + ], + [ + 471, + 214 + ], + [ + 454, + 214 + ], + [ + 430, + 225 + ], + [ + 415, + 223 + ], + [ + 406, + 216 + ], + [ + 382, + 223 + ], + [ + 362, + 216 + ], + [ + 342, + 216 + ], + [ + 326, + 224 + ], + [ + 273, + 226 + ], + [ + 242, + 216 + ], + [ + 234, + 258 + ], + [ + 234, + 450 + ], + [ + 1035, + 451 + ], + [ + 1046, + 450 + ], + [ + 1047, + 432 + ], + [ + 1056, + 421 + ], + [ + 1073, + 419 + ], + [ + 1106, + 443 + ], + [ + 1136, + 456 + ], + [ + 1158, + 479 + ], + [ + 1168, + 481 + ], + [ + 1201, + 527 + ], + [ + 1196, + 562 + ], + [ + 1170, + 620 + ], + [ + 1175, + 635 + ], + [ + 1172, + 676 + ], + [ + 1183, + 670 + ], + [ + 1190, + 638 + ], + [ + 1215, + 576 + ], + [ + 1236, + 546 + ], + [ + 1242, + 515 + ], + [ + 1260, + 495 + ], + [ + 1278, + 493 + ] + ], + "center": [ + 763, + 331 + ], + "radius": 550.345, + "regions": [ + { + "polygon": [ + { + "x": 1232, + "y": 651 + }, + { + "x": 1232, + "y": 656 + }, + { + "x": 1249, + "y": 655 + }, + { + "x": 1258, + "y": 661 + }, + { + "x": 1277, + "y": 657 + }, + { + "x": 1278, + "y": 628 + }, + { + "x": 1251, + "y": 629 + } + ], + "center": { + "x": 1255, + "y": 642 + }, + "radius": 27.7336, + "bbox": { + "x": 1232, + "y": 628, + "width": 47, + "height": 34 + } + }, + { + "polygon": [ + { + "x": 1278, + "y": 189 + }, + { + "x": 1247, + "y": 189 + }, + { + "x": 1224, + "y": 183 + }, + { + "x": 1133, + "y": 187 + }, + { + "x": 1088, + "y": 196 + }, + { + "x": 1046, + "y": 215 + }, + { + "x": 1032, + "y": 217 + }, + { + "x": 996, + "y": 238 + }, + { + "x": 972, + "y": 241 + }, + { + "x": 958, + "y": 228 + }, + { + "x": 958, + "y": 211 + }, + { + "x": 985, + "y": 178 + }, + { + "x": 991, + "y": 145 + }, + { + "x": 975, + "y": 116 + }, + { + "x": 969, + "y": 111 + }, + { + "x": 951, + "y": 110 + }, + { + "x": 940, + "y": 99 + }, + { + "x": 932, + "y": 78 + }, + { + "x": 917, + "y": 72 + }, + { + "x": 896, + "y": 89 + }, + { + "x": 889, + "y": 112 + }, + { + "x": 889, + "y": 143 + }, + { + "x": 866, + "y": 166 + }, + { + "x": 904, + "y": 158 + }, + { + "x": 915, + "y": 161 + }, + { + "x": 925, + "y": 175 + }, + { + "x": 901, + "y": 242 + }, + { + "x": 886, + "y": 256 + }, + { + "x": 769, + "y": 256 + }, + { + "x": 755, + "y": 243 + }, + { + "x": 753, + "y": 215 + }, + { + "x": 720, + "y": 215 + }, + { + "x": 701, + "y": 221 + }, + { + "x": 686, + "y": 215 + }, + { + "x": 674, + "y": 224 + }, + { + "x": 595, + "y": 225 + }, + { + "x": 578, + "y": 216 + }, + { + "x": 551, + "y": 218 + }, + { + "x": 539, + "y": 214 + }, + { + "x": 503, + "y": 225 + }, + { + "x": 480, + "y": 223 + }, + { + "x": 471, + "y": 214 + }, + { + "x": 454, + "y": 214 + }, + { + "x": 430, + "y": 225 + }, + { + "x": 415, + "y": 223 + }, + { + "x": 406, + "y": 216 + }, + { + "x": 382, + "y": 223 + }, + { + "x": 362, + "y": 216 + }, + { + "x": 342, + "y": 216 + }, + { + "x": 326, + "y": 224 + }, + { + "x": 273, + "y": 226 + }, + { + "x": 242, + "y": 216 + }, + { + "x": 234, + "y": 258 + }, + { + "x": 234, + "y": 450 + }, + { + "x": 1035, + "y": 451 + }, + { + "x": 1046, + "y": 450 + }, + { + "x": 1047, + "y": 432 + }, + { + "x": 1056, + "y": 421 + }, + { + "x": 1073, + "y": 419 + }, + { + "x": 1106, + "y": 443 + }, + { + "x": 1136, + "y": 456 + }, + { + "x": 1158, + "y": 479 + }, + { + "x": 1168, + "y": 481 + }, + { + "x": 1201, + "y": 527 + }, + { + "x": 1196, + "y": 562 + }, + { + "x": 1170, + "y": 620 + }, + { + "x": 1175, + "y": 635 + }, + { + "x": 1172, + "y": 676 + }, + { + "x": 1183, + "y": 670 + }, + { + "x": 1190, + "y": 638 + }, + { + "x": 1215, + "y": 576 + }, + { + "x": 1236, + "y": 546 + }, + { + "x": 1242, + "y": 515 + }, + { + "x": 1260, + "y": 495 + }, + { + "x": 1278, + "y": 493 + } + ], + "center": { + "x": 763, + "y": 331 + }, + "radius": 550.345, + "bbox": { + "x": 234, + "y": 72, + "width": 1045, + "height": 605 + } + } + ] + } + } + }, + { + "image": "./test_set/good/4d4fd095-d175-4a87-847b-33f458a9ca2a.png", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 894, + 58 + ], + [ + 1145, + 440 + ] + ], + "bbox": { + "x": 894, + "y": 58, + "width": 251, + "height": 382 + }, + "confidence": 0.891474, + "polygon": [ + [ + 1085, + 82 + ], + [ + 1013, + 60 + ], + [ + 970, + 58 + ], + [ + 933, + 68 + ], + [ + 911, + 80 + ], + [ + 894, + 96 + ], + [ + 894, + 291 + ], + [ + 906, + 314 + ], + [ + 903, + 329 + ], + [ + 894, + 337 + ], + [ + 898, + 382 + ], + [ + 895, + 397 + ], + [ + 910, + 411 + ], + [ + 911, + 422 + ], + [ + 904, + 433 + ], + [ + 911, + 439 + ], + [ + 931, + 439 + ], + [ + 945, + 426 + ], + [ + 986, + 430 + ], + [ + 1005, + 422 + ], + [ + 1017, + 425 + ], + [ + 1026, + 438 + ], + [ + 1038, + 435 + ], + [ + 1050, + 439 + ], + [ + 1103, + 406 + ], + [ + 1144, + 356 + ], + [ + 1143, + 342 + ], + [ + 1133, + 338 + ], + [ + 1123, + 324 + ], + [ + 1130, + 293 + ], + [ + 1108, + 268 + ], + [ + 1111, + 252 + ], + [ + 1122, + 244 + ], + [ + 1126, + 222 + ], + [ + 1122, + 198 + ], + [ + 1123, + 139 + ], + [ + 1109, + 105 + ] + ], + "center": [ + 998, + 260 + ], + "radius": 204.53, + "regions": [ + { + "polygon": [ + { + "x": 1085, + "y": 82 + }, + { + "x": 1013, + "y": 60 + }, + { + "x": 970, + "y": 58 + }, + { + "x": 933, + "y": 68 + }, + { + "x": 911, + "y": 80 + }, + { + "x": 894, + "y": 96 + }, + { + "x": 894, + "y": 291 + }, + { + "x": 906, + "y": 314 + }, + { + "x": 903, + "y": 329 + }, + { + "x": 894, + "y": 337 + }, + { + "x": 898, + "y": 382 + }, + { + "x": 895, + "y": 397 + }, + { + "x": 910, + "y": 411 + }, + { + "x": 911, + "y": 422 + }, + { + "x": 904, + "y": 433 + }, + { + "x": 911, + "y": 439 + }, + { + "x": 931, + "y": 439 + }, + { + "x": 945, + "y": 426 + }, + { + "x": 986, + "y": 430 + }, + { + "x": 1005, + "y": 422 + }, + { + "x": 1017, + "y": 425 + }, + { + "x": 1026, + "y": 438 + }, + { + "x": 1038, + "y": 435 + }, + { + "x": 1050, + "y": 439 + }, + { + "x": 1103, + "y": 406 + }, + { + "x": 1144, + "y": 356 + }, + { + "x": 1143, + "y": 342 + }, + { + "x": 1133, + "y": 338 + }, + { + "x": 1123, + "y": 324 + }, + { + "x": 1130, + "y": 293 + }, + { + "x": 1108, + "y": 268 + }, + { + "x": 1111, + "y": 252 + }, + { + "x": 1122, + "y": 244 + }, + { + "x": 1126, + "y": 222 + }, + { + "x": 1122, + "y": 198 + }, + { + "x": 1123, + "y": 139 + }, + { + "x": 1109, + "y": 105 + } + ], + "center": { + "x": 998, + "y": 260 + }, + "radius": 204.53, + "bbox": { + "x": 894, + "y": 58, + "width": 251, + "height": 382 + } + }, + { + "polygon": [ + { + "x": 1080, + "y": 269 + }, + { + "x": 1086, + "y": 296 + }, + { + "x": 1093, + "y": 307 + }, + { + "x": 1092, + "y": 318 + }, + { + "x": 1082, + "y": 330 + }, + { + "x": 1014, + "y": 339 + }, + { + "x": 996, + "y": 329 + }, + { + "x": 996, + "y": 307 + }, + { + "x": 1028, + "y": 287 + }, + { + "x": 1051, + "y": 262 + }, + { + "x": 1068, + "y": 260 + } + ], + "center": { + "x": 1041, + "y": 304 + }, + "radius": 53.2277, + "bbox": { + "x": 996, + "y": 260, + "width": 98, + "height": 80 + } + }, + { + "polygon": [ + { + "x": 958, + "y": 208 + }, + { + "x": 986, + "y": 212 + }, + { + "x": 998, + "y": 227 + }, + { + "x": 991, + "y": 258 + }, + { + "x": 977, + "y": 271 + }, + { + "x": 960, + "y": 269 + }, + { + "x": 943, + "y": 247 + }, + { + "x": 944, + "y": 221 + } + ], + "center": { + "x": 967, + "y": 239 + }, + "radius": 33.8884, + "bbox": { + "x": 943, + "y": 208, + "width": 56, + "height": 64 + } + } + ] + } + } + }, + { + "image": "./test_set/good/8c2dc464-cc94-4e46-9497-63340d972cd3.JPG", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 314, + 1 + ], + [ + 1748, + 1079 + ] + ], + "bbox": { + "x": 314, + "y": 1, + "width": 1434, + "height": 1078 + }, + "confidence": 0.268261, + "polygon": [ + [ + 1572, + 1 + ], + [ + 804, + 1 + ], + [ + 801, + 26 + ], + [ + 763, + 66 + ], + [ + 697, + 118 + ], + [ + 682, + 117 + ], + [ + 672, + 108 + ], + [ + 658, + 70 + ], + [ + 639, + 51 + ], + [ + 605, + 42 + ], + [ + 580, + 42 + ], + [ + 557, + 48 + ], + [ + 532, + 82 + ], + [ + 509, + 91 + ], + [ + 489, + 112 + ], + [ + 428, + 205 + ], + [ + 367, + 208 + ], + [ + 352, + 215 + ], + [ + 365, + 231 + ], + [ + 373, + 295 + ], + [ + 404, + 298 + ], + [ + 420, + 325 + ], + [ + 420, + 378 + ], + [ + 395, + 423 + ], + [ + 420, + 470 + ], + [ + 420, + 589 + ], + [ + 408, + 604 + ], + [ + 362, + 615 + ], + [ + 355, + 634 + ], + [ + 357, + 664 + ], + [ + 368, + 709 + ], + [ + 398, + 768 + ], + [ + 399, + 780 + ], + [ + 348, + 848 + ], + [ + 347, + 875 + ], + [ + 334, + 889 + ], + [ + 342, + 919 + ], + [ + 314, + 966 + ], + [ + 318, + 978 + ], + [ + 351, + 1008 + ], + [ + 356, + 1039 + ], + [ + 351, + 1061 + ], + [ + 360, + 1078 + ], + [ + 859, + 1078 + ], + [ + 862, + 1047 + ], + [ + 918, + 999 + ], + [ + 951, + 962 + ], + [ + 970, + 926 + ], + [ + 983, + 881 + ], + [ + 1001, + 871 + ], + [ + 1030, + 873 + ], + [ + 1047, + 884 + ], + [ + 1057, + 898 + ], + [ + 1054, + 922 + ], + [ + 1060, + 938 + ], + [ + 1060, + 958 + ], + [ + 1051, + 986 + ], + [ + 1037, + 995 + ], + [ + 1047, + 1055 + ], + [ + 1037, + 1069 + ], + [ + 1023, + 1071 + ], + [ + 1025, + 1078 + ], + [ + 1119, + 1078 + ], + [ + 1119, + 1050 + ], + [ + 1130, + 1031 + ], + [ + 1141, + 989 + ], + [ + 1150, + 978 + ], + [ + 1170, + 977 + ], + [ + 1192, + 999 + ], + [ + 1209, + 1007 + ], + [ + 1227, + 1009 + ], + [ + 1247, + 1007 + ], + [ + 1295, + 981 + ], + [ + 1300, + 969 + ], + [ + 1298, + 946 + ], + [ + 1282, + 892 + ], + [ + 1283, + 880 + ], + [ + 1292, + 869 + ], + [ + 1312, + 868 + ], + [ + 1387, + 907 + ], + [ + 1409, + 904 + ], + [ + 1431, + 888 + ], + [ + 1449, + 845 + ], + [ + 1457, + 806 + ], + [ + 1466, + 795 + ], + [ + 1554, + 776 + ], + [ + 1578, + 764 + ], + [ + 1647, + 715 + ], + [ + 1663, + 698 + ], + [ + 1715, + 619 + ], + [ + 1732, + 568 + ], + [ + 1737, + 522 + ], + [ + 1732, + 503 + ], + [ + 1715, + 492 + ], + [ + 1712, + 476 + ], + [ + 1724, + 454 + ], + [ + 1742, + 450 + ], + [ + 1747, + 427 + ], + [ + 1744, + 408 + ], + [ + 1720, + 362 + ], + [ + 1686, + 311 + ], + [ + 1663, + 293 + ], + [ + 1648, + 268 + ], + [ + 1641, + 229 + ], + [ + 1659, + 181 + ], + [ + 1651, + 131 + ], + [ + 1653, + 104 + ], + [ + 1577, + 19 + ] + ], + "center": [ + 966, + 539 + ], + "radius": 835.011, + "regions": [ + { + "polygon": [ + { + "x": 350, + "y": 215 + } + ], + "center": { + "x": 350, + "y": 215 + }, + "radius": 1, + "bbox": { + "x": 350, + "y": 215, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1572, + "y": 1 + }, + { + "x": 804, + "y": 1 + }, + { + "x": 801, + "y": 26 + }, + { + "x": 763, + "y": 66 + }, + { + "x": 697, + "y": 118 + }, + { + "x": 682, + "y": 117 + }, + { + "x": 672, + "y": 108 + }, + { + "x": 658, + "y": 70 + }, + { + "x": 639, + "y": 51 + }, + { + "x": 605, + "y": 42 + }, + { + "x": 580, + "y": 42 + }, + { + "x": 557, + "y": 48 + }, + { + "x": 532, + "y": 82 + }, + { + "x": 509, + "y": 91 + }, + { + "x": 489, + "y": 112 + }, + { + "x": 428, + "y": 205 + }, + { + "x": 367, + "y": 208 + }, + { + "x": 352, + "y": 215 + }, + { + "x": 365, + "y": 231 + }, + { + "x": 373, + "y": 295 + }, + { + "x": 404, + "y": 298 + }, + { + "x": 420, + "y": 325 + }, + { + "x": 420, + "y": 378 + }, + { + "x": 395, + "y": 423 + }, + { + "x": 420, + "y": 470 + }, + { + "x": 420, + "y": 589 + }, + { + "x": 408, + "y": 604 + }, + { + "x": 362, + "y": 615 + }, + { + "x": 355, + "y": 634 + }, + { + "x": 357, + "y": 664 + }, + { + "x": 368, + "y": 709 + }, + { + "x": 398, + "y": 768 + }, + { + "x": 399, + "y": 780 + }, + { + "x": 348, + "y": 848 + }, + { + "x": 347, + "y": 875 + }, + { + "x": 334, + "y": 889 + }, + { + "x": 342, + "y": 919 + }, + { + "x": 314, + "y": 966 + }, + { + "x": 318, + "y": 978 + }, + { + "x": 351, + "y": 1008 + }, + { + "x": 356, + "y": 1039 + }, + { + "x": 351, + "y": 1061 + }, + { + "x": 360, + "y": 1078 + }, + { + "x": 859, + "y": 1078 + }, + { + "x": 862, + "y": 1047 + }, + { + "x": 918, + "y": 999 + }, + { + "x": 951, + "y": 962 + }, + { + "x": 970, + "y": 926 + }, + { + "x": 983, + "y": 881 + }, + { + "x": 1001, + "y": 871 + }, + { + "x": 1030, + "y": 873 + }, + { + "x": 1047, + "y": 884 + }, + { + "x": 1057, + "y": 898 + }, + { + "x": 1054, + "y": 922 + }, + { + "x": 1060, + "y": 938 + }, + { + "x": 1060, + "y": 958 + }, + { + "x": 1051, + "y": 986 + }, + { + "x": 1037, + "y": 995 + }, + { + "x": 1047, + "y": 1055 + }, + { + "x": 1037, + "y": 1069 + }, + { + "x": 1023, + "y": 1071 + }, + { + "x": 1025, + "y": 1078 + }, + { + "x": 1119, + "y": 1078 + }, + { + "x": 1119, + "y": 1050 + }, + { + "x": 1130, + "y": 1031 + }, + { + "x": 1141, + "y": 989 + }, + { + "x": 1150, + "y": 978 + }, + { + "x": 1170, + "y": 977 + }, + { + "x": 1192, + "y": 999 + }, + { + "x": 1209, + "y": 1007 + }, + { + "x": 1227, + "y": 1009 + }, + { + "x": 1247, + "y": 1007 + }, + { + "x": 1295, + "y": 981 + }, + { + "x": 1300, + "y": 969 + }, + { + "x": 1298, + "y": 946 + }, + { + "x": 1282, + "y": 892 + }, + { + "x": 1283, + "y": 880 + }, + { + "x": 1292, + "y": 869 + }, + { + "x": 1312, + "y": 868 + }, + { + "x": 1387, + "y": 907 + }, + { + "x": 1409, + "y": 904 + }, + { + "x": 1431, + "y": 888 + }, + { + "x": 1449, + "y": 845 + }, + { + "x": 1457, + "y": 806 + }, + { + "x": 1466, + "y": 795 + }, + { + "x": 1554, + "y": 776 + }, + { + "x": 1578, + "y": 764 + }, + { + "x": 1647, + "y": 715 + }, + { + "x": 1663, + "y": 698 + }, + { + "x": 1715, + "y": 619 + }, + { + "x": 1732, + "y": 568 + }, + { + "x": 1737, + "y": 522 + }, + { + "x": 1732, + "y": 503 + }, + { + "x": 1715, + "y": 492 + }, + { + "x": 1712, + "y": 476 + }, + { + "x": 1724, + "y": 454 + }, + { + "x": 1742, + "y": 450 + }, + { + "x": 1747, + "y": 427 + }, + { + "x": 1744, + "y": 408 + }, + { + "x": 1720, + "y": 362 + }, + { + "x": 1686, + "y": 311 + }, + { + "x": 1663, + "y": 293 + }, + { + "x": 1648, + "y": 268 + }, + { + "x": 1641, + "y": 229 + }, + { + "x": 1659, + "y": 181 + }, + { + "x": 1651, + "y": 131 + }, + { + "x": 1653, + "y": 104 + }, + { + "x": 1577, + "y": 19 + } + ], + "center": { + "x": 966, + "y": 539 + }, + "radius": 835.011, + "bbox": { + "x": 314, + "y": 1, + "width": 1434, + "height": 1078 + } + }, + { + "polygon": [ + { + "x": 1224, + "y": 805 + }, + { + "x": 1241, + "y": 804 + }, + { + "x": 1255, + "y": 814 + }, + { + "x": 1258, + "y": 830 + }, + { + "x": 1248, + "y": 844 + }, + { + "x": 1231, + "y": 846 + }, + { + "x": 1215, + "y": 835 + }, + { + "x": 1212, + "y": 820 + } + ], + "center": { + "x": 1235, + "y": 825 + }, + "radius": 24.2433, + "bbox": { + "x": 1212, + "y": 804, + "width": 47, + "height": 43 + } + }, + { + "polygon": [ + { + "x": 1517, + "y": 58 + }, + { + "x": 1527, + "y": 72 + }, + { + "x": 1517, + "y": 109 + }, + { + "x": 1458, + "y": 176 + }, + { + "x": 1436, + "y": 176 + }, + { + "x": 1426, + "y": 162 + }, + { + "x": 1429, + "y": 115 + }, + { + "x": 1479, + "y": 64 + }, + { + "x": 1505, + "y": 55 + } + ], + "center": { + "x": 1476, + "y": 117 + }, + "radius": 73.7098, + "bbox": { + "x": 1426, + "y": 55, + "width": 102, + "height": 122 + } + } + ] + } + } + }, + { + "image": "./test_set/good/97f95029-73c1-457a-a4dc-3a4d5e629b6e.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 1, + 560 + ], + [ + 4159, + 3119 + ] + ], + "bbox": { + "x": 1, + "y": 560, + "width": 4158, + "height": 2559 + }, + "confidence": 0.219727, + "polygon": [ + [ + 1, + 1025 + ], + [ + 1, + 3118 + ], + [ + 4158, + 3118 + ], + [ + 4158, + 1247 + ], + [ + 4142, + 1243 + ], + [ + 4116, + 1247 + ], + [ + 4099, + 1242 + ], + [ + 4085, + 1246 + ], + [ + 4042, + 1236 + ], + [ + 4025, + 1239 + ], + [ + 4002, + 1234 + ], + [ + 3967, + 1235 + ], + [ + 3941, + 1224 + ], + [ + 3908, + 1226 + ], + [ + 3896, + 1237 + ], + [ + 3885, + 1240 + ], + [ + 3874, + 1237 + ], + [ + 3862, + 1226 + ], + [ + 3838, + 1230 + ], + [ + 3805, + 1222 + ], + [ + 3782, + 1224 + ], + [ + 3771, + 1219 + ], + [ + 3760, + 1202 + ], + [ + 3750, + 1197 + ], + [ + 3713, + 1229 + ], + [ + 3685, + 1225 + ], + [ + 3642, + 1234 + ], + [ + 3626, + 1229 + ], + [ + 3610, + 1235 + ], + [ + 3597, + 1231 + ], + [ + 3582, + 1215 + ], + [ + 3572, + 1213 + ], + [ + 3550, + 1193 + ], + [ + 3546, + 1183 + ], + [ + 3548, + 1171 + ], + [ + 3529, + 1173 + ], + [ + 3516, + 1203 + ], + [ + 3513, + 1229 + ], + [ + 3505, + 1237 + ], + [ + 3492, + 1240 + ], + [ + 3481, + 1237 + ], + [ + 3472, + 1226 + ], + [ + 3460, + 1173 + ], + [ + 3454, + 1171 + ], + [ + 3436, + 1179 + ], + [ + 3404, + 1178 + ], + [ + 3382, + 1156 + ], + [ + 3364, + 1152 + ], + [ + 3342, + 1135 + ], + [ + 3275, + 1164 + ], + [ + 3272, + 1177 + ], + [ + 3263, + 1185 + ], + [ + 3220, + 1183 + ], + [ + 3215, + 1199 + ], + [ + 3206, + 1207 + ], + [ + 3121, + 1213 + ], + [ + 3105, + 1205 + ], + [ + 3069, + 1203 + ], + [ + 3059, + 1189 + ], + [ + 3062, + 1173 + ], + [ + 3042, + 1167 + ], + [ + 3026, + 1180 + ], + [ + 2991, + 1187 + ], + [ + 2953, + 1183 + ], + [ + 2915, + 1190 + ], + [ + 2881, + 1187 + ], + [ + 2867, + 1174 + ], + [ + 2861, + 1145 + ], + [ + 2843, + 1154 + ], + [ + 2806, + 1157 + ], + [ + 2766, + 1137 + ], + [ + 2748, + 1141 + ], + [ + 2704, + 1134 + ], + [ + 2678, + 1150 + ], + [ + 2646, + 1146 + ], + [ + 2628, + 1155 + ], + [ + 2596, + 1151 + ], + [ + 2557, + 1153 + ], + [ + 2539, + 1143 + ], + [ + 2530, + 1149 + ], + [ + 2516, + 1149 + ], + [ + 2457, + 1133 + ], + [ + 2448, + 1122 + ], + [ + 2447, + 1110 + ], + [ + 2458, + 1095 + ], + [ + 2440, + 1092 + ], + [ + 2426, + 1098 + ], + [ + 2416, + 1095 + ], + [ + 2429, + 1108 + ], + [ + 2429, + 1122 + ], + [ + 2420, + 1133 + ], + [ + 2396, + 1141 + ], + [ + 2212, + 1154 + ], + [ + 2173, + 1152 + ], + [ + 2159, + 1157 + ], + [ + 2145, + 1154 + ], + [ + 2086, + 1111 + ], + [ + 1974, + 1120 + ], + [ + 1935, + 1116 + ], + [ + 1923, + 1109 + ], + [ + 1911, + 1093 + ], + [ + 1912, + 968 + ], + [ + 1920, + 955 + ], + [ + 1891, + 911 + ], + [ + 1892, + 898 + ], + [ + 1900, + 888 + ], + [ + 1795, + 795 + ], + [ + 1692, + 886 + ], + [ + 1701, + 897 + ], + [ + 1702, + 908 + ], + [ + 1672, + 954 + ], + [ + 1682, + 970 + ], + [ + 1682, + 987 + ], + [ + 1672, + 1001 + ], + [ + 1657, + 1003 + ], + [ + 1648, + 1015 + ], + [ + 1497, + 1032 + ], + [ + 1451, + 990 + ], + [ + 1419, + 990 + ], + [ + 1112, + 949 + ], + [ + 1091, + 931 + ], + [ + 1092, + 910 + ], + [ + 1086, + 900 + ], + [ + 1086, + 886 + ], + [ + 1054, + 876 + ], + [ + 1045, + 865 + ], + [ + 1048, + 841 + ], + [ + 1030, + 820 + ], + [ + 1031, + 788 + ], + [ + 1024, + 771 + ], + [ + 1011, + 756 + ], + [ + 989, + 749 + ], + [ + 980, + 737 + ], + [ + 969, + 747 + ], + [ + 937, + 756 + ], + [ + 930, + 764 + ], + [ + 923, + 781 + ], + [ + 927, + 813 + ], + [ + 910, + 831 + ], + [ + 915, + 845 + ], + [ + 914, + 862 + ], + [ + 902, + 875 + ], + [ + 878, + 874 + ], + [ + 868, + 860 + ], + [ + 866, + 811 + ], + [ + 882, + 794 + ], + [ + 882, + 788 + ], + [ + 832, + 726 + ], + [ + 833, + 707 + ], + [ + 847, + 693 + ], + [ + 689, + 560 + ], + [ + 541, + 683 + ], + [ + 539, + 688 + ], + [ + 555, + 704 + ], + [ + 556, + 716 + ], + [ + 509, + 783 + ], + [ + 528, + 804 + ], + [ + 524, + 820 + ], + [ + 527, + 858 + ], + [ + 517, + 872 + ], + [ + 506, + 875 + ], + [ + 389, + 861 + ], + [ + 349, + 851 + ], + [ + 336, + 861 + ], + [ + 306, + 871 + ], + [ + 282, + 903 + ], + [ + 269, + 913 + ], + [ + 173, + 906 + ], + [ + 170, + 917 + ], + [ + 153, + 928 + ], + [ + 131, + 954 + ], + [ + 78, + 1031 + ], + [ + 66, + 1034 + ] + ], + "center": [ + 2079, + 2071 + ], + "radius": 2396.9, + "regions": [ + { + "polygon": [ + { + "x": 2438, + "y": 1040 + }, + { + "x": 2436, + "y": 1059 + } + ], + "center": { + "x": 2437, + "y": 1049 + }, + "radius": 9.83906, + "bbox": { + "x": 2436, + "y": 1040, + "width": 3, + "height": 20 + } + }, + { + "polygon": [ + { + "x": 1, + "y": 1025 + }, + { + "x": 1, + "y": 3118 + }, + { + "x": 4158, + "y": 3118 + }, + { + "x": 4158, + "y": 1247 + }, + { + "x": 4142, + "y": 1243 + }, + { + "x": 4116, + "y": 1247 + }, + { + "x": 4099, + "y": 1242 + }, + { + "x": 4085, + "y": 1246 + }, + { + "x": 4042, + "y": 1236 + }, + { + "x": 4025, + "y": 1239 + }, + { + "x": 4002, + "y": 1234 + }, + { + "x": 3967, + "y": 1235 + }, + { + "x": 3941, + "y": 1224 + }, + { + "x": 3908, + "y": 1226 + }, + { + "x": 3896, + "y": 1237 + }, + { + "x": 3885, + "y": 1240 + }, + { + "x": 3874, + "y": 1237 + }, + { + "x": 3862, + "y": 1226 + }, + { + "x": 3838, + "y": 1230 + }, + { + "x": 3805, + "y": 1222 + }, + { + "x": 3782, + "y": 1224 + }, + { + "x": 3771, + "y": 1219 + }, + { + "x": 3760, + "y": 1202 + }, + { + "x": 3750, + "y": 1197 + }, + { + "x": 3713, + "y": 1229 + }, + { + "x": 3685, + "y": 1225 + }, + { + "x": 3642, + "y": 1234 + }, + { + "x": 3626, + "y": 1229 + }, + { + "x": 3610, + "y": 1235 + }, + { + "x": 3597, + "y": 1231 + }, + { + "x": 3582, + "y": 1215 + }, + { + "x": 3572, + "y": 1213 + }, + { + "x": 3550, + "y": 1193 + }, + { + "x": 3546, + "y": 1183 + }, + { + "x": 3548, + "y": 1171 + }, + { + "x": 3529, + "y": 1173 + }, + { + "x": 3516, + "y": 1203 + }, + { + "x": 3513, + "y": 1229 + }, + { + "x": 3505, + "y": 1237 + }, + { + "x": 3492, + "y": 1240 + }, + { + "x": 3481, + "y": 1237 + }, + { + "x": 3472, + "y": 1226 + }, + { + "x": 3460, + "y": 1173 + }, + { + "x": 3454, + "y": 1171 + }, + { + "x": 3436, + "y": 1179 + }, + { + "x": 3404, + "y": 1178 + }, + { + "x": 3382, + "y": 1156 + }, + { + "x": 3364, + "y": 1152 + }, + { + "x": 3342, + "y": 1135 + }, + { + "x": 3275, + "y": 1164 + }, + { + "x": 3272, + "y": 1177 + }, + { + "x": 3263, + "y": 1185 + }, + { + "x": 3220, + "y": 1183 + }, + { + "x": 3215, + "y": 1199 + }, + { + "x": 3206, + "y": 1207 + }, + { + "x": 3121, + "y": 1213 + }, + { + "x": 3105, + "y": 1205 + }, + { + "x": 3069, + "y": 1203 + }, + { + "x": 3059, + "y": 1189 + }, + { + "x": 3062, + "y": 1173 + }, + { + "x": 3042, + "y": 1167 + }, + { + "x": 3026, + "y": 1180 + }, + { + "x": 2991, + "y": 1187 + }, + { + "x": 2953, + "y": 1183 + }, + { + "x": 2915, + "y": 1190 + }, + { + "x": 2881, + "y": 1187 + }, + { + "x": 2867, + "y": 1174 + }, + { + "x": 2861, + "y": 1145 + }, + { + "x": 2843, + "y": 1154 + }, + { + "x": 2806, + "y": 1157 + }, + { + "x": 2766, + "y": 1137 + }, + { + "x": 2748, + "y": 1141 + }, + { + "x": 2704, + "y": 1134 + }, + { + "x": 2678, + "y": 1150 + }, + { + "x": 2646, + "y": 1146 + }, + { + "x": 2628, + "y": 1155 + }, + { + "x": 2596, + "y": 1151 + }, + { + "x": 2557, + "y": 1153 + }, + { + "x": 2539, + "y": 1143 + }, + { + "x": 2530, + "y": 1149 + }, + { + "x": 2516, + "y": 1149 + }, + { + "x": 2457, + "y": 1133 + }, + { + "x": 2448, + "y": 1122 + }, + { + "x": 2447, + "y": 1110 + }, + { + "x": 2458, + "y": 1095 + }, + { + "x": 2440, + "y": 1092 + }, + { + "x": 2426, + "y": 1098 + }, + { + "x": 2416, + "y": 1095 + }, + { + "x": 2429, + "y": 1108 + }, + { + "x": 2429, + "y": 1122 + }, + { + "x": 2420, + "y": 1133 + }, + { + "x": 2396, + "y": 1141 + }, + { + "x": 2212, + "y": 1154 + }, + { + "x": 2173, + "y": 1152 + }, + { + "x": 2159, + "y": 1157 + }, + { + "x": 2145, + "y": 1154 + }, + { + "x": 2086, + "y": 1111 + }, + { + "x": 1974, + "y": 1120 + }, + { + "x": 1935, + "y": 1116 + }, + { + "x": 1923, + "y": 1109 + }, + { + "x": 1911, + "y": 1093 + }, + { + "x": 1912, + "y": 968 + }, + { + "x": 1920, + "y": 955 + }, + { + "x": 1891, + "y": 911 + }, + { + "x": 1892, + "y": 898 + }, + { + "x": 1900, + "y": 888 + }, + { + "x": 1795, + "y": 795 + }, + { + "x": 1692, + "y": 886 + }, + { + "x": 1701, + "y": 897 + }, + { + "x": 1702, + "y": 908 + }, + { + "x": 1672, + "y": 954 + }, + { + "x": 1682, + "y": 970 + }, + { + "x": 1682, + "y": 987 + }, + { + "x": 1672, + "y": 1001 + }, + { + "x": 1657, + "y": 1003 + }, + { + "x": 1648, + "y": 1015 + }, + { + "x": 1497, + "y": 1032 + }, + { + "x": 1451, + "y": 990 + }, + { + "x": 1419, + "y": 990 + }, + { + "x": 1112, + "y": 949 + }, + { + "x": 1091, + "y": 931 + }, + { + "x": 1092, + "y": 910 + }, + { + "x": 1086, + "y": 900 + }, + { + "x": 1086, + "y": 886 + }, + { + "x": 1054, + "y": 876 + }, + { + "x": 1045, + "y": 865 + }, + { + "x": 1048, + "y": 841 + }, + { + "x": 1030, + "y": 820 + }, + { + "x": 1031, + "y": 788 + }, + { + "x": 1024, + "y": 771 + }, + { + "x": 1011, + "y": 756 + }, + { + "x": 989, + "y": 749 + }, + { + "x": 980, + "y": 737 + }, + { + "x": 969, + "y": 747 + }, + { + "x": 937, + "y": 756 + }, + { + "x": 930, + "y": 764 + }, + { + "x": 923, + "y": 781 + }, + { + "x": 927, + "y": 813 + }, + { + "x": 910, + "y": 831 + }, + { + "x": 915, + "y": 845 + }, + { + "x": 914, + "y": 862 + }, + { + "x": 902, + "y": 875 + }, + { + "x": 878, + "y": 874 + }, + { + "x": 868, + "y": 860 + }, + { + "x": 866, + "y": 811 + }, + { + "x": 882, + "y": 794 + }, + { + "x": 882, + "y": 788 + }, + { + "x": 832, + "y": 726 + }, + { + "x": 833, + "y": 707 + }, + { + "x": 847, + "y": 693 + }, + { + "x": 689, + "y": 560 + }, + { + "x": 541, + "y": 683 + }, + { + "x": 539, + "y": 688 + }, + { + "x": 555, + "y": 704 + }, + { + "x": 556, + "y": 716 + }, + { + "x": 509, + "y": 783 + }, + { + "x": 528, + "y": 804 + }, + { + "x": 524, + "y": 820 + }, + { + "x": 527, + "y": 858 + }, + { + "x": 517, + "y": 872 + }, + { + "x": 506, + "y": 875 + }, + { + "x": 389, + "y": 861 + }, + { + "x": 349, + "y": 851 + }, + { + "x": 336, + "y": 861 + }, + { + "x": 306, + "y": 871 + }, + { + "x": 282, + "y": 903 + }, + { + "x": 269, + "y": 913 + }, + { + "x": 173, + "y": 906 + }, + { + "x": 170, + "y": 917 + }, + { + "x": 153, + "y": 928 + }, + { + "x": 131, + "y": 954 + }, + { + "x": 78, + "y": 1031 + }, + { + "x": 66, + "y": 1034 + } + ], + "center": { + "x": 2079, + "y": 2071 + }, + "radius": 2396.9, + "bbox": { + "x": 1, + "y": 560, + "width": 4158, + "height": 2559 + } + }, + { + "polygon": [ + { + "x": 167, + "y": 934 + }, + { + "x": 185, + "y": 934 + }, + { + "x": 196, + "y": 946 + }, + { + "x": 204, + "y": 979 + }, + { + "x": 192, + "y": 994 + }, + { + "x": 170, + "y": 994 + }, + { + "x": 155, + "y": 988 + }, + { + "x": 146, + "y": 977 + }, + { + "x": 148, + "y": 956 + } + ], + "center": { + "x": 176, + "y": 965 + }, + "radius": 33.6441, + "bbox": { + "x": 146, + "y": 934, + "width": 59, + "height": 61 + } + } + ] + } + } + }, + { + "image": "./test_set/good/Beautiful-AI-bg.png", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 425, + 109 + ], + [ + 1327, + 1002 + ] + ], + "bbox": { + "x": 425, + "y": 109, + "width": 902, + "height": 893 + }, + "confidence": 0.215825, + "polygon": [ + [ + 1217, + 255 + ], + [ + 1193, + 242 + ], + [ + 1172, + 243 + ], + [ + 1163, + 235 + ], + [ + 1152, + 248 + ], + [ + 1132, + 247 + ], + [ + 1100, + 222 + ], + [ + 1097, + 206 + ], + [ + 1102, + 196 + ], + [ + 1087, + 181 + ], + [ + 1053, + 177 + ], + [ + 1040, + 167 + ], + [ + 1035, + 156 + ], + [ + 1038, + 135 + ], + [ + 1017, + 123 + ], + [ + 1008, + 111 + ], + [ + 984, + 126 + ], + [ + 974, + 141 + ], + [ + 951, + 147 + ], + [ + 937, + 143 + ], + [ + 927, + 124 + ], + [ + 917, + 122 + ], + [ + 907, + 109 + ], + [ + 894, + 113 + ], + [ + 884, + 131 + ], + [ + 896, + 181 + ], + [ + 895, + 194 + ], + [ + 884, + 206 + ], + [ + 864, + 205 + ], + [ + 854, + 187 + ], + [ + 836, + 186 + ], + [ + 816, + 166 + ], + [ + 798, + 164 + ], + [ + 783, + 178 + ], + [ + 763, + 184 + ], + [ + 752, + 181 + ], + [ + 738, + 164 + ], + [ + 723, + 164 + ], + [ + 730, + 190 + ], + [ + 720, + 204 + ], + [ + 693, + 204 + ], + [ + 672, + 216 + ], + [ + 636, + 221 + ], + [ + 620, + 238 + ], + [ + 592, + 252 + ], + [ + 571, + 252 + ], + [ + 554, + 278 + ], + [ + 542, + 407 + ], + [ + 530, + 416 + ], + [ + 457, + 432 + ], + [ + 457, + 793 + ], + [ + 447, + 831 + ], + [ + 430, + 846 + ], + [ + 435, + 873 + ], + [ + 425, + 895 + ], + [ + 434, + 906 + ], + [ + 436, + 918 + ], + [ + 445, + 920 + ], + [ + 454, + 931 + ], + [ + 455, + 978 + ], + [ + 546, + 983 + ], + [ + 574, + 978 + ], + [ + 631, + 982 + ], + [ + 800, + 981 + ], + [ + 818, + 984 + ], + [ + 829, + 991 + ], + [ + 838, + 979 + ], + [ + 849, + 976 + ], + [ + 871, + 986 + ], + [ + 901, + 987 + ], + [ + 937, + 974 + ], + [ + 948, + 977 + ], + [ + 956, + 986 + ], + [ + 971, + 981 + ], + [ + 980, + 983 + ], + [ + 996, + 1001 + ], + [ + 1033, + 958 + ], + [ + 1048, + 954 + ], + [ + 1078, + 958 + ], + [ + 1096, + 989 + ], + [ + 1114, + 980 + ], + [ + 1133, + 989 + ], + [ + 1141, + 986 + ], + [ + 1152, + 964 + ], + [ + 1135, + 925 + ], + [ + 1115, + 843 + ], + [ + 1118, + 826 + ], + [ + 1128, + 817 + ], + [ + 1194, + 794 + ], + [ + 1273, + 757 + ], + [ + 1291, + 745 + ], + [ + 1303, + 727 + ], + [ + 1321, + 724 + ], + [ + 1326, + 702 + ], + [ + 1326, + 645 + ], + [ + 1307, + 611 + ], + [ + 1303, + 591 + ], + [ + 1280, + 621 + ], + [ + 1288, + 690 + ], + [ + 1277, + 705 + ], + [ + 1169, + 745 + ], + [ + 1146, + 746 + ], + [ + 1137, + 738 + ], + [ + 1129, + 717 + ], + [ + 1129, + 673 + ], + [ + 1123, + 662 + ], + [ + 1126, + 632 + ], + [ + 1110, + 630 + ], + [ + 1100, + 616 + ], + [ + 1101, + 604 + ], + [ + 1116, + 571 + ], + [ + 1111, + 560 + ], + [ + 1115, + 535 + ], + [ + 1109, + 509 + ], + [ + 1119, + 495 + ], + [ + 1142, + 488 + ], + [ + 1144, + 462 + ], + [ + 1156, + 453 + ], + [ + 1187, + 454 + ], + [ + 1197, + 468 + ], + [ + 1193, + 489 + ], + [ + 1212, + 458 + ], + [ + 1234, + 454 + ], + [ + 1221, + 436 + ], + [ + 1202, + 446 + ], + [ + 1166, + 439 + ], + [ + 1147, + 409 + ], + [ + 1145, + 376 + ], + [ + 1151, + 366 + ], + [ + 1150, + 338 + ], + [ + 1161, + 323 + ], + [ + 1189, + 313 + ], + [ + 1204, + 313 + ], + [ + 1217, + 323 + ], + [ + 1220, + 339 + ] + ], + "center": [ + 813, + 596 + ], + "radius": 538.972, + "regions": [ + { + "polygon": [ + { + "x": 1188, + "y": 517 + }, + { + "x": 1195, + "y": 529 + } + ], + "center": { + "x": 1191, + "y": 523 + }, + "radius": 7.15461, + "bbox": { + "x": 1188, + "y": 517, + "width": 8, + "height": 13 + } + }, + { + "polygon": [ + { + "x": 1267, + "y": 413 + }, + { + "x": 1277, + "y": 439 + }, + { + "x": 1284, + "y": 444 + }, + { + "x": 1275, + "y": 424 + }, + { + "x": 1276, + "y": 413 + } + ], + "center": { + "x": 1275, + "y": 428 + }, + "radius": 18.208, + "bbox": { + "x": 1267, + "y": 413, + "width": 18, + "height": 32 + } + }, + { + "polygon": [ + { + "x": 1245, + "y": 396 + }, + { + "x": 1240, + "y": 397 + }, + { + "x": 1237, + "y": 405 + }, + { + "x": 1248, + "y": 403 + } + ], + "center": { + "x": 1242, + "y": 401 + }, + "radius": 6.3618, + "bbox": { + "x": 1237, + "y": 396, + "width": 12, + "height": 10 + } + }, + { + "polygon": [ + { + "x": 1219, + "y": 344 + }, + { + "x": 1218, + "y": 349 + } + ], + "center": { + "x": 1218, + "y": 346 + }, + "radius": 2.626, + "bbox": { + "x": 1218, + "y": 344, + "width": 2, + "height": 6 + } + }, + { + "polygon": [ + { + "x": 1217, + "y": 255 + }, + { + "x": 1193, + "y": 242 + }, + { + "x": 1172, + "y": 243 + }, + { + "x": 1163, + "y": 235 + }, + { + "x": 1152, + "y": 248 + }, + { + "x": 1132, + "y": 247 + }, + { + "x": 1100, + "y": 222 + }, + { + "x": 1097, + "y": 206 + }, + { + "x": 1102, + "y": 196 + }, + { + "x": 1087, + "y": 181 + }, + { + "x": 1053, + "y": 177 + }, + { + "x": 1040, + "y": 167 + }, + { + "x": 1035, + "y": 156 + }, + { + "x": 1038, + "y": 135 + }, + { + "x": 1017, + "y": 123 + }, + { + "x": 1008, + "y": 111 + }, + { + "x": 984, + "y": 126 + }, + { + "x": 974, + "y": 141 + }, + { + "x": 951, + "y": 147 + }, + { + "x": 937, + "y": 143 + }, + { + "x": 927, + "y": 124 + }, + { + "x": 917, + "y": 122 + }, + { + "x": 907, + "y": 109 + }, + { + "x": 894, + "y": 113 + }, + { + "x": 884, + "y": 131 + }, + { + "x": 896, + "y": 181 + }, + { + "x": 895, + "y": 194 + }, + { + "x": 884, + "y": 206 + }, + { + "x": 864, + "y": 205 + }, + { + "x": 854, + "y": 187 + }, + { + "x": 836, + "y": 186 + }, + { + "x": 816, + "y": 166 + }, + { + "x": 798, + "y": 164 + }, + { + "x": 783, + "y": 178 + }, + { + "x": 763, + "y": 184 + }, + { + "x": 752, + "y": 181 + }, + { + "x": 738, + "y": 164 + }, + { + "x": 723, + "y": 164 + }, + { + "x": 730, + "y": 190 + }, + { + "x": 720, + "y": 204 + }, + { + "x": 693, + "y": 204 + }, + { + "x": 672, + "y": 216 + }, + { + "x": 636, + "y": 221 + }, + { + "x": 620, + "y": 238 + }, + { + "x": 592, + "y": 252 + }, + { + "x": 571, + "y": 252 + }, + { + "x": 554, + "y": 278 + }, + { + "x": 542, + "y": 407 + }, + { + "x": 530, + "y": 416 + }, + { + "x": 457, + "y": 432 + }, + { + "x": 457, + "y": 793 + }, + { + "x": 447, + "y": 831 + }, + { + "x": 430, + "y": 846 + }, + { + "x": 435, + "y": 873 + }, + { + "x": 425, + "y": 895 + }, + { + "x": 434, + "y": 906 + }, + { + "x": 436, + "y": 918 + }, + { + "x": 445, + "y": 920 + }, + { + "x": 454, + "y": 931 + }, + { + "x": 455, + "y": 978 + }, + { + "x": 546, + "y": 983 + }, + { + "x": 574, + "y": 978 + }, + { + "x": 631, + "y": 982 + }, + { + "x": 800, + "y": 981 + }, + { + "x": 818, + "y": 984 + }, + { + "x": 829, + "y": 991 + }, + { + "x": 838, + "y": 979 + }, + { + "x": 849, + "y": 976 + }, + { + "x": 871, + "y": 986 + }, + { + "x": 901, + "y": 987 + }, + { + "x": 937, + "y": 974 + }, + { + "x": 948, + "y": 977 + }, + { + "x": 956, + "y": 986 + }, + { + "x": 971, + "y": 981 + }, + { + "x": 980, + "y": 983 + }, + { + "x": 996, + "y": 1001 + }, + { + "x": 1033, + "y": 958 + }, + { + "x": 1048, + "y": 954 + }, + { + "x": 1078, + "y": 958 + }, + { + "x": 1096, + "y": 989 + }, + { + "x": 1114, + "y": 980 + }, + { + "x": 1133, + "y": 989 + }, + { + "x": 1141, + "y": 986 + }, + { + "x": 1152, + "y": 964 + }, + { + "x": 1135, + "y": 925 + }, + { + "x": 1115, + "y": 843 + }, + { + "x": 1118, + "y": 826 + }, + { + "x": 1128, + "y": 817 + }, + { + "x": 1194, + "y": 794 + }, + { + "x": 1273, + "y": 757 + }, + { + "x": 1291, + "y": 745 + }, + { + "x": 1303, + "y": 727 + }, + { + "x": 1321, + "y": 724 + }, + { + "x": 1326, + "y": 702 + }, + { + "x": 1326, + "y": 645 + }, + { + "x": 1307, + "y": 611 + }, + { + "x": 1303, + "y": 591 + }, + { + "x": 1280, + "y": 621 + }, + { + "x": 1288, + "y": 690 + }, + { + "x": 1277, + "y": 705 + }, + { + "x": 1169, + "y": 745 + }, + { + "x": 1146, + "y": 746 + }, + { + "x": 1137, + "y": 738 + }, + { + "x": 1129, + "y": 717 + }, + { + "x": 1129, + "y": 673 + }, + { + "x": 1123, + "y": 662 + }, + { + "x": 1126, + "y": 632 + }, + { + "x": 1110, + "y": 630 + }, + { + "x": 1100, + "y": 616 + }, + { + "x": 1101, + "y": 604 + }, + { + "x": 1116, + "y": 571 + }, + { + "x": 1111, + "y": 560 + }, + { + "x": 1115, + "y": 535 + }, + { + "x": 1109, + "y": 509 + }, + { + "x": 1119, + "y": 495 + }, + { + "x": 1142, + "y": 488 + }, + { + "x": 1144, + "y": 462 + }, + { + "x": 1156, + "y": 453 + }, + { + "x": 1187, + "y": 454 + }, + { + "x": 1197, + "y": 468 + }, + { + "x": 1193, + "y": 489 + }, + { + "x": 1212, + "y": 458 + }, + { + "x": 1234, + "y": 454 + }, + { + "x": 1221, + "y": 436 + }, + { + "x": 1202, + "y": 446 + }, + { + "x": 1166, + "y": 439 + }, + { + "x": 1147, + "y": 409 + }, + { + "x": 1145, + "y": 376 + }, + { + "x": 1151, + "y": 366 + }, + { + "x": 1150, + "y": 338 + }, + { + "x": 1161, + "y": 323 + }, + { + "x": 1189, + "y": 313 + }, + { + "x": 1204, + "y": 313 + }, + { + "x": 1217, + "y": 323 + }, + { + "x": 1220, + "y": 339 + } + ], + "center": { + "x": 813, + "y": 596 + }, + "radius": 538.972, + "bbox": { + "x": 425, + "y": 109, + "width": 902, + "height": 893 + } + } + ] + } + } + }, + { + "image": "./test_set/good/Bzd09cECYAAQz47.png-large", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 74, + 95 + ], + [ + 282, + 370 + ] + ], + "bbox": { + "x": 74, + "y": 95, + "width": 208, + "height": 275 + }, + "confidence": 0.354868, + "polygon": [ + [ + 227, + 95 + ], + [ + 208, + 105 + ], + [ + 176, + 98 + ], + [ + 172, + 119 + ], + [ + 152, + 132 + ], + [ + 136, + 153 + ], + [ + 124, + 157 + ], + [ + 130, + 178 + ], + [ + 118, + 196 + ], + [ + 111, + 234 + ], + [ + 101, + 247 + ], + [ + 94, + 249 + ], + [ + 96, + 267 + ], + [ + 86, + 288 + ], + [ + 74, + 300 + ], + [ + 78, + 314 + ], + [ + 92, + 316 + ], + [ + 102, + 330 + ], + [ + 99, + 349 + ], + [ + 88, + 357 + ], + [ + 113, + 369 + ], + [ + 163, + 360 + ], + [ + 199, + 365 + ], + [ + 227, + 363 + ], + [ + 225, + 324 + ], + [ + 211, + 328 + ], + [ + 199, + 324 + ], + [ + 134, + 326 + ], + [ + 123, + 323 + ], + [ + 113, + 309 + ], + [ + 116, + 293 + ], + [ + 127, + 282 + ], + [ + 138, + 279 + ], + [ + 164, + 286 + ], + [ + 179, + 274 + ], + [ + 179, + 264 + ], + [ + 160, + 274 + ], + [ + 149, + 271 + ], + [ + 139, + 261 + ], + [ + 136, + 246 + ], + [ + 147, + 231 + ], + [ + 169, + 229 + ], + [ + 182, + 247 + ], + [ + 197, + 236 + ], + [ + 218, + 235 + ], + [ + 226, + 224 + ], + [ + 221, + 206 + ], + [ + 236, + 184 + ], + [ + 249, + 181 + ], + [ + 281, + 149 + ] + ], + "center": [ + 170, + 232 + ], + "radius": 152.836, + "regions": [ + { + "polygon": [ + { + "x": 227, + "y": 95 + }, + { + "x": 208, + "y": 105 + }, + { + "x": 176, + "y": 98 + }, + { + "x": 172, + "y": 119 + }, + { + "x": 152, + "y": 132 + }, + { + "x": 136, + "y": 153 + }, + { + "x": 124, + "y": 157 + }, + { + "x": 130, + "y": 178 + }, + { + "x": 118, + "y": 196 + }, + { + "x": 111, + "y": 234 + }, + { + "x": 101, + "y": 247 + }, + { + "x": 94, + "y": 249 + }, + { + "x": 96, + "y": 267 + }, + { + "x": 86, + "y": 288 + }, + { + "x": 74, + "y": 300 + }, + { + "x": 78, + "y": 314 + }, + { + "x": 92, + "y": 316 + }, + { + "x": 102, + "y": 330 + }, + { + "x": 99, + "y": 349 + }, + { + "x": 88, + "y": 357 + }, + { + "x": 113, + "y": 369 + }, + { + "x": 163, + "y": 360 + }, + { + "x": 199, + "y": 365 + }, + { + "x": 227, + "y": 363 + }, + { + "x": 225, + "y": 324 + }, + { + "x": 211, + "y": 328 + }, + { + "x": 199, + "y": 324 + }, + { + "x": 134, + "y": 326 + }, + { + "x": 123, + "y": 323 + }, + { + "x": 113, + "y": 309 + }, + { + "x": 116, + "y": 293 + }, + { + "x": 127, + "y": 282 + }, + { + "x": 138, + "y": 279 + }, + { + "x": 164, + "y": 286 + }, + { + "x": 179, + "y": 274 + }, + { + "x": 179, + "y": 264 + }, + { + "x": 160, + "y": 274 + }, + { + "x": 149, + "y": 271 + }, + { + "x": 139, + "y": 261 + }, + { + "x": 136, + "y": 246 + }, + { + "x": 147, + "y": 231 + }, + { + "x": 169, + "y": 229 + }, + { + "x": 182, + "y": 247 + }, + { + "x": 197, + "y": 236 + }, + { + "x": 218, + "y": 235 + }, + { + "x": 226, + "y": 224 + }, + { + "x": 221, + "y": 206 + }, + { + "x": 236, + "y": 184 + }, + { + "x": 249, + "y": 181 + }, + { + "x": 281, + "y": 149 + } + ], + "center": { + "x": 170, + "y": 232 + }, + "radius": 152.836, + "bbox": { + "x": 74, + "y": 95, + "width": 208, + "height": 275 + } + } + ] + } + } + }, + { + "image": "./test_set/good/CFoQncDVIAA6VAp.jpg-large", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 108, + 100 + ], + [ + 981, + 817 + ] + ], + "bbox": { + "x": 108, + "y": 100, + "width": 873, + "height": 717 + }, + "confidence": 0.158328, + "polygon": [ + [ + 887, + 108 + ], + [ + 865, + 116 + ], + [ + 821, + 100 + ], + [ + 800, + 143 + ], + [ + 808, + 165 + ], + [ + 807, + 176 + ], + [ + 798, + 187 + ], + [ + 787, + 190 + ], + [ + 772, + 188 + ], + [ + 765, + 182 + ], + [ + 733, + 184 + ], + [ + 715, + 178 + ], + [ + 704, + 163 + ], + [ + 706, + 146 + ], + [ + 682, + 136 + ], + [ + 676, + 180 + ], + [ + 681, + 195 + ], + [ + 678, + 213 + ], + [ + 661, + 226 + ], + [ + 621, + 235 + ], + [ + 620, + 250 + ], + [ + 613, + 263 + ], + [ + 576, + 283 + ], + [ + 554, + 281 + ], + [ + 538, + 268 + ], + [ + 532, + 238 + ], + [ + 490, + 232 + ], + [ + 478, + 224 + ], + [ + 461, + 222 + ], + [ + 422, + 230 + ], + [ + 417, + 242 + ], + [ + 416, + 274 + ], + [ + 401, + 289 + ], + [ + 353, + 284 + ], + [ + 310, + 286 + ], + [ + 108, + 339 + ], + [ + 109, + 365 + ], + [ + 129, + 400 + ], + [ + 135, + 428 + ], + [ + 157, + 469 + ], + [ + 156, + 482 + ], + [ + 137, + 509 + ], + [ + 138, + 612 + ], + [ + 132, + 624 + ], + [ + 133, + 650 + ], + [ + 123, + 691 + ], + [ + 135, + 708 + ], + [ + 142, + 738 + ], + [ + 142, + 768 + ], + [ + 137, + 786 + ], + [ + 156, + 816 + ], + [ + 199, + 812 + ], + [ + 212, + 794 + ], + [ + 246, + 788 + ], + [ + 258, + 775 + ], + [ + 274, + 768 + ], + [ + 277, + 756 + ], + [ + 286, + 748 + ], + [ + 349, + 733 + ], + [ + 367, + 713 + ], + [ + 417, + 692 + ], + [ + 581, + 637 + ], + [ + 619, + 620 + ], + [ + 643, + 600 + ], + [ + 664, + 593 + ], + [ + 711, + 588 + ], + [ + 768, + 600 + ], + [ + 943, + 618 + ], + [ + 953, + 604 + ], + [ + 980, + 588 + ], + [ + 975, + 574 + ], + [ + 950, + 560 + ], + [ + 940, + 546 + ], + [ + 943, + 531 + ], + [ + 962, + 505 + ], + [ + 973, + 448 + ], + [ + 969, + 416 + ], + [ + 978, + 390 + ], + [ + 974, + 352 + ], + [ + 961, + 325 + ], + [ + 945, + 310 + ], + [ + 890, + 294 + ], + [ + 874, + 277 + ], + [ + 880, + 232 + ], + [ + 890, + 207 + ], + [ + 887, + 186 + ], + [ + 895, + 168 + ], + [ + 887, + 149 + ], + [ + 891, + 125 + ] + ], + "center": [ + 521, + 462 + ], + "radius": 524.093, + "regions": [ + { + "polygon": [ + { + "x": 887, + "y": 108 + }, + { + "x": 865, + "y": 116 + }, + { + "x": 821, + "y": 100 + }, + { + "x": 800, + "y": 143 + }, + { + "x": 808, + "y": 165 + }, + { + "x": 807, + "y": 176 + }, + { + "x": 798, + "y": 187 + }, + { + "x": 787, + "y": 190 + }, + { + "x": 772, + "y": 188 + }, + { + "x": 765, + "y": 182 + }, + { + "x": 733, + "y": 184 + }, + { + "x": 715, + "y": 178 + }, + { + "x": 704, + "y": 163 + }, + { + "x": 706, + "y": 146 + }, + { + "x": 682, + "y": 136 + }, + { + "x": 676, + "y": 180 + }, + { + "x": 681, + "y": 195 + }, + { + "x": 678, + "y": 213 + }, + { + "x": 661, + "y": 226 + }, + { + "x": 621, + "y": 235 + }, + { + "x": 620, + "y": 250 + }, + { + "x": 613, + "y": 263 + }, + { + "x": 576, + "y": 283 + }, + { + "x": 554, + "y": 281 + }, + { + "x": 538, + "y": 268 + }, + { + "x": 532, + "y": 238 + }, + { + "x": 490, + "y": 232 + }, + { + "x": 478, + "y": 224 + }, + { + "x": 461, + "y": 222 + }, + { + "x": 422, + "y": 230 + }, + { + "x": 417, + "y": 242 + }, + { + "x": 416, + "y": 274 + }, + { + "x": 401, + "y": 289 + }, + { + "x": 353, + "y": 284 + }, + { + "x": 310, + "y": 286 + }, + { + "x": 108, + "y": 339 + }, + { + "x": 109, + "y": 365 + }, + { + "x": 129, + "y": 400 + }, + { + "x": 135, + "y": 428 + }, + { + "x": 157, + "y": 469 + }, + { + "x": 156, + "y": 482 + }, + { + "x": 137, + "y": 509 + }, + { + "x": 138, + "y": 612 + }, + { + "x": 132, + "y": 624 + }, + { + "x": 133, + "y": 650 + }, + { + "x": 123, + "y": 691 + }, + { + "x": 135, + "y": 708 + }, + { + "x": 142, + "y": 738 + }, + { + "x": 142, + "y": 768 + }, + { + "x": 137, + "y": 786 + }, + { + "x": 156, + "y": 816 + }, + { + "x": 199, + "y": 812 + }, + { + "x": 212, + "y": 794 + }, + { + "x": 246, + "y": 788 + }, + { + "x": 258, + "y": 775 + }, + { + "x": 274, + "y": 768 + }, + { + "x": 277, + "y": 756 + }, + { + "x": 286, + "y": 748 + }, + { + "x": 349, + "y": 733 + }, + { + "x": 367, + "y": 713 + }, + { + "x": 417, + "y": 692 + }, + { + "x": 581, + "y": 637 + }, + { + "x": 619, + "y": 620 + }, + { + "x": 643, + "y": 600 + }, + { + "x": 664, + "y": 593 + }, + { + "x": 711, + "y": 588 + }, + { + "x": 768, + "y": 600 + }, + { + "x": 943, + "y": 618 + }, + { + "x": 953, + "y": 604 + }, + { + "x": 980, + "y": 588 + }, + { + "x": 975, + "y": 574 + }, + { + "x": 950, + "y": 560 + }, + { + "x": 940, + "y": 546 + }, + { + "x": 943, + "y": 531 + }, + { + "x": 962, + "y": 505 + }, + { + "x": 973, + "y": 448 + }, + { + "x": 969, + "y": 416 + }, + { + "x": 978, + "y": 390 + }, + { + "x": 974, + "y": 352 + }, + { + "x": 961, + "y": 325 + }, + { + "x": 945, + "y": 310 + }, + { + "x": 890, + "y": 294 + }, + { + "x": 874, + "y": 277 + }, + { + "x": 880, + "y": 232 + }, + { + "x": 890, + "y": 207 + }, + { + "x": 887, + "y": 186 + }, + { + "x": 895, + "y": 168 + }, + { + "x": 887, + "y": 149 + }, + { + "x": 891, + "y": 125 + } + ], + "center": { + "x": 521, + "y": 462 + }, + "radius": 524.093, + "bbox": { + "x": 108, + "y": 100, + "width": 873, + "height": 717 + } + }, + { + "polygon": [ + { + "x": 803, + "y": 188 + }, + { + "x": 814, + "y": 191 + }, + { + "x": 823, + "y": 202 + }, + { + "x": 828, + "y": 241 + }, + { + "x": 819, + "y": 281 + }, + { + "x": 801, + "y": 291 + }, + { + "x": 790, + "y": 288 + }, + { + "x": 762, + "y": 267 + }, + { + "x": 749, + "y": 243 + }, + { + "x": 749, + "y": 221 + }, + { + "x": 759, + "y": 207 + } + ], + "center": { + "x": 797, + "y": 239 + }, + "radius": 53.2724, + "bbox": { + "x": 749, + "y": 188, + "width": 80, + "height": 104 + } + } + ] + } + } + }, + { + "image": "./test_set/good/CG8F4yBUQAA-ul5.jpg-large", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 55, + 1 + ], + [ + 1023, + 973 + ] + ], + "bbox": { + "x": 55, + "y": 1, + "width": 968, + "height": 972 + }, + "confidence": 0.196739, + "polygon": [ + [ + 64, + 347 + ], + [ + 64, + 370 + ], + [ + 75, + 378 + ], + [ + 78, + 394 + ], + [ + 63, + 416 + ], + [ + 68, + 426 + ], + [ + 67, + 448 + ], + [ + 55, + 463 + ], + [ + 78, + 468 + ], + [ + 89, + 482 + ], + [ + 90, + 494 + ], + [ + 123, + 522 + ], + [ + 138, + 545 + ], + [ + 138, + 564 + ], + [ + 130, + 584 + ], + [ + 112, + 595 + ], + [ + 116, + 646 + ], + [ + 110, + 658 + ], + [ + 118, + 661 + ], + [ + 128, + 675 + ], + [ + 129, + 704 + ], + [ + 134, + 713 + ], + [ + 128, + 735 + ], + [ + 147, + 736 + ], + [ + 167, + 745 + ], + [ + 182, + 759 + ], + [ + 197, + 782 + ], + [ + 203, + 803 + ], + [ + 202, + 828 + ], + [ + 191, + 843 + ], + [ + 192, + 856 + ], + [ + 201, + 867 + ], + [ + 206, + 885 + ], + [ + 257, + 890 + ], + [ + 267, + 903 + ], + [ + 266, + 919 + ], + [ + 276, + 935 + ], + [ + 291, + 937 + ], + [ + 304, + 952 + ], + [ + 334, + 951 + ], + [ + 379, + 967 + ], + [ + 393, + 957 + ], + [ + 431, + 950 + ], + [ + 461, + 928 + ], + [ + 482, + 927 + ], + [ + 505, + 902 + ], + [ + 516, + 899 + ], + [ + 533, + 908 + ], + [ + 550, + 910 + ], + [ + 570, + 935 + ], + [ + 575, + 949 + ], + [ + 590, + 942 + ], + [ + 609, + 945 + ], + [ + 625, + 959 + ], + [ + 659, + 959 + ], + [ + 672, + 972 + ], + [ + 736, + 948 + ], + [ + 756, + 952 + ], + [ + 787, + 970 + ], + [ + 825, + 967 + ], + [ + 870, + 972 + ], + [ + 904, + 964 + ], + [ + 918, + 967 + ], + [ + 966, + 958 + ], + [ + 1022, + 972 + ], + [ + 1022, + 287 + ], + [ + 1012, + 285 + ], + [ + 991, + 258 + ], + [ + 955, + 285 + ], + [ + 928, + 317 + ], + [ + 899, + 324 + ], + [ + 888, + 321 + ], + [ + 880, + 311 + ], + [ + 868, + 311 + ], + [ + 842, + 330 + ], + [ + 831, + 333 + ], + [ + 758, + 319 + ], + [ + 747, + 304 + ], + [ + 746, + 271 + ], + [ + 736, + 260 + ], + [ + 714, + 254 + ], + [ + 698, + 239 + ], + [ + 680, + 232 + ], + [ + 637, + 236 + ], + [ + 618, + 244 + ], + [ + 598, + 246 + ], + [ + 580, + 262 + ], + [ + 554, + 272 + ], + [ + 540, + 289 + ], + [ + 529, + 292 + ], + [ + 493, + 274 + ], + [ + 449, + 274 + ], + [ + 430, + 263 + ], + [ + 410, + 271 + ], + [ + 368, + 263 + ], + [ + 353, + 279 + ], + [ + 308, + 281 + ], + [ + 300, + 291 + ], + [ + 289, + 294 + ], + [ + 278, + 291 + ], + [ + 269, + 281 + ], + [ + 251, + 281 + ], + [ + 218, + 263 + ], + [ + 204, + 273 + ], + [ + 173, + 271 + ], + [ + 159, + 284 + ], + [ + 136, + 283 + ], + [ + 127, + 301 + ], + [ + 95, + 323 + ], + [ + 81, + 345 + ] + ], + "center": [ + 562, + 629 + ], + "radius": 590.236, + "regions": [ + { + "polygon": [ + { + "x": 64, + "y": 347 + }, + { + "x": 64, + "y": 370 + }, + { + "x": 75, + "y": 378 + }, + { + "x": 78, + "y": 394 + }, + { + "x": 63, + "y": 416 + }, + { + "x": 68, + "y": 426 + }, + { + "x": 67, + "y": 448 + }, + { + "x": 55, + "y": 463 + }, + { + "x": 78, + "y": 468 + }, + { + "x": 89, + "y": 482 + }, + { + "x": 90, + "y": 494 + }, + { + "x": 123, + "y": 522 + }, + { + "x": 138, + "y": 545 + }, + { + "x": 138, + "y": 564 + }, + { + "x": 130, + "y": 584 + }, + { + "x": 112, + "y": 595 + }, + { + "x": 116, + "y": 646 + }, + { + "x": 110, + "y": 658 + }, + { + "x": 118, + "y": 661 + }, + { + "x": 128, + "y": 675 + }, + { + "x": 129, + "y": 704 + }, + { + "x": 134, + "y": 713 + }, + { + "x": 128, + "y": 735 + }, + { + "x": 147, + "y": 736 + }, + { + "x": 167, + "y": 745 + }, + { + "x": 182, + "y": 759 + }, + { + "x": 197, + "y": 782 + }, + { + "x": 203, + "y": 803 + }, + { + "x": 202, + "y": 828 + }, + { + "x": 191, + "y": 843 + }, + { + "x": 192, + "y": 856 + }, + { + "x": 201, + "y": 867 + }, + { + "x": 206, + "y": 885 + }, + { + "x": 257, + "y": 890 + }, + { + "x": 267, + "y": 903 + }, + { + "x": 266, + "y": 919 + }, + { + "x": 276, + "y": 935 + }, + { + "x": 291, + "y": 937 + }, + { + "x": 304, + "y": 952 + }, + { + "x": 334, + "y": 951 + }, + { + "x": 379, + "y": 967 + }, + { + "x": 393, + "y": 957 + }, + { + "x": 431, + "y": 950 + }, + { + "x": 461, + "y": 928 + }, + { + "x": 482, + "y": 927 + }, + { + "x": 505, + "y": 902 + }, + { + "x": 516, + "y": 899 + }, + { + "x": 533, + "y": 908 + }, + { + "x": 550, + "y": 910 + }, + { + "x": 570, + "y": 935 + }, + { + "x": 575, + "y": 949 + }, + { + "x": 590, + "y": 942 + }, + { + "x": 609, + "y": 945 + }, + { + "x": 625, + "y": 959 + }, + { + "x": 659, + "y": 959 + }, + { + "x": 672, + "y": 972 + }, + { + "x": 736, + "y": 948 + }, + { + "x": 756, + "y": 952 + }, + { + "x": 787, + "y": 970 + }, + { + "x": 825, + "y": 967 + }, + { + "x": 870, + "y": 972 + }, + { + "x": 904, + "y": 964 + }, + { + "x": 918, + "y": 967 + }, + { + "x": 966, + "y": 958 + }, + { + "x": 1022, + "y": 972 + }, + { + "x": 1022, + "y": 287 + }, + { + "x": 1012, + "y": 285 + }, + { + "x": 991, + "y": 258 + }, + { + "x": 955, + "y": 285 + }, + { + "x": 928, + "y": 317 + }, + { + "x": 899, + "y": 324 + }, + { + "x": 888, + "y": 321 + }, + { + "x": 880, + "y": 311 + }, + { + "x": 868, + "y": 311 + }, + { + "x": 842, + "y": 330 + }, + { + "x": 831, + "y": 333 + }, + { + "x": 758, + "y": 319 + }, + { + "x": 747, + "y": 304 + }, + { + "x": 746, + "y": 271 + }, + { + "x": 736, + "y": 260 + }, + { + "x": 714, + "y": 254 + }, + { + "x": 698, + "y": 239 + }, + { + "x": 680, + "y": 232 + }, + { + "x": 637, + "y": 236 + }, + { + "x": 618, + "y": 244 + }, + { + "x": 598, + "y": 246 + }, + { + "x": 580, + "y": 262 + }, + { + "x": 554, + "y": 272 + }, + { + "x": 540, + "y": 289 + }, + { + "x": 529, + "y": 292 + }, + { + "x": 493, + "y": 274 + }, + { + "x": 449, + "y": 274 + }, + { + "x": 430, + "y": 263 + }, + { + "x": 410, + "y": 271 + }, + { + "x": 368, + "y": 263 + }, + { + "x": 353, + "y": 279 + }, + { + "x": 308, + "y": 281 + }, + { + "x": 300, + "y": 291 + }, + { + "x": 289, + "y": 294 + }, + { + "x": 278, + "y": 291 + }, + { + "x": 269, + "y": 281 + }, + { + "x": 251, + "y": 281 + }, + { + "x": 218, + "y": 263 + }, + { + "x": 204, + "y": 273 + }, + { + "x": 173, + "y": 271 + }, + { + "x": 159, + "y": 284 + }, + { + "x": 136, + "y": 283 + }, + { + "x": 127, + "y": 301 + }, + { + "x": 95, + "y": 323 + }, + { + "x": 81, + "y": 345 + } + ], + "center": { + "x": 562, + "y": 629 + }, + "radius": 590.236, + "bbox": { + "x": 55, + "y": 232, + "width": 968, + "height": 741 + } + }, + { + "polygon": [ + { + "x": 956, + "y": 1 + }, + { + "x": 1022, + "y": 76 + }, + { + "x": 1022, + "y": 1 + } + ], + "center": { + "x": 989, + "y": 38 + }, + "radius": 51.451, + "bbox": { + "x": 956, + "y": 1, + "width": 67, + "height": 76 + } + } + ] + } + } + }, + { + "image": "./test_set/good/CGC9GJrVAAAdJzd.jpg-large", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 353, + 86 + ], + [ + 773, + 649 + ] + ], + "bbox": { + "x": 353, + "y": 86, + "width": 420, + "height": 563 + }, + "confidence": 0.196106, + "polygon": [ + [ + 673, + 86 + ], + [ + 654, + 94 + ], + [ + 612, + 93 + ], + [ + 609, + 111 + ], + [ + 600, + 122 + ], + [ + 585, + 128 + ], + [ + 574, + 140 + ], + [ + 553, + 139 + ], + [ + 539, + 145 + ], + [ + 523, + 171 + ], + [ + 527, + 189 + ], + [ + 543, + 209 + ], + [ + 539, + 231 + ], + [ + 521, + 241 + ], + [ + 463, + 235 + ], + [ + 453, + 249 + ], + [ + 435, + 254 + ], + [ + 422, + 279 + ], + [ + 407, + 291 + ], + [ + 400, + 318 + ], + [ + 392, + 326 + ], + [ + 380, + 329 + ], + [ + 374, + 336 + ], + [ + 372, + 353 + ], + [ + 361, + 362 + ], + [ + 370, + 398 + ], + [ + 367, + 419 + ], + [ + 353, + 444 + ], + [ + 371, + 471 + ], + [ + 371, + 500 + ], + [ + 388, + 520 + ], + [ + 384, + 542 + ], + [ + 388, + 551 + ], + [ + 386, + 602 + ], + [ + 415, + 646 + ], + [ + 474, + 648 + ], + [ + 489, + 634 + ], + [ + 526, + 621 + ], + [ + 537, + 624 + ], + [ + 547, + 636 + ], + [ + 628, + 636 + ], + [ + 624, + 536 + ], + [ + 616, + 512 + ], + [ + 623, + 478 + ], + [ + 644, + 463 + ], + [ + 672, + 463 + ], + [ + 687, + 458 + ], + [ + 721, + 425 + ], + [ + 737, + 424 + ], + [ + 754, + 434 + ], + [ + 747, + 415 + ], + [ + 761, + 395 + ], + [ + 772, + 361 + ], + [ + 772, + 329 + ], + [ + 756, + 305 + ], + [ + 755, + 290 + ], + [ + 745, + 279 + ], + [ + 742, + 250 + ], + [ + 696, + 196 + ], + [ + 704, + 164 + ], + [ + 704, + 104 + ], + [ + 682, + 95 + ] + ], + "center": [ + 544, + 366 + ], + "radius": 317.536, + "regions": [ + { + "polygon": [ + { + "x": 763, + "y": 439 + } + ], + "center": { + "x": 763, + "y": 439 + }, + "radius": 1, + "bbox": { + "x": 763, + "y": 439, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 673, + "y": 86 + }, + { + "x": 654, + "y": 94 + }, + { + "x": 612, + "y": 93 + }, + { + "x": 609, + "y": 111 + }, + { + "x": 600, + "y": 122 + }, + { + "x": 585, + "y": 128 + }, + { + "x": 574, + "y": 140 + }, + { + "x": 553, + "y": 139 + }, + { + "x": 539, + "y": 145 + }, + { + "x": 523, + "y": 171 + }, + { + "x": 527, + "y": 189 + }, + { + "x": 543, + "y": 209 + }, + { + "x": 539, + "y": 231 + }, + { + "x": 521, + "y": 241 + }, + { + "x": 463, + "y": 235 + }, + { + "x": 453, + "y": 249 + }, + { + "x": 435, + "y": 254 + }, + { + "x": 422, + "y": 279 + }, + { + "x": 407, + "y": 291 + }, + { + "x": 400, + "y": 318 + }, + { + "x": 392, + "y": 326 + }, + { + "x": 380, + "y": 329 + }, + { + "x": 374, + "y": 336 + }, + { + "x": 372, + "y": 353 + }, + { + "x": 361, + "y": 362 + }, + { + "x": 370, + "y": 398 + }, + { + "x": 367, + "y": 419 + }, + { + "x": 353, + "y": 444 + }, + { + "x": 371, + "y": 471 + }, + { + "x": 371, + "y": 500 + }, + { + "x": 388, + "y": 520 + }, + { + "x": 384, + "y": 542 + }, + { + "x": 388, + "y": 551 + }, + { + "x": 386, + "y": 602 + }, + { + "x": 415, + "y": 646 + }, + { + "x": 474, + "y": 648 + }, + { + "x": 489, + "y": 634 + }, + { + "x": 526, + "y": 621 + }, + { + "x": 537, + "y": 624 + }, + { + "x": 547, + "y": 636 + }, + { + "x": 628, + "y": 636 + }, + { + "x": 624, + "y": 536 + }, + { + "x": 616, + "y": 512 + }, + { + "x": 623, + "y": 478 + }, + { + "x": 644, + "y": 463 + }, + { + "x": 672, + "y": 463 + }, + { + "x": 687, + "y": 458 + }, + { + "x": 721, + "y": 425 + }, + { + "x": 737, + "y": 424 + }, + { + "x": 754, + "y": 434 + }, + { + "x": 747, + "y": 415 + }, + { + "x": 761, + "y": 395 + }, + { + "x": 772, + "y": 361 + }, + { + "x": 772, + "y": 329 + }, + { + "x": 756, + "y": 305 + }, + { + "x": 755, + "y": 290 + }, + { + "x": 745, + "y": 279 + }, + { + "x": 742, + "y": 250 + }, + { + "x": 696, + "y": 196 + }, + { + "x": 704, + "y": 164 + }, + { + "x": 704, + "y": 104 + }, + { + "x": 682, + "y": 95 + } + ], + "center": { + "x": 544, + "y": 366 + }, + "radius": 317.536, + "bbox": { + "x": 353, + "y": 86, + "width": 420, + "height": 563 + } + } + ] + } + } + }, + { + "image": "./test_set/good/meego-info-display.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 126, + 49 + ], + [ + 354, + 224 + ] + ], + "bbox": { + "x": 126, + "y": 49, + "width": 228, + "height": 175 + }, + "confidence": 0.381351, + "polygon": [ + [ + 141, + 50 + ], + [ + 126, + 132 + ], + [ + 126, + 154 + ], + [ + 144, + 161 + ], + [ + 155, + 154 + ], + [ + 170, + 155 + ], + [ + 179, + 163 + ], + [ + 182, + 175 + ], + [ + 263, + 206 + ], + [ + 273, + 223 + ], + [ + 327, + 223 + ], + [ + 338, + 180 + ], + [ + 353, + 56 + ], + [ + 292, + 54 + ], + [ + 281, + 62 + ], + [ + 200, + 61 + ], + [ + 171, + 49 + ] + ], + "center": [ + 244, + 124 + ], + "radius": 131.867, + "regions": [ + { + "polygon": [ + { + "x": 141, + "y": 50 + }, + { + "x": 126, + "y": 132 + }, + { + "x": 126, + "y": 154 + }, + { + "x": 144, + "y": 161 + }, + { + "x": 155, + "y": 154 + }, + { + "x": 170, + "y": 155 + }, + { + "x": 179, + "y": 163 + }, + { + "x": 182, + "y": 175 + }, + { + "x": 263, + "y": 206 + }, + { + "x": 273, + "y": 223 + }, + { + "x": 327, + "y": 223 + }, + { + "x": 338, + "y": 180 + }, + { + "x": 353, + "y": 56 + }, + { + "x": 292, + "y": 54 + }, + { + "x": 281, + "y": 62 + }, + { + "x": 200, + "y": 61 + }, + { + "x": 171, + "y": 49 + } + ], + "center": { + "x": 244, + "y": 124 + }, + "radius": 131.867, + "bbox": { + "x": 126, + "y": 49, + "width": 228, + "height": 175 + } + } + ] + } + } + }, + { + "image": "./test_set/good/n800-meets-aibo.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 74, + 21 + ], + [ + 270, + 241 + ] + ], + "bbox": { + "x": 74, + "y": 21, + "width": 196, + "height": 220 + }, + "confidence": 0.576335, + "polygon": [ + [ + 243, + 21 + ], + [ + 216, + 33 + ], + [ + 178, + 26 + ], + [ + 175, + 41 + ], + [ + 162, + 53 + ], + [ + 169, + 68 + ], + [ + 168, + 80 + ], + [ + 162, + 92 + ], + [ + 140, + 110 + ], + [ + 125, + 114 + ], + [ + 103, + 109 + ], + [ + 85, + 92 + ], + [ + 74, + 92 + ], + [ + 77, + 109 + ], + [ + 94, + 131 + ], + [ + 105, + 158 + ], + [ + 101, + 181 + ], + [ + 113, + 202 + ], + [ + 114, + 213 + ], + [ + 141, + 217 + ], + [ + 157, + 191 + ], + [ + 180, + 188 + ], + [ + 192, + 197 + ], + [ + 205, + 219 + ], + [ + 238, + 240 + ], + [ + 256, + 213 + ], + [ + 255, + 196 + ], + [ + 269, + 183 + ], + [ + 263, + 173 + ], + [ + 265, + 155 + ], + [ + 251, + 139 + ], + [ + 263, + 105 + ], + [ + 246, + 77 + ], + [ + 248, + 51 + ] + ], + "center": [ + 189, + 129 + ], + "radius": 124.627, + "regions": [ + { + "polygon": [ + { + "x": 243, + "y": 21 + }, + { + "x": 216, + "y": 33 + }, + { + "x": 178, + "y": 26 + }, + { + "x": 175, + "y": 41 + }, + { + "x": 162, + "y": 53 + }, + { + "x": 169, + "y": 68 + }, + { + "x": 168, + "y": 80 + }, + { + "x": 162, + "y": 92 + }, + { + "x": 140, + "y": 110 + }, + { + "x": 125, + "y": 114 + }, + { + "x": 103, + "y": 109 + }, + { + "x": 85, + "y": 92 + }, + { + "x": 74, + "y": 92 + }, + { + "x": 77, + "y": 109 + }, + { + "x": 94, + "y": 131 + }, + { + "x": 105, + "y": 158 + }, + { + "x": 101, + "y": 181 + }, + { + "x": 113, + "y": 202 + }, + { + "x": 114, + "y": 213 + }, + { + "x": 141, + "y": 217 + }, + { + "x": 157, + "y": 191 + }, + { + "x": 180, + "y": 188 + }, + { + "x": 192, + "y": 197 + }, + { + "x": 205, + "y": 219 + }, + { + "x": 238, + "y": 240 + }, + { + "x": 256, + "y": 213 + }, + { + "x": 255, + "y": 196 + }, + { + "x": 269, + "y": 183 + }, + { + "x": 263, + "y": 173 + }, + { + "x": 265, + "y": 155 + }, + { + "x": 251, + "y": 139 + }, + { + "x": 263, + "y": 105 + }, + { + "x": 246, + "y": 77 + }, + { + "x": 248, + "y": 51 + } + ], + "center": { + "x": 189, + "y": 129 + }, + "radius": 124.627, + "bbox": { + "x": 74, + "y": 21, + "width": 196, + "height": 220 + } + } + ] + } + } + }, + { + "image": "./test_set/good/n810-home-screen-tm.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 21, + 1 + ], + [ + 399, + 299 + ] + ], + "bbox": { + "x": 21, + "y": 1, + "width": 378, + "height": 298 + }, + "confidence": 0.413359, + "polygon": [ + [ + 341, + 1 + ], + [ + 288, + 1 + ], + [ + 285, + 11 + ], + [ + 273, + 20 + ], + [ + 227, + 27 + ], + [ + 180, + 41 + ], + [ + 142, + 45 + ], + [ + 126, + 53 + ], + [ + 47, + 70 + ], + [ + 37, + 79 + ], + [ + 21, + 104 + ], + [ + 28, + 140 + ], + [ + 60, + 246 + ], + [ + 94, + 298 + ], + [ + 159, + 298 + ], + [ + 169, + 281 + ], + [ + 188, + 271 + ], + [ + 371, + 200 + ], + [ + 388, + 184 + ], + [ + 398, + 182 + ], + [ + 398, + 130 + ], + [ + 388, + 128 + ], + [ + 379, + 117 + ], + [ + 356, + 27 + ] + ], + "center": [ + 209, + 143 + ], + "radius": 198.269, + "regions": [ + { + "polygon": [ + { + "x": 341, + "y": 1 + }, + { + "x": 288, + "y": 1 + }, + { + "x": 285, + "y": 11 + }, + { + "x": 273, + "y": 20 + }, + { + "x": 227, + "y": 27 + }, + { + "x": 180, + "y": 41 + }, + { + "x": 142, + "y": 45 + }, + { + "x": 126, + "y": 53 + }, + { + "x": 47, + "y": 70 + }, + { + "x": 37, + "y": 79 + }, + { + "x": 21, + "y": 104 + }, + { + "x": 28, + "y": 140 + }, + { + "x": 60, + "y": 246 + }, + { + "x": 94, + "y": 298 + }, + { + "x": 159, + "y": 298 + }, + { + "x": 169, + "y": 281 + }, + { + "x": 188, + "y": 271 + }, + { + "x": 371, + "y": 200 + }, + { + "x": 388, + "y": 184 + }, + { + "x": 398, + "y": 182 + }, + { + "x": 398, + "y": 130 + }, + { + "x": 388, + "y": 128 + }, + { + "x": 379, + "y": 117 + }, + { + "x": 356, + "y": 27 + } + ], + "center": { + "x": 209, + "y": 143 + }, + "radius": 198.269, + "bbox": { + "x": 21, + "y": 1, + "width": 378, + "height": 298 + } + } + ] + } + } + }, + { + "image": "./test_set/good/vw-df259367f8f88b993515a885c32c47a5.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 295, + 100 + ], + [ + 705, + 562 + ] + ], + "bbox": { + "x": 295, + "y": 100, + "width": 410, + "height": 462 + }, + "confidence": 0.900193, + "polygon": [ + [ + 501, + 100 + ], + [ + 501, + 139 + ], + [ + 491, + 153 + ], + [ + 431, + 166 + ], + [ + 420, + 163 + ], + [ + 408, + 145 + ], + [ + 413, + 157 + ], + [ + 410, + 174 + ], + [ + 372, + 202 + ], + [ + 329, + 254 + ], + [ + 310, + 300 + ], + [ + 304, + 335 + ], + [ + 295, + 346 + ], + [ + 295, + 367 + ], + [ + 304, + 380 + ], + [ + 303, + 435 + ], + [ + 321, + 437 + ], + [ + 336, + 457 + ], + [ + 336, + 524 + ], + [ + 338, + 506 + ], + [ + 347, + 495 + ], + [ + 370, + 495 + ], + [ + 411, + 526 + ], + [ + 414, + 543 + ], + [ + 406, + 560 + ], + [ + 414, + 544 + ], + [ + 432, + 534 + ], + [ + 483, + 544 + ], + [ + 528, + 543 + ], + [ + 568, + 534 + ], + [ + 579, + 537 + ], + [ + 595, + 561 + ], + [ + 587, + 544 + ], + [ + 590, + 527 + ], + [ + 631, + 497 + ], + [ + 666, + 462 + ], + [ + 684, + 462 + ], + [ + 695, + 474 + ], + [ + 696, + 524 + ], + [ + 694, + 353 + ], + [ + 698, + 336 + ], + [ + 677, + 252 + ], + [ + 704, + 191 + ], + [ + 663, + 190 + ], + [ + 653, + 203 + ], + [ + 635, + 205 + ], + [ + 592, + 174 + ], + [ + 589, + 157 + ], + [ + 594, + 145 + ], + [ + 582, + 163 + ], + [ + 571, + 166 + ], + [ + 513, + 154 + ], + [ + 501, + 139 + ] + ], + "center": [ + 511, + 348 + ], + "radius": 255.918, + "regions": [ + { + "polygon": [ + { + "x": 501, + "y": 100 + }, + { + "x": 501, + "y": 139 + }, + { + "x": 491, + "y": 153 + }, + { + "x": 431, + "y": 166 + }, + { + "x": 420, + "y": 163 + }, + { + "x": 408, + "y": 145 + }, + { + "x": 413, + "y": 157 + }, + { + "x": 410, + "y": 174 + }, + { + "x": 372, + "y": 202 + }, + { + "x": 329, + "y": 254 + }, + { + "x": 310, + "y": 300 + }, + { + "x": 304, + "y": 335 + }, + { + "x": 295, + "y": 346 + }, + { + "x": 295, + "y": 367 + }, + { + "x": 304, + "y": 380 + }, + { + "x": 303, + "y": 435 + }, + { + "x": 321, + "y": 437 + }, + { + "x": 336, + "y": 457 + }, + { + "x": 336, + "y": 524 + }, + { + "x": 338, + "y": 506 + }, + { + "x": 347, + "y": 495 + }, + { + "x": 370, + "y": 495 + }, + { + "x": 411, + "y": 526 + }, + { + "x": 414, + "y": 543 + }, + { + "x": 406, + "y": 560 + }, + { + "x": 414, + "y": 544 + }, + { + "x": 432, + "y": 534 + }, + { + "x": 483, + "y": 544 + }, + { + "x": 528, + "y": 543 + }, + { + "x": 568, + "y": 534 + }, + { + "x": 579, + "y": 537 + }, + { + "x": 595, + "y": 561 + }, + { + "x": 587, + "y": 544 + }, + { + "x": 590, + "y": 527 + }, + { + "x": 631, + "y": 497 + }, + { + "x": 666, + "y": 462 + }, + { + "x": 684, + "y": 462 + }, + { + "x": 695, + "y": 474 + }, + { + "x": 696, + "y": 524 + }, + { + "x": 694, + "y": 353 + }, + { + "x": 698, + "y": 336 + }, + { + "x": 677, + "y": 252 + }, + { + "x": 704, + "y": 191 + }, + { + "x": 663, + "y": 190 + }, + { + "x": 653, + "y": 203 + }, + { + "x": 635, + "y": 205 + }, + { + "x": 592, + "y": 174 + }, + { + "x": 589, + "y": 157 + }, + { + "x": 594, + "y": 145 + }, + { + "x": 582, + "y": 163 + }, + { + "x": 571, + "y": 166 + }, + { + "x": 513, + "y": 154 + }, + { + "x": 501, + "y": 139 + } + ], + "center": { + "x": 511, + "y": 348 + }, + "radius": 255.918, + "bbox": { + "x": 295, + "y": 100, + "width": 410, + "height": 462 + } + }, + { + "polygon": [ + { + "x": 492, + "y": 431 + }, + { + "x": 512, + "y": 432 + }, + { + "x": 527, + "y": 455 + }, + { + "x": 540, + "y": 485 + }, + { + "x": 539, + "y": 497 + }, + { + "x": 528, + "y": 509 + }, + { + "x": 476, + "y": 510 + }, + { + "x": 462, + "y": 497 + }, + { + "x": 465, + "y": 476 + }, + { + "x": 482, + "y": 440 + } + ], + "center": { + "x": 500, + "y": 474 + }, + "radius": 45.8362, + "bbox": { + "x": 462, + "y": 431, + "width": 79, + "height": 80 + } + }, + { + "polygon": [ + { + "x": 646, + "y": 376 + }, + { + "x": 658, + "y": 391 + }, + { + "x": 652, + "y": 415 + }, + { + "x": 639, + "y": 433 + }, + { + "x": 619, + "y": 434 + }, + { + "x": 607, + "y": 419 + }, + { + "x": 612, + "y": 398 + }, + { + "x": 626, + "y": 377 + } + ], + "center": { + "x": 632, + "y": 405 + }, + "radius": 32.9479, + "bbox": { + "x": 607, + "y": 376, + "width": 52, + "height": 59 + } + }, + { + "polygon": [ + { + "x": 354, + "y": 366 + }, + { + "x": 372, + "y": 366 + }, + { + "x": 384, + "y": 380 + }, + { + "x": 404, + "y": 426 + }, + { + "x": 401, + "y": 441 + }, + { + "x": 392, + "y": 449 + }, + { + "x": 372, + "y": 448 + }, + { + "x": 350, + "y": 414 + }, + { + "x": 342, + "y": 381 + } + ], + "center": { + "x": 373, + "y": 407 + }, + "radius": 47.0119, + "bbox": { + "x": 342, + "y": 366, + "width": 63, + "height": 84 + } + }, + { + "polygon": [ + { + "x": 402, + "y": 234 + }, + { + "x": 419, + "y": 234 + }, + { + "x": 431, + "y": 243 + }, + { + "x": 473, + "y": 335 + }, + { + "x": 472, + "y": 369 + }, + { + "x": 465, + "y": 384 + }, + { + "x": 453, + "y": 393 + }, + { + "x": 438, + "y": 392 + }, + { + "x": 428, + "y": 383 + }, + { + "x": 387, + "y": 293 + }, + { + "x": 387, + "y": 250 + } + ], + "center": { + "x": 427, + "y": 313 + }, + "radius": 85.9942, + "bbox": { + "x": 387, + "y": 234, + "width": 87, + "height": 160 + } + }, + { + "polygon": [ + { + "x": 595, + "y": 223 + }, + { + "x": 609, + "y": 228 + }, + { + "x": 626, + "y": 245 + }, + { + "x": 630, + "y": 264 + }, + { + "x": 605, + "y": 320 + }, + { + "x": 586, + "y": 330 + }, + { + "x": 575, + "y": 327 + }, + { + "x": 554, + "y": 306 + }, + { + "x": 551, + "y": 290 + }, + { + "x": 577, + "y": 233 + } + ], + "center": { + "x": 590, + "y": 276 + }, + "radius": 55.2996, + "bbox": { + "x": 551, + "y": 223, + "width": 80, + "height": 108 + } + } + ] + } + } + } ], - "Grid_rescaled": [ - "./test_set/Grid_rescaled/image-1.jpg", - "./test_set/Grid_rescaled/image-10.jpg", - "./test_set/Grid_rescaled/image-11.jpg", - "./test_set/Grid_rescaled/image-12.jpg", - "./test_set/Grid_rescaled/image-13.jpg", - "./test_set/Grid_rescaled/image-14.jpg", - "./test_set/Grid_rescaled/image-15.jpg", - "./test_set/Grid_rescaled/image-16.jpg", - "./test_set/Grid_rescaled/image-17.jpg", - "./test_set/Grid_rescaled/image-18.jpg", - "./test_set/Grid_rescaled/image-19.jpg", - "./test_set/Grid_rescaled/image-2.jpg", - "./test_set/Grid_rescaled/image-20.jpg", - "./test_set/Grid_rescaled/image-21.jpg", - "./test_set/Grid_rescaled/image-3.jpg", - "./test_set/Grid_rescaled/image-4.jpg", - "./test_set/Grid_rescaled/image-5.jpg", - "./test_set/Grid_rescaled/image-6.jpg", - "./test_set/Grid_rescaled/image-7.jpg", - "./test_set/Grid_rescaled/image-8.jpg", - "./test_set/Grid_rescaled/image-9.jpg" + "bad": [ + { + "image": "./test_set/bad/284f8b46-708f-46c6-a83c-2d85988b096c.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 376, + 114 + ], + [ + 1802, + 1365 + ] + ], + "bbox": { + "x": 376, + "y": 114, + "width": 1426, + "height": 1251 + }, + "confidence": 0.308629, + "polygon": [ + [ + 1781, + 593 + ], + [ + 1748, + 588 + ], + [ + 1727, + 564 + ], + [ + 1724, + 548 + ], + [ + 1717, + 556 + ], + [ + 1705, + 559 + ], + [ + 1666, + 542 + ], + [ + 1653, + 528 + ], + [ + 1654, + 512 + ], + [ + 1644, + 515 + ], + [ + 1627, + 506 + ], + [ + 1611, + 507 + ], + [ + 1550, + 475 + ], + [ + 1519, + 469 + ], + [ + 1465, + 441 + ], + [ + 1440, + 442 + ], + [ + 1408, + 426 + ], + [ + 1393, + 425 + ], + [ + 1370, + 406 + ], + [ + 1363, + 387 + ], + [ + 1315, + 389 + ], + [ + 1328, + 399 + ], + [ + 1332, + 409 + ], + [ + 1330, + 427 + ], + [ + 1315, + 446 + ], + [ + 1296, + 455 + ], + [ + 1284, + 455 + ], + [ + 1259, + 430 + ], + [ + 1258, + 468 + ], + [ + 1238, + 487 + ], + [ + 1232, + 500 + ], + [ + 1252, + 514 + ], + [ + 1252, + 535 + ], + [ + 1287, + 540 + ], + [ + 1326, + 571 + ], + [ + 1326, + 594 + ], + [ + 1313, + 607 + ], + [ + 1299, + 610 + ], + [ + 1299, + 614 + ], + [ + 1309, + 616 + ], + [ + 1317, + 624 + ], + [ + 1319, + 646 + ], + [ + 1310, + 657 + ], + [ + 1290, + 660 + ], + [ + 1281, + 666 + ], + [ + 1250, + 666 + ], + [ + 1236, + 682 + ], + [ + 1233, + 699 + ], + [ + 1221, + 708 + ], + [ + 1191, + 710 + ], + [ + 1174, + 694 + ], + [ + 1157, + 702 + ], + [ + 1131, + 687 + ], + [ + 1113, + 685 + ], + [ + 1091, + 692 + ], + [ + 1080, + 707 + ], + [ + 1070, + 709 + ], + [ + 1058, + 719 + ], + [ + 1033, + 724 + ], + [ + 1019, + 735 + ], + [ + 1004, + 734 + ], + [ + 957, + 698 + ], + [ + 954, + 682 + ], + [ + 969, + 666 + ], + [ + 968, + 661 + ], + [ + 956, + 659 + ], + [ + 947, + 648 + ], + [ + 941, + 629 + ], + [ + 945, + 612 + ], + [ + 911, + 583 + ], + [ + 915, + 610 + ], + [ + 905, + 624 + ], + [ + 874, + 631 + ], + [ + 860, + 648 + ], + [ + 818, + 649 + ], + [ + 810, + 658 + ], + [ + 799, + 661 + ], + [ + 759, + 651 + ], + [ + 750, + 657 + ], + [ + 735, + 656 + ], + [ + 726, + 648 + ], + [ + 720, + 629 + ], + [ + 697, + 629 + ], + [ + 686, + 621 + ], + [ + 673, + 622 + ], + [ + 657, + 636 + ], + [ + 626, + 640 + ], + [ + 610, + 627 + ], + [ + 606, + 618 + ], + [ + 608, + 603 + ], + [ + 605, + 596 + ], + [ + 598, + 595 + ], + [ + 563, + 644 + ], + [ + 553, + 692 + ], + [ + 537, + 729 + ], + [ + 525, + 738 + ], + [ + 482, + 743 + ], + [ + 465, + 772 + ], + [ + 463, + 808 + ], + [ + 479, + 811 + ], + [ + 488, + 819 + ], + [ + 489, + 854 + ], + [ + 477, + 869 + ], + [ + 456, + 870 + ], + [ + 448, + 883 + ], + [ + 458, + 885 + ], + [ + 477, + 902 + ], + [ + 477, + 924 + ], + [ + 462, + 941 + ], + [ + 448, + 945 + ], + [ + 430, + 940 + ], + [ + 416, + 924 + ], + [ + 397, + 926 + ], + [ + 380, + 963 + ], + [ + 380, + 970 + ], + [ + 393, + 982 + ], + [ + 400, + 1011 + ], + [ + 376, + 1037 + ], + [ + 391, + 1046 + ], + [ + 391, + 1068 + ], + [ + 407, + 1084 + ], + [ + 404, + 1103 + ], + [ + 394, + 1114 + ], + [ + 389, + 1131 + ], + [ + 388, + 1153 + ], + [ + 405, + 1168 + ], + [ + 408, + 1185 + ], + [ + 398, + 1201 + ], + [ + 385, + 1210 + ], + [ + 407, + 1251 + ], + [ + 403, + 1270 + ], + [ + 417, + 1264 + ], + [ + 429, + 1266 + ], + [ + 438, + 1274 + ], + [ + 442, + 1287 + ], + [ + 451, + 1292 + ], + [ + 467, + 1275 + ], + [ + 492, + 1272 + ], + [ + 507, + 1256 + ], + [ + 522, + 1256 + ], + [ + 537, + 1266 + ], + [ + 537, + 1297 + ], + [ + 488, + 1324 + ], + [ + 470, + 1342 + ], + [ + 509, + 1315 + ], + [ + 536, + 1302 + ], + [ + 557, + 1298 + ], + [ + 577, + 1301 + ], + [ + 584, + 1308 + ], + [ + 587, + 1321 + ], + [ + 611, + 1305 + ], + [ + 626, + 1304 + ], + [ + 638, + 1313 + ], + [ + 654, + 1316 + ], + [ + 661, + 1324 + ], + [ + 674, + 1326 + ], + [ + 682, + 1336 + ], + [ + 693, + 1315 + ], + [ + 704, + 1306 + ], + [ + 706, + 1287 + ], + [ + 736, + 1263 + ], + [ + 791, + 1237 + ], + [ + 811, + 1233 + ], + [ + 837, + 1217 + ], + [ + 839, + 1185 + ], + [ + 821, + 1160 + ], + [ + 823, + 1142 + ], + [ + 842, + 1124 + ], + [ + 885, + 1109 + ], + [ + 899, + 1095 + ], + [ + 915, + 1056 + ], + [ + 906, + 1048 + ], + [ + 893, + 1016 + ], + [ + 894, + 1000 + ], + [ + 881, + 1012 + ], + [ + 837, + 1022 + ], + [ + 824, + 1017 + ], + [ + 797, + 1042 + ], + [ + 787, + 1044 + ], + [ + 779, + 1057 + ], + [ + 763, + 1069 + ], + [ + 772, + 1080 + ], + [ + 773, + 1099 + ], + [ + 758, + 1115 + ], + [ + 737, + 1113 + ], + [ + 727, + 1104 + ], + [ + 718, + 1087 + ], + [ + 726, + 1064 + ], + [ + 710, + 1078 + ], + [ + 683, + 1075 + ], + [ + 663, + 1085 + ], + [ + 625, + 1074 + ], + [ + 604, + 1073 + ], + [ + 593, + 1058 + ], + [ + 591, + 979 + ], + [ + 581, + 964 + ], + [ + 582, + 951 + ], + [ + 591, + 939 + ], + [ + 591, + 910 + ], + [ + 574, + 889 + ], + [ + 568, + 863 + ], + [ + 582, + 842 + ], + [ + 616, + 831 + ], + [ + 634, + 841 + ], + [ + 647, + 869 + ], + [ + 646, + 880 + ], + [ + 637, + 891 + ], + [ + 642, + 900 + ], + [ + 637, + 917 + ], + [ + 637, + 944 + ], + [ + 667, + 953 + ], + [ + 680, + 969 + ], + [ + 716, + 987 + ], + [ + 748, + 978 + ], + [ + 759, + 981 + ], + [ + 778, + 961 + ], + [ + 791, + 955 + ], + [ + 816, + 955 + ], + [ + 827, + 963 + ], + [ + 838, + 964 + ], + [ + 869, + 946 + ], + [ + 890, + 947 + ], + [ + 916, + 918 + ], + [ + 927, + 915 + ], + [ + 1021, + 922 + ], + [ + 1111, + 919 + ], + [ + 1131, + 924 + ], + [ + 1144, + 943 + ], + [ + 1158, + 947 + ], + [ + 1171, + 945 + ], + [ + 1200, + 930 + ], + [ + 1238, + 936 + ], + [ + 1248, + 950 + ], + [ + 1250, + 995 + ], + [ + 1236, + 1018 + ], + [ + 1236, + 1044 + ], + [ + 1222, + 1061 + ], + [ + 1205, + 1065 + ], + [ + 1187, + 1079 + ], + [ + 1151, + 1075 + ], + [ + 1133, + 1092 + ], + [ + 1112, + 1091 + ], + [ + 1093, + 1098 + ], + [ + 1070, + 1099 + ], + [ + 1085, + 1114 + ], + [ + 1094, + 1146 + ], + [ + 1082, + 1161 + ], + [ + 1047, + 1167 + ], + [ + 1047, + 1175 + ], + [ + 1063, + 1192 + ], + [ + 1058, + 1211 + ], + [ + 1047, + 1222 + ], + [ + 1047, + 1280 + ], + [ + 1056, + 1282 + ], + [ + 1080, + 1312 + ], + [ + 1077, + 1331 + ], + [ + 1062, + 1344 + ], + [ + 1047, + 1345 + ], + [ + 1050, + 1364 + ], + [ + 1409, + 1364 + ], + [ + 1406, + 1354 + ], + [ + 1388, + 1347 + ], + [ + 1378, + 1336 + ], + [ + 1377, + 1275 + ], + [ + 1346, + 1238 + ], + [ + 1349, + 1214 + ], + [ + 1368, + 1172 + ], + [ + 1377, + 1164 + ], + [ + 1399, + 1158 + ], + [ + 1410, + 1147 + ], + [ + 1410, + 1059 + ], + [ + 1395, + 1062 + ], + [ + 1373, + 1055 + ], + [ + 1358, + 1038 + ], + [ + 1359, + 1027 + ], + [ + 1376, + 998 + ], + [ + 1377, + 978 + ], + [ + 1423, + 937 + ], + [ + 1471, + 924 + ], + [ + 1487, + 929 + ], + [ + 1500, + 915 + ], + [ + 1529, + 913 + ], + [ + 1551, + 899 + ], + [ + 1589, + 896 + ], + [ + 1598, + 885 + ], + [ + 1636, + 871 + ], + [ + 1673, + 874 + ], + [ + 1678, + 868 + ], + [ + 1676, + 850 + ], + [ + 1693, + 834 + ], + [ + 1710, + 836 + ], + [ + 1720, + 853 + ], + [ + 1768, + 852 + ], + [ + 1746, + 840 + ], + [ + 1740, + 809 + ], + [ + 1750, + 795 + ], + [ + 1758, + 793 + ], + [ + 1769, + 772 + ], + [ + 1761, + 755 + ], + [ + 1765, + 730 + ], + [ + 1801, + 682 + ], + [ + 1791, + 648 + ], + [ + 1792, + 637 + ], + [ + 1799, + 628 + ], + [ + 1784, + 616 + ] + ], + "center": [ + 1102, + 976 + ], + "radius": 781.061, + "regions": [ + { + "polygon": [ + { + "x": 568, + "y": 1341 + } + ], + "center": { + "x": 568, + "y": 1341 + }, + "radius": 1, + "bbox": { + "x": 568, + "y": 1341, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 954, + "y": 1146 + }, + { + "x": 950, + "y": 1141 + }, + { + "x": 930, + "y": 1160 + }, + { + "x": 946, + "y": 1160 + } + ], + "center": { + "x": 941, + "y": 1151 + }, + "radius": 14.3611, + "bbox": { + "x": 930, + "y": 1141, + "width": 25, + "height": 20 + } + }, + { + "polygon": [ + { + "x": 967, + "y": 1067 + }, + { + "x": 962, + "y": 1066 + }, + { + "x": 959, + "y": 1071 + } + ], + "center": { + "x": 963, + "y": 1069 + }, + "radius": 4.6063, + "bbox": { + "x": 959, + "y": 1066, + "width": 9, + "height": 6 + } + }, + { + "polygon": [ + { + "x": 895, + "y": 998 + } + ], + "center": { + "x": 895, + "y": 998 + }, + "radius": 1, + "bbox": { + "x": 895, + "y": 998, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1484, + "y": 976 + } + ], + "center": { + "x": 1484, + "y": 976 + }, + "radius": 1, + "bbox": { + "x": 1484, + "y": 976, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1639, + "y": 974 + } + ], + "center": { + "x": 1639, + "y": 974 + }, + "radius": 1, + "bbox": { + "x": 1639, + "y": 974, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1631, + "y": 974 + } + ], + "center": { + "x": 1631, + "y": 974 + }, + "radius": 1, + "bbox": { + "x": 1631, + "y": 974, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1625, + "y": 974 + } + ], + "center": { + "x": 1625, + "y": 974 + }, + "radius": 1, + "bbox": { + "x": 1625, + "y": 974, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1604, + "y": 974 + } + ], + "center": { + "x": 1604, + "y": 974 + }, + "radius": 1, + "bbox": { + "x": 1604, + "y": 974, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1587, + "y": 973 + }, + { + "x": 1599, + "y": 974 + } + ], + "center": { + "x": 1593, + "y": 973 + }, + "radius": 6.20142, + "bbox": { + "x": 1587, + "y": 973, + "width": 13, + "height": 2 + } + }, + { + "polygon": [ + { + "x": 384, + "y": 901 + } + ], + "center": { + "x": 384, + "y": 901 + }, + "radius": 1, + "bbox": { + "x": 384, + "y": 901, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 433, + "y": 888 + }, + { + "x": 423, + "y": 889 + }, + { + "x": 423, + "y": 896 + } + ], + "center": { + "x": 428, + "y": 892 + }, + "radius": 6.59522, + "bbox": { + "x": 423, + "y": 888, + "width": 11, + "height": 9 + } + }, + { + "polygon": [ + { + "x": 1725, + "y": 546 + } + ], + "center": { + "x": 1725, + "y": 546 + }, + "radius": 1, + "bbox": { + "x": 1725, + "y": 546, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1726, + "y": 543 + } + ], + "center": { + "x": 1726, + "y": 543 + }, + "radius": 1, + "bbox": { + "x": 1726, + "y": 543, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1769, + "y": 479 + }, + { + "x": 1752, + "y": 481 + }, + { + "x": 1755, + "y": 495 + }, + { + "x": 1739, + "y": 515 + }, + { + "x": 1739, + "y": 530 + }, + { + "x": 1763, + "y": 528 + }, + { + "x": 1765, + "y": 513 + }, + { + "x": 1771, + "y": 505 + } + ], + "center": { + "x": 1754, + "y": 504 + }, + "radius": 30.4722, + "bbox": { + "x": 1739, + "y": 479, + "width": 33, + "height": 52 + } + }, + { + "polygon": [ + { + "x": 1648, + "y": 459 + }, + { + "x": 1649, + "y": 462 + } + ], + "center": { + "x": 1648, + "y": 460 + }, + "radius": 1.62857, + "bbox": { + "x": 1648, + "y": 459, + "width": 2, + "height": 4 + } + }, + { + "polygon": [ + { + "x": 1646, + "y": 449 + }, + { + "x": 1647, + "y": 452 + } + ], + "center": { + "x": 1646, + "y": 450 + }, + "radius": 1.62857, + "bbox": { + "x": 1646, + "y": 449, + "width": 2, + "height": 4 + } + }, + { + "polygon": [ + { + "x": 1640, + "y": 414 + }, + { + "x": 1639, + "y": 418 + } + ], + "center": { + "x": 1639, + "y": 416 + }, + "radius": 2.1234, + "bbox": { + "x": 1639, + "y": 414, + "width": 2, + "height": 5 + } + }, + { + "polygon": [ + { + "x": 1781, + "y": 593 + }, + { + "x": 1748, + "y": 588 + }, + { + "x": 1727, + "y": 564 + }, + { + "x": 1724, + "y": 548 + }, + { + "x": 1717, + "y": 556 + }, + { + "x": 1705, + "y": 559 + }, + { + "x": 1666, + "y": 542 + }, + { + "x": 1653, + "y": 528 + }, + { + "x": 1654, + "y": 512 + }, + { + "x": 1644, + "y": 515 + }, + { + "x": 1627, + "y": 506 + }, + { + "x": 1611, + "y": 507 + }, + { + "x": 1550, + "y": 475 + }, + { + "x": 1519, + "y": 469 + }, + { + "x": 1465, + "y": 441 + }, + { + "x": 1440, + "y": 442 + }, + { + "x": 1408, + "y": 426 + }, + { + "x": 1393, + "y": 425 + }, + { + "x": 1370, + "y": 406 + }, + { + "x": 1363, + "y": 387 + }, + { + "x": 1315, + "y": 389 + }, + { + "x": 1328, + "y": 399 + }, + { + "x": 1332, + "y": 409 + }, + { + "x": 1330, + "y": 427 + }, + { + "x": 1315, + "y": 446 + }, + { + "x": 1296, + "y": 455 + }, + { + "x": 1284, + "y": 455 + }, + { + "x": 1259, + "y": 430 + }, + { + "x": 1258, + "y": 468 + }, + { + "x": 1238, + "y": 487 + }, + { + "x": 1232, + "y": 500 + }, + { + "x": 1252, + "y": 514 + }, + { + "x": 1252, + "y": 535 + }, + { + "x": 1287, + "y": 540 + }, + { + "x": 1326, + "y": 571 + }, + { + "x": 1326, + "y": 594 + }, + { + "x": 1313, + "y": 607 + }, + { + "x": 1299, + "y": 610 + }, + { + "x": 1299, + "y": 614 + }, + { + "x": 1309, + "y": 616 + }, + { + "x": 1317, + "y": 624 + }, + { + "x": 1319, + "y": 646 + }, + { + "x": 1310, + "y": 657 + }, + { + "x": 1290, + "y": 660 + }, + { + "x": 1281, + "y": 666 + }, + { + "x": 1250, + "y": 666 + }, + { + "x": 1236, + "y": 682 + }, + { + "x": 1233, + "y": 699 + }, + { + "x": 1221, + "y": 708 + }, + { + "x": 1191, + "y": 710 + }, + { + "x": 1174, + "y": 694 + }, + { + "x": 1157, + "y": 702 + }, + { + "x": 1131, + "y": 687 + }, + { + "x": 1113, + "y": 685 + }, + { + "x": 1091, + "y": 692 + }, + { + "x": 1080, + "y": 707 + }, + { + "x": 1070, + "y": 709 + }, + { + "x": 1058, + "y": 719 + }, + { + "x": 1033, + "y": 724 + }, + { + "x": 1019, + "y": 735 + }, + { + "x": 1004, + "y": 734 + }, + { + "x": 957, + "y": 698 + }, + { + "x": 954, + "y": 682 + }, + { + "x": 969, + "y": 666 + }, + { + "x": 968, + "y": 661 + }, + { + "x": 956, + "y": 659 + }, + { + "x": 947, + "y": 648 + }, + { + "x": 941, + "y": 629 + }, + { + "x": 945, + "y": 612 + }, + { + "x": 911, + "y": 583 + }, + { + "x": 915, + "y": 610 + }, + { + "x": 905, + "y": 624 + }, + { + "x": 874, + "y": 631 + }, + { + "x": 860, + "y": 648 + }, + { + "x": 818, + "y": 649 + }, + { + "x": 810, + "y": 658 + }, + { + "x": 799, + "y": 661 + }, + { + "x": 759, + "y": 651 + }, + { + "x": 750, + "y": 657 + }, + { + "x": 735, + "y": 656 + }, + { + "x": 726, + "y": 648 + }, + { + "x": 720, + "y": 629 + }, + { + "x": 697, + "y": 629 + }, + { + "x": 686, + "y": 621 + }, + { + "x": 673, + "y": 622 + }, + { + "x": 657, + "y": 636 + }, + { + "x": 626, + "y": 640 + }, + { + "x": 610, + "y": 627 + }, + { + "x": 606, + "y": 618 + }, + { + "x": 608, + "y": 603 + }, + { + "x": 605, + "y": 596 + }, + { + "x": 598, + "y": 595 + }, + { + "x": 563, + "y": 644 + }, + { + "x": 553, + "y": 692 + }, + { + "x": 537, + "y": 729 + }, + { + "x": 525, + "y": 738 + }, + { + "x": 482, + "y": 743 + }, + { + "x": 465, + "y": 772 + }, + { + "x": 463, + "y": 808 + }, + { + "x": 479, + "y": 811 + }, + { + "x": 488, + "y": 819 + }, + { + "x": 489, + "y": 854 + }, + { + "x": 477, + "y": 869 + }, + { + "x": 456, + "y": 870 + }, + { + "x": 448, + "y": 883 + }, + { + "x": 458, + "y": 885 + }, + { + "x": 477, + "y": 902 + }, + { + "x": 477, + "y": 924 + }, + { + "x": 462, + "y": 941 + }, + { + "x": 448, + "y": 945 + }, + { + "x": 430, + "y": 940 + }, + { + "x": 416, + "y": 924 + }, + { + "x": 397, + "y": 926 + }, + { + "x": 380, + "y": 963 + }, + { + "x": 380, + "y": 970 + }, + { + "x": 393, + "y": 982 + }, + { + "x": 400, + "y": 1011 + }, + { + "x": 376, + "y": 1037 + }, + { + "x": 391, + "y": 1046 + }, + { + "x": 391, + "y": 1068 + }, + { + "x": 407, + "y": 1084 + }, + { + "x": 404, + "y": 1103 + }, + { + "x": 394, + "y": 1114 + }, + { + "x": 389, + "y": 1131 + }, + { + "x": 388, + "y": 1153 + }, + { + "x": 405, + "y": 1168 + }, + { + "x": 408, + "y": 1185 + }, + { + "x": 398, + "y": 1201 + }, + { + "x": 385, + "y": 1210 + }, + { + "x": 407, + "y": 1251 + }, + { + "x": 403, + "y": 1270 + }, + { + "x": 417, + "y": 1264 + }, + { + "x": 429, + "y": 1266 + }, + { + "x": 438, + "y": 1274 + }, + { + "x": 442, + "y": 1287 + }, + { + "x": 451, + "y": 1292 + }, + { + "x": 467, + "y": 1275 + }, + { + "x": 492, + "y": 1272 + }, + { + "x": 507, + "y": 1256 + }, + { + "x": 522, + "y": 1256 + }, + { + "x": 537, + "y": 1266 + }, + { + "x": 537, + "y": 1297 + }, + { + "x": 488, + "y": 1324 + }, + { + "x": 470, + "y": 1342 + }, + { + "x": 509, + "y": 1315 + }, + { + "x": 536, + "y": 1302 + }, + { + "x": 557, + "y": 1298 + }, + { + "x": 577, + "y": 1301 + }, + { + "x": 584, + "y": 1308 + }, + { + "x": 587, + "y": 1321 + }, + { + "x": 611, + "y": 1305 + }, + { + "x": 626, + "y": 1304 + }, + { + "x": 638, + "y": 1313 + }, + { + "x": 654, + "y": 1316 + }, + { + "x": 661, + "y": 1324 + }, + { + "x": 674, + "y": 1326 + }, + { + "x": 682, + "y": 1336 + }, + { + "x": 693, + "y": 1315 + }, + { + "x": 704, + "y": 1306 + }, + { + "x": 706, + "y": 1287 + }, + { + "x": 736, + "y": 1263 + }, + { + "x": 791, + "y": 1237 + }, + { + "x": 811, + "y": 1233 + }, + { + "x": 837, + "y": 1217 + }, + { + "x": 839, + "y": 1185 + }, + { + "x": 821, + "y": 1160 + }, + { + "x": 823, + "y": 1142 + }, + { + "x": 842, + "y": 1124 + }, + { + "x": 885, + "y": 1109 + }, + { + "x": 899, + "y": 1095 + }, + { + "x": 915, + "y": 1056 + }, + { + "x": 906, + "y": 1048 + }, + { + "x": 893, + "y": 1016 + }, + { + "x": 894, + "y": 1000 + }, + { + "x": 881, + "y": 1012 + }, + { + "x": 837, + "y": 1022 + }, + { + "x": 824, + "y": 1017 + }, + { + "x": 797, + "y": 1042 + }, + { + "x": 787, + "y": 1044 + }, + { + "x": 779, + "y": 1057 + }, + { + "x": 763, + "y": 1069 + }, + { + "x": 772, + "y": 1080 + }, + { + "x": 773, + "y": 1099 + }, + { + "x": 758, + "y": 1115 + }, + { + "x": 737, + "y": 1113 + }, + { + "x": 727, + "y": 1104 + }, + { + "x": 718, + "y": 1087 + }, + { + "x": 726, + "y": 1064 + }, + { + "x": 710, + "y": 1078 + }, + { + "x": 683, + "y": 1075 + }, + { + "x": 663, + "y": 1085 + }, + { + "x": 625, + "y": 1074 + }, + { + "x": 604, + "y": 1073 + }, + { + "x": 593, + "y": 1058 + }, + { + "x": 591, + "y": 979 + }, + { + "x": 581, + "y": 964 + }, + { + "x": 582, + "y": 951 + }, + { + "x": 591, + "y": 939 + }, + { + "x": 591, + "y": 910 + }, + { + "x": 574, + "y": 889 + }, + { + "x": 568, + "y": 863 + }, + { + "x": 582, + "y": 842 + }, + { + "x": 616, + "y": 831 + }, + { + "x": 634, + "y": 841 + }, + { + "x": 647, + "y": 869 + }, + { + "x": 646, + "y": 880 + }, + { + "x": 637, + "y": 891 + }, + { + "x": 642, + "y": 900 + }, + { + "x": 637, + "y": 917 + }, + { + "x": 637, + "y": 944 + }, + { + "x": 667, + "y": 953 + }, + { + "x": 680, + "y": 969 + }, + { + "x": 716, + "y": 987 + }, + { + "x": 748, + "y": 978 + }, + { + "x": 759, + "y": 981 + }, + { + "x": 778, + "y": 961 + }, + { + "x": 791, + "y": 955 + }, + { + "x": 816, + "y": 955 + }, + { + "x": 827, + "y": 963 + }, + { + "x": 838, + "y": 964 + }, + { + "x": 869, + "y": 946 + }, + { + "x": 890, + "y": 947 + }, + { + "x": 916, + "y": 918 + }, + { + "x": 927, + "y": 915 + }, + { + "x": 1021, + "y": 922 + }, + { + "x": 1111, + "y": 919 + }, + { + "x": 1131, + "y": 924 + }, + { + "x": 1144, + "y": 943 + }, + { + "x": 1158, + "y": 947 + }, + { + "x": 1171, + "y": 945 + }, + { + "x": 1200, + "y": 930 + }, + { + "x": 1238, + "y": 936 + }, + { + "x": 1248, + "y": 950 + }, + { + "x": 1250, + "y": 995 + }, + { + "x": 1236, + "y": 1018 + }, + { + "x": 1236, + "y": 1044 + }, + { + "x": 1222, + "y": 1061 + }, + { + "x": 1205, + "y": 1065 + }, + { + "x": 1187, + "y": 1079 + }, + { + "x": 1151, + "y": 1075 + }, + { + "x": 1133, + "y": 1092 + }, + { + "x": 1112, + "y": 1091 + }, + { + "x": 1093, + "y": 1098 + }, + { + "x": 1070, + "y": 1099 + }, + { + "x": 1085, + "y": 1114 + }, + { + "x": 1094, + "y": 1146 + }, + { + "x": 1082, + "y": 1161 + }, + { + "x": 1047, + "y": 1167 + }, + { + "x": 1047, + "y": 1175 + }, + { + "x": 1063, + "y": 1192 + }, + { + "x": 1058, + "y": 1211 + }, + { + "x": 1047, + "y": 1222 + }, + { + "x": 1047, + "y": 1280 + }, + { + "x": 1056, + "y": 1282 + }, + { + "x": 1080, + "y": 1312 + }, + { + "x": 1077, + "y": 1331 + }, + { + "x": 1062, + "y": 1344 + }, + { + "x": 1047, + "y": 1345 + }, + { + "x": 1050, + "y": 1364 + }, + { + "x": 1409, + "y": 1364 + }, + { + "x": 1406, + "y": 1354 + }, + { + "x": 1388, + "y": 1347 + }, + { + "x": 1378, + "y": 1336 + }, + { + "x": 1377, + "y": 1275 + }, + { + "x": 1346, + "y": 1238 + }, + { + "x": 1349, + "y": 1214 + }, + { + "x": 1368, + "y": 1172 + }, + { + "x": 1377, + "y": 1164 + }, + { + "x": 1399, + "y": 1158 + }, + { + "x": 1410, + "y": 1147 + }, + { + "x": 1410, + "y": 1059 + }, + { + "x": 1395, + "y": 1062 + }, + { + "x": 1373, + "y": 1055 + }, + { + "x": 1358, + "y": 1038 + }, + { + "x": 1359, + "y": 1027 + }, + { + "x": 1376, + "y": 998 + }, + { + "x": 1377, + "y": 978 + }, + { + "x": 1423, + "y": 937 + }, + { + "x": 1471, + "y": 924 + }, + { + "x": 1487, + "y": 929 + }, + { + "x": 1500, + "y": 915 + }, + { + "x": 1529, + "y": 913 + }, + { + "x": 1551, + "y": 899 + }, + { + "x": 1589, + "y": 896 + }, + { + "x": 1598, + "y": 885 + }, + { + "x": 1636, + "y": 871 + }, + { + "x": 1673, + "y": 874 + }, + { + "x": 1678, + "y": 868 + }, + { + "x": 1676, + "y": 850 + }, + { + "x": 1693, + "y": 834 + }, + { + "x": 1710, + "y": 836 + }, + { + "x": 1720, + "y": 853 + }, + { + "x": 1768, + "y": 852 + }, + { + "x": 1746, + "y": 840 + }, + { + "x": 1740, + "y": 809 + }, + { + "x": 1750, + "y": 795 + }, + { + "x": 1758, + "y": 793 + }, + { + "x": 1769, + "y": 772 + }, + { + "x": 1761, + "y": 755 + }, + { + "x": 1765, + "y": 730 + }, + { + "x": 1801, + "y": 682 + }, + { + "x": 1791, + "y": 648 + }, + { + "x": 1792, + "y": 637 + }, + { + "x": 1799, + "y": 628 + }, + { + "x": 1784, + "y": 616 + } + ], + "center": { + "x": 1102, + "y": 976 + }, + "radius": 781.061, + "bbox": { + "x": 376, + "y": 387, + "width": 1426, + "height": 978 + } + }, + { + "polygon": [ + { + "x": 1362, + "y": 411 + }, + { + "x": 1380, + "y": 416 + }, + { + "x": 1393, + "y": 429 + }, + { + "x": 1396, + "y": 471 + }, + { + "x": 1380, + "y": 512 + }, + { + "x": 1360, + "y": 533 + }, + { + "x": 1345, + "y": 537 + }, + { + "x": 1327, + "y": 527 + }, + { + "x": 1324, + "y": 500 + }, + { + "x": 1345, + "y": 466 + }, + { + "x": 1338, + "y": 455 + }, + { + "x": 1341, + "y": 427 + }, + { + "x": 1351, + "y": 414 + } + ], + "center": { + "x": 1353, + "y": 474 + }, + "radius": 65.478, + "bbox": { + "x": 1324, + "y": 411, + "width": 73, + "height": 127 + } + }, + { + "polygon": [ + { + "x": 1469, + "y": 141 + }, + { + "x": 1465, + "y": 148 + }, + { + "x": 1471, + "y": 147 + } + ], + "center": { + "x": 1467, + "y": 144 + }, + "radius": 4.20348, + "bbox": { + "x": 1465, + "y": 141, + "width": 7, + "height": 8 + } + }, + { + "polygon": [ + { + "x": 1344, + "y": 114 + }, + { + "x": 1344, + "y": 341 + }, + { + "x": 1369, + "y": 341 + }, + { + "x": 1371, + "y": 300 + }, + { + "x": 1367, + "y": 278 + }, + { + "x": 1374, + "y": 249 + }, + { + "x": 1387, + "y": 239 + }, + { + "x": 1406, + "y": 241 + }, + { + "x": 1419, + "y": 261 + }, + { + "x": 1423, + "y": 281 + }, + { + "x": 1438, + "y": 293 + }, + { + "x": 1437, + "y": 267 + }, + { + "x": 1454, + "y": 247 + }, + { + "x": 1455, + "y": 208 + }, + { + "x": 1439, + "y": 189 + }, + { + "x": 1445, + "y": 166 + }, + { + "x": 1431, + "y": 163 + }, + { + "x": 1413, + "y": 186 + }, + { + "x": 1391, + "y": 185 + }, + { + "x": 1381, + "y": 171 + }, + { + "x": 1383, + "y": 153 + }, + { + "x": 1375, + "y": 125 + }, + { + "x": 1364, + "y": 114 + } + ], + "center": { + "x": 1349, + "y": 227 + }, + "radius": 117.04, + "bbox": { + "x": 1344, + "y": 114, + "width": 112, + "height": 228 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/3d0a0d191617e2fcfc429ac917a4a795.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 67, + 34 + ], + [ + 599, + 399 + ] + ], + "bbox": { + "x": 67, + "y": 34, + "width": 532, + "height": 365 + }, + "confidence": 0.172402, + "polygon": [ + [ + 67, + 140 + ], + [ + 67, + 165 + ], + [ + 74, + 174 + ], + [ + 84, + 176 + ], + [ + 94, + 190 + ], + [ + 91, + 206 + ], + [ + 80, + 214 + ], + [ + 79, + 246 + ], + [ + 88, + 259 + ], + [ + 85, + 275 + ], + [ + 115, + 276 + ], + [ + 131, + 268 + ], + [ + 143, + 271 + ], + [ + 157, + 289 + ], + [ + 156, + 302 + ], + [ + 148, + 312 + ], + [ + 155, + 321 + ], + [ + 157, + 339 + ], + [ + 211, + 339 + ], + [ + 213, + 279 + ], + [ + 231, + 269 + ], + [ + 258, + 274 + ], + [ + 276, + 297 + ], + [ + 275, + 312 + ], + [ + 267, + 322 + ], + [ + 267, + 357 + ], + [ + 279, + 374 + ], + [ + 281, + 398 + ], + [ + 317, + 398 + ], + [ + 320, + 387 + ], + [ + 338, + 377 + ], + [ + 349, + 380 + ], + [ + 359, + 398 + ], + [ + 449, + 398 + ], + [ + 450, + 365 + ], + [ + 460, + 351 + ], + [ + 477, + 349 + ], + [ + 490, + 361 + ], + [ + 492, + 338 + ], + [ + 484, + 336 + ], + [ + 474, + 322 + ], + [ + 474, + 302 + ], + [ + 484, + 288 + ], + [ + 503, + 283 + ], + [ + 520, + 285 + ], + [ + 534, + 279 + ], + [ + 548, + 285 + ], + [ + 598, + 285 + ], + [ + 598, + 194 + ], + [ + 582, + 191 + ], + [ + 572, + 177 + ], + [ + 572, + 135 + ], + [ + 567, + 126 + ], + [ + 570, + 87 + ], + [ + 559, + 100 + ], + [ + 541, + 104 + ], + [ + 530, + 101 + ], + [ + 519, + 87 + ], + [ + 501, + 85 + ], + [ + 492, + 73 + ], + [ + 474, + 74 + ], + [ + 457, + 69 + ], + [ + 442, + 81 + ], + [ + 416, + 79 + ], + [ + 410, + 96 + ], + [ + 401, + 104 + ], + [ + 343, + 111 + ], + [ + 319, + 86 + ], + [ + 320, + 73 + ], + [ + 331, + 61 + ], + [ + 331, + 34 + ], + [ + 310, + 41 + ], + [ + 295, + 34 + ], + [ + 267, + 34 + ], + [ + 264, + 78 + ], + [ + 246, + 88 + ], + [ + 193, + 88 + ], + [ + 187, + 98 + ], + [ + 186, + 131 + ], + [ + 169, + 140 + ], + [ + 158, + 153 + ], + [ + 146, + 156 + ], + [ + 133, + 151 + ], + [ + 109, + 161 + ], + [ + 87, + 157 + ], + [ + 73, + 140 + ] + ], + "center": [ + 332, + 212 + ], + "radius": 283.477, + "regions": [ + { + "polygon": [ + { + "x": 67, + "y": 140 + }, + { + "x": 67, + "y": 165 + }, + { + "x": 74, + "y": 174 + }, + { + "x": 84, + "y": 176 + }, + { + "x": 94, + "y": 190 + }, + { + "x": 91, + "y": 206 + }, + { + "x": 80, + "y": 214 + }, + { + "x": 79, + "y": 246 + }, + { + "x": 88, + "y": 259 + }, + { + "x": 85, + "y": 275 + }, + { + "x": 115, + "y": 276 + }, + { + "x": 131, + "y": 268 + }, + { + "x": 143, + "y": 271 + }, + { + "x": 157, + "y": 289 + }, + { + "x": 156, + "y": 302 + }, + { + "x": 148, + "y": 312 + }, + { + "x": 155, + "y": 321 + }, + { + "x": 157, + "y": 339 + }, + { + "x": 211, + "y": 339 + }, + { + "x": 213, + "y": 279 + }, + { + "x": 231, + "y": 269 + }, + { + "x": 258, + "y": 274 + }, + { + "x": 276, + "y": 297 + }, + { + "x": 275, + "y": 312 + }, + { + "x": 267, + "y": 322 + }, + { + "x": 267, + "y": 357 + }, + { + "x": 279, + "y": 374 + }, + { + "x": 281, + "y": 398 + }, + { + "x": 317, + "y": 398 + }, + { + "x": 320, + "y": 387 + }, + { + "x": 338, + "y": 377 + }, + { + "x": 349, + "y": 380 + }, + { + "x": 359, + "y": 398 + }, + { + "x": 449, + "y": 398 + }, + { + "x": 450, + "y": 365 + }, + { + "x": 460, + "y": 351 + }, + { + "x": 477, + "y": 349 + }, + { + "x": 490, + "y": 361 + }, + { + "x": 492, + "y": 338 + }, + { + "x": 484, + "y": 336 + }, + { + "x": 474, + "y": 322 + }, + { + "x": 474, + "y": 302 + }, + { + "x": 484, + "y": 288 + }, + { + "x": 503, + "y": 283 + }, + { + "x": 520, + "y": 285 + }, + { + "x": 534, + "y": 279 + }, + { + "x": 548, + "y": 285 + }, + { + "x": 598, + "y": 285 + }, + { + "x": 598, + "y": 194 + }, + { + "x": 582, + "y": 191 + }, + { + "x": 572, + "y": 177 + }, + { + "x": 572, + "y": 135 + }, + { + "x": 567, + "y": 126 + }, + { + "x": 570, + "y": 87 + }, + { + "x": 559, + "y": 100 + }, + { + "x": 541, + "y": 104 + }, + { + "x": 530, + "y": 101 + }, + { + "x": 519, + "y": 87 + }, + { + "x": 501, + "y": 85 + }, + { + "x": 492, + "y": 73 + }, + { + "x": 474, + "y": 74 + }, + { + "x": 457, + "y": 69 + }, + { + "x": 442, + "y": 81 + }, + { + "x": 416, + "y": 79 + }, + { + "x": 410, + "y": 96 + }, + { + "x": 401, + "y": 104 + }, + { + "x": 343, + "y": 111 + }, + { + "x": 319, + "y": 86 + }, + { + "x": 320, + "y": 73 + }, + { + "x": 331, + "y": 61 + }, + { + "x": 331, + "y": 34 + }, + { + "x": 310, + "y": 41 + }, + { + "x": 295, + "y": 34 + }, + { + "x": 267, + "y": 34 + }, + { + "x": 264, + "y": 78 + }, + { + "x": 246, + "y": 88 + }, + { + "x": 193, + "y": 88 + }, + { + "x": 187, + "y": 98 + }, + { + "x": 186, + "y": 131 + }, + { + "x": 169, + "y": 140 + }, + { + "x": 158, + "y": 153 + }, + { + "x": 146, + "y": 156 + }, + { + "x": 133, + "y": 151 + }, + { + "x": 109, + "y": 161 + }, + { + "x": 87, + "y": 157 + }, + { + "x": 73, + "y": 140 + } + ], + "center": { + "x": 332, + "y": 212 + }, + "radius": 283.477, + "bbox": { + "x": 67, + "y": 34, + "width": 532, + "height": 365 + } + }, + { + "polygon": [ + { + "x": 352, + "y": 128 + }, + { + "x": 379, + "y": 136 + }, + { + "x": 389, + "y": 150 + }, + { + "x": 386, + "y": 184 + }, + { + "x": 378, + "y": 192 + }, + { + "x": 354, + "y": 201 + }, + { + "x": 335, + "y": 191 + }, + { + "x": 331, + "y": 175 + }, + { + "x": 332, + "y": 142 + }, + { + "x": 341, + "y": 131 + } + ], + "center": { + "x": 355, + "y": 164 + }, + "radius": 37.6887, + "bbox": { + "x": 331, + "y": 128, + "width": 59, + "height": 74 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/8444ba65bbb8fd8a3cf85870af6266e0.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 140, + 370 + ], + [ + 540, + 449 + ] + ], + "bbox": { + "x": 140, + "y": 370, + "width": 400, + "height": 79 + }, + "confidence": 0.338866, + "polygon": [ + [ + 391, + 375 + ], + [ + 395, + 384 + ], + [ + 392, + 410 + ], + [ + 396, + 418 + ], + [ + 392, + 440 + ], + [ + 396, + 443 + ], + [ + 432, + 442 + ], + [ + 435, + 428 + ], + [ + 453, + 418 + ], + [ + 464, + 421 + ], + [ + 471, + 429 + ], + [ + 485, + 431 + ], + [ + 494, + 439 + ], + [ + 539, + 414 + ], + [ + 535, + 400 + ], + [ + 493, + 380 + ], + [ + 473, + 381 + ], + [ + 424, + 370 + ] + ], + "center": [ + 462, + 403 + ], + "radius": 79.4587, + "regions": [ + { + "polygon": [ + { + "x": 140, + "y": 437 + }, + { + "x": 140, + "y": 445 + }, + { + "x": 150, + "y": 443 + }, + { + "x": 163, + "y": 448 + }, + { + "x": 197, + "y": 442 + }, + { + "x": 236, + "y": 447 + }, + { + "x": 250, + "y": 441 + }, + { + "x": 263, + "y": 445 + }, + { + "x": 299, + "y": 442 + }, + { + "x": 298, + "y": 428 + }, + { + "x": 288, + "y": 414 + }, + { + "x": 290, + "y": 394 + }, + { + "x": 273, + "y": 394 + }, + { + "x": 260, + "y": 404 + }, + { + "x": 254, + "y": 427 + }, + { + "x": 245, + "y": 438 + }, + { + "x": 232, + "y": 442 + }, + { + "x": 221, + "y": 439 + }, + { + "x": 211, + "y": 425 + }, + { + "x": 212, + "y": 404 + }, + { + "x": 205, + "y": 395 + }, + { + "x": 203, + "y": 381 + }, + { + "x": 168, + "y": 381 + }, + { + "x": 160, + "y": 422 + }, + { + "x": 151, + "y": 433 + } + ], + "center": { + "x": 219, + "y": 432 + }, + "radius": 82.2875, + "bbox": { + "x": 140, + "y": 381, + "width": 160, + "height": 68 + } + }, + { + "polygon": [ + { + "x": 391, + "y": 375 + }, + { + "x": 395, + "y": 384 + }, + { + "x": 392, + "y": 410 + }, + { + "x": 396, + "y": 418 + }, + { + "x": 392, + "y": 440 + }, + { + "x": 396, + "y": 443 + }, + { + "x": 432, + "y": 442 + }, + { + "x": 435, + "y": 428 + }, + { + "x": 453, + "y": 418 + }, + { + "x": 464, + "y": 421 + }, + { + "x": 471, + "y": 429 + }, + { + "x": 485, + "y": 431 + }, + { + "x": 494, + "y": 439 + }, + { + "x": 539, + "y": 414 + }, + { + "x": 535, + "y": 400 + }, + { + "x": 493, + "y": 380 + }, + { + "x": 473, + "y": 381 + }, + { + "x": 424, + "y": 370 + } + ], + "center": { + "x": 462, + "y": 403 + }, + "radius": 79.4587, + "bbox": { + "x": 391, + "y": 370, + "width": 149, + "height": 74 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/Primary_tut_gss.wide_.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 82, + 202 + ], + [ + 435, + 242 + ] + ], + "bbox": { + "x": 82, + "y": 202, + "width": 353, + "height": 40 + }, + "confidence": 0.353752, + "polygon": [ + [ + 82, + 202 + ], + [ + 83, + 241 + ], + [ + 434, + 240 + ], + [ + 434, + 202 + ], + [ + 414, + 213 + ], + [ + 268, + 215 + ], + [ + 102, + 213 + ] + ], + "center": [ + 258, + 221 + ], + "radius": 182.333, + "regions": [ + { + "polygon": [ + { + "x": 82, + "y": 202 + }, + { + "x": 83, + "y": 241 + }, + { + "x": 434, + "y": 240 + }, + { + "x": 434, + "y": 202 + }, + { + "x": 414, + "y": 213 + }, + { + "x": 268, + "y": 215 + }, + { + "x": 102, + "y": 213 + } + ], + "center": { + "x": 258, + "y": 221 + }, + "radius": 182.333, + "bbox": { + "x": 82, + "y": 202, + "width": 353, + "height": 40 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/c97f0a5e-1f3f-483d-83f1-6dec72132b4d.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 441, + 920 + ], + [ + 1083, + 1070 + ] + ], + "bbox": { + "x": 441, + "y": 920, + "width": 642, + "height": 150 + }, + "confidence": 0.346292, + "polygon": [ + [ + 441, + 1048 + ], + [ + 441, + 1069 + ], + [ + 1082, + 1069 + ], + [ + 1082, + 1041 + ], + [ + 1065, + 1037 + ], + [ + 1056, + 1029 + ], + [ + 1055, + 1009 + ], + [ + 1040, + 1016 + ], + [ + 1022, + 1013 + ], + [ + 1015, + 1006 + ], + [ + 1011, + 991 + ], + [ + 1001, + 988 + ], + [ + 987, + 969 + ], + [ + 989, + 994 + ], + [ + 983, + 1006 + ], + [ + 971, + 1015 + ], + [ + 943, + 1014 + ], + [ + 922, + 1005 + ], + [ + 908, + 1009 + ], + [ + 880, + 1004 + ], + [ + 858, + 977 + ], + [ + 860, + 958 + ], + [ + 822, + 923 + ], + [ + 785, + 934 + ], + [ + 763, + 926 + ], + [ + 754, + 937 + ], + [ + 743, + 940 + ], + [ + 704, + 920 + ], + [ + 697, + 928 + ], + [ + 680, + 933 + ], + [ + 669, + 945 + ], + [ + 636, + 945 + ], + [ + 637, + 958 + ], + [ + 631, + 976 + ], + [ + 607, + 997 + ], + [ + 585, + 998 + ], + [ + 563, + 992 + ], + [ + 554, + 1000 + ], + [ + 517, + 1007 + ], + [ + 463, + 1027 + ], + [ + 443, + 1017 + ], + [ + 449, + 1036 + ] + ], + "center": [ + 761, + 1058 + ], + "radius": 330.292, + "regions": [ + { + "polygon": [ + { + "x": 1064, + "y": 987 + }, + { + "x": 1061, + "y": 999 + }, + { + "x": 1070, + "y": 993 + } + ], + "center": { + "x": 1063, + "y": 993 + }, + "radius": 6.49634, + "bbox": { + "x": 1061, + "y": 987, + "width": 10, + "height": 13 + } + }, + { + "polygon": [ + { + "x": 928, + "y": 962 + }, + { + "x": 935, + "y": 966 + } + ], + "center": { + "x": 931, + "y": 964 + }, + "radius": 4.15206, + "bbox": { + "x": 928, + "y": 962, + "width": 8, + "height": 5 + } + }, + { + "polygon": [ + { + "x": 441, + "y": 1048 + }, + { + "x": 441, + "y": 1069 + }, + { + "x": 1082, + "y": 1069 + }, + { + "x": 1082, + "y": 1041 + }, + { + "x": 1065, + "y": 1037 + }, + { + "x": 1056, + "y": 1029 + }, + { + "x": 1055, + "y": 1009 + }, + { + "x": 1040, + "y": 1016 + }, + { + "x": 1022, + "y": 1013 + }, + { + "x": 1015, + "y": 1006 + }, + { + "x": 1011, + "y": 991 + }, + { + "x": 1001, + "y": 988 + }, + { + "x": 987, + "y": 969 + }, + { + "x": 989, + "y": 994 + }, + { + "x": 983, + "y": 1006 + }, + { + "x": 971, + "y": 1015 + }, + { + "x": 943, + "y": 1014 + }, + { + "x": 922, + "y": 1005 + }, + { + "x": 908, + "y": 1009 + }, + { + "x": 880, + "y": 1004 + }, + { + "x": 858, + "y": 977 + }, + { + "x": 860, + "y": 958 + }, + { + "x": 822, + "y": 923 + }, + { + "x": 785, + "y": 934 + }, + { + "x": 763, + "y": 926 + }, + { + "x": 754, + "y": 937 + }, + { + "x": 743, + "y": 940 + }, + { + "x": 704, + "y": 920 + }, + { + "x": 697, + "y": 928 + }, + { + "x": 680, + "y": 933 + }, + { + "x": 669, + "y": 945 + }, + { + "x": 636, + "y": 945 + }, + { + "x": 637, + "y": 958 + }, + { + "x": 631, + "y": 976 + }, + { + "x": 607, + "y": 997 + }, + { + "x": 585, + "y": 998 + }, + { + "x": 563, + "y": 992 + }, + { + "x": 554, + "y": 1000 + }, + { + "x": 517, + "y": 1007 + }, + { + "x": 463, + "y": 1027 + }, + { + "x": 443, + "y": 1017 + }, + { + "x": 449, + "y": 1036 + } + ], + "center": { + "x": 761, + "y": 1058 + }, + "radius": 330.292, + "bbox": { + "x": 441, + "y": 920, + "width": 642, + "height": 150 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/experiment_greenbg.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 261, + 274 + ], + [ + 658, + 327 + ] + ], + "bbox": { + "x": 261, + "y": 274, + "width": 397, + "height": 53 + }, + "confidence": 0.979789, + "polygon": [ + [ + 261, + 274 + ], + [ + 261, + 325 + ], + [ + 269, + 325 + ], + [ + 280, + 311 + ], + [ + 300, + 306 + ], + [ + 311, + 309 + ], + [ + 321, + 325 + ], + [ + 367, + 322 + ], + [ + 385, + 326 + ], + [ + 398, + 321 + ], + [ + 420, + 326 + ], + [ + 459, + 320 + ], + [ + 472, + 325 + ], + [ + 492, + 320 + ], + [ + 522, + 325 + ], + [ + 618, + 325 + ], + [ + 633, + 318 + ], + [ + 657, + 325 + ], + [ + 657, + 274 + ], + [ + 635, + 281 + ], + [ + 619, + 274 + ], + [ + 517, + 274 + ], + [ + 501, + 282 + ], + [ + 485, + 274 + ], + [ + 459, + 279 + ], + [ + 440, + 274 + ], + [ + 425, + 281 + ], + [ + 406, + 274 + ], + [ + 321, + 274 + ], + [ + 307, + 280 + ], + [ + 287, + 274 + ] + ], + "center": [ + 459, + 299 + ], + "radius": 205.624, + "regions": [ + { + "polygon": [ + { + "x": 261, + "y": 274 + }, + { + "x": 261, + "y": 325 + }, + { + "x": 269, + "y": 325 + }, + { + "x": 280, + "y": 311 + }, + { + "x": 300, + "y": 306 + }, + { + "x": 311, + "y": 309 + }, + { + "x": 321, + "y": 325 + }, + { + "x": 367, + "y": 322 + }, + { + "x": 385, + "y": 326 + }, + { + "x": 398, + "y": 321 + }, + { + "x": 420, + "y": 326 + }, + { + "x": 459, + "y": 320 + }, + { + "x": 472, + "y": 325 + }, + { + "x": 492, + "y": 320 + }, + { + "x": 522, + "y": 325 + }, + { + "x": 618, + "y": 325 + }, + { + "x": 633, + "y": 318 + }, + { + "x": 657, + "y": 325 + }, + { + "x": 657, + "y": 274 + }, + { + "x": 635, + "y": 281 + }, + { + "x": 619, + "y": 274 + }, + { + "x": 517, + "y": 274 + }, + { + "x": 501, + "y": 282 + }, + { + "x": 485, + "y": 274 + }, + { + "x": 459, + "y": 279 + }, + { + "x": 440, + "y": 274 + }, + { + "x": 425, + "y": 281 + }, + { + "x": 406, + "y": 274 + }, + { + "x": 321, + "y": 274 + }, + { + "x": 307, + "y": 280 + }, + { + "x": 287, + "y": 274 + } + ], + "center": { + "x": 459, + "y": 299 + }, + "radius": 205.624, + "bbox": { + "x": 261, + "y": 274, + "width": 397, + "height": 53 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/fa65d799-ed10-4ff5-a3af-34264257485c.JPG", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 383, + 299 + ], + [ + 1355, + 1535 + ] + ], + "bbox": { + "x": 383, + "y": 299, + "width": 972, + "height": 1236 + }, + "confidence": 0.645361, + "polygon": [ + [ + 1116, + 1263 + ], + [ + 1100, + 1270 + ], + [ + 1083, + 1269 + ], + [ + 1074, + 1263 + ], + [ + 1051, + 1263 + ], + [ + 1041, + 1273 + ], + [ + 1045, + 1293 + ], + [ + 1042, + 1308 + ], + [ + 1033, + 1316 + ], + [ + 1018, + 1317 + ], + [ + 1004, + 1310 + ], + [ + 984, + 1287 + ], + [ + 989, + 1260 + ], + [ + 1000, + 1248 + ], + [ + 988, + 1245 + ], + [ + 948, + 1220 + ], + [ + 934, + 1226 + ], + [ + 919, + 1225 + ], + [ + 909, + 1216 + ], + [ + 906, + 1205 + ], + [ + 905, + 1219 + ], + [ + 896, + 1230 + ], + [ + 876, + 1234 + ], + [ + 812, + 1232 + ], + [ + 740, + 1221 + ], + [ + 664, + 1228 + ], + [ + 633, + 1224 + ], + [ + 642, + 1244 + ], + [ + 663, + 1270 + ], + [ + 665, + 1288 + ], + [ + 654, + 1300 + ], + [ + 595, + 1319 + ], + [ + 583, + 1316 + ], + [ + 558, + 1285 + ], + [ + 530, + 1280 + ], + [ + 475, + 1281 + ], + [ + 467, + 1278 + ], + [ + 457, + 1263 + ], + [ + 434, + 1263 + ], + [ + 433, + 1300 + ], + [ + 404, + 1339 + ], + [ + 417, + 1383 + ], + [ + 418, + 1410 + ], + [ + 383, + 1453 + ], + [ + 384, + 1498 + ], + [ + 401, + 1534 + ], + [ + 631, + 1534 + ], + [ + 645, + 1481 + ], + [ + 659, + 1462 + ], + [ + 682, + 1458 + ], + [ + 705, + 1466 + ], + [ + 725, + 1444 + ], + [ + 747, + 1440 + ], + [ + 788, + 1446 + ], + [ + 821, + 1460 + ], + [ + 836, + 1488 + ], + [ + 866, + 1512 + ], + [ + 870, + 1534 + ], + [ + 1118, + 1534 + ], + [ + 1116, + 1500 + ], + [ + 1125, + 1489 + ], + [ + 1138, + 1486 + ], + [ + 1137, + 1473 + ], + [ + 1127, + 1465 + ], + [ + 1110, + 1430 + ], + [ + 1110, + 1397 + ], + [ + 1100, + 1381 + ], + [ + 1101, + 1367 + ], + [ + 1110, + 1356 + ], + [ + 1105, + 1350 + ], + [ + 1092, + 1355 + ], + [ + 1076, + 1350 + ], + [ + 1067, + 1341 + ], + [ + 1062, + 1327 + ], + [ + 1065, + 1309 + ], + [ + 1083, + 1299 + ], + [ + 1094, + 1302 + ], + [ + 1112, + 1324 + ], + [ + 1109, + 1309 + ], + [ + 1113, + 1300 + ], + [ + 1106, + 1277 + ] + ], + "center": [ + 763, + 1410 + ], + "radius": 393.937, + "regions": [ + { + "polygon": [ + { + "x": 1002, + "y": 1247 + } + ], + "center": { + "x": 1002, + "y": 1247 + }, + "radius": 1, + "bbox": { + "x": 1002, + "y": 1247, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1116, + "y": 1263 + }, + { + "x": 1100, + "y": 1270 + }, + { + "x": 1083, + "y": 1269 + }, + { + "x": 1074, + "y": 1263 + }, + { + "x": 1051, + "y": 1263 + }, + { + "x": 1041, + "y": 1273 + }, + { + "x": 1045, + "y": 1293 + }, + { + "x": 1042, + "y": 1308 + }, + { + "x": 1033, + "y": 1316 + }, + { + "x": 1018, + "y": 1317 + }, + { + "x": 1004, + "y": 1310 + }, + { + "x": 984, + "y": 1287 + }, + { + "x": 989, + "y": 1260 + }, + { + "x": 1000, + "y": 1248 + }, + { + "x": 988, + "y": 1245 + }, + { + "x": 948, + "y": 1220 + }, + { + "x": 934, + "y": 1226 + }, + { + "x": 919, + "y": 1225 + }, + { + "x": 909, + "y": 1216 + }, + { + "x": 906, + "y": 1205 + }, + { + "x": 905, + "y": 1219 + }, + { + "x": 896, + "y": 1230 + }, + { + "x": 876, + "y": 1234 + }, + { + "x": 812, + "y": 1232 + }, + { + "x": 740, + "y": 1221 + }, + { + "x": 664, + "y": 1228 + }, + { + "x": 633, + "y": 1224 + }, + { + "x": 642, + "y": 1244 + }, + { + "x": 663, + "y": 1270 + }, + { + "x": 665, + "y": 1288 + }, + { + "x": 654, + "y": 1300 + }, + { + "x": 595, + "y": 1319 + }, + { + "x": 583, + "y": 1316 + }, + { + "x": 558, + "y": 1285 + }, + { + "x": 530, + "y": 1280 + }, + { + "x": 475, + "y": 1281 + }, + { + "x": 467, + "y": 1278 + }, + { + "x": 457, + "y": 1263 + }, + { + "x": 434, + "y": 1263 + }, + { + "x": 433, + "y": 1300 + }, + { + "x": 404, + "y": 1339 + }, + { + "x": 417, + "y": 1383 + }, + { + "x": 418, + "y": 1410 + }, + { + "x": 383, + "y": 1453 + }, + { + "x": 384, + "y": 1498 + }, + { + "x": 401, + "y": 1534 + }, + { + "x": 631, + "y": 1534 + }, + { + "x": 645, + "y": 1481 + }, + { + "x": 659, + "y": 1462 + }, + { + "x": 682, + "y": 1458 + }, + { + "x": 705, + "y": 1466 + }, + { + "x": 725, + "y": 1444 + }, + { + "x": 747, + "y": 1440 + }, + { + "x": 788, + "y": 1446 + }, + { + "x": 821, + "y": 1460 + }, + { + "x": 836, + "y": 1488 + }, + { + "x": 866, + "y": 1512 + }, + { + "x": 870, + "y": 1534 + }, + { + "x": 1118, + "y": 1534 + }, + { + "x": 1116, + "y": 1500 + }, + { + "x": 1125, + "y": 1489 + }, + { + "x": 1138, + "y": 1486 + }, + { + "x": 1137, + "y": 1473 + }, + { + "x": 1127, + "y": 1465 + }, + { + "x": 1110, + "y": 1430 + }, + { + "x": 1110, + "y": 1397 + }, + { + "x": 1100, + "y": 1381 + }, + { + "x": 1101, + "y": 1367 + }, + { + "x": 1110, + "y": 1356 + }, + { + "x": 1105, + "y": 1350 + }, + { + "x": 1092, + "y": 1355 + }, + { + "x": 1076, + "y": 1350 + }, + { + "x": 1067, + "y": 1341 + }, + { + "x": 1062, + "y": 1327 + }, + { + "x": 1065, + "y": 1309 + }, + { + "x": 1083, + "y": 1299 + }, + { + "x": 1094, + "y": 1302 + }, + { + "x": 1112, + "y": 1324 + }, + { + "x": 1109, + "y": 1309 + }, + { + "x": 1113, + "y": 1300 + }, + { + "x": 1106, + "y": 1277 + } + ], + "center": { + "x": 763, + "y": 1410 + }, + "radius": 393.937, + "bbox": { + "x": 383, + "y": 1205, + "width": 756, + "height": 330 + } + }, + { + "polygon": [ + { + "x": 679, + "y": 1337 + }, + { + "x": 693, + "y": 1350 + }, + { + "x": 693, + "y": 1368 + }, + { + "x": 680, + "y": 1381 + }, + { + "x": 659, + "y": 1381 + }, + { + "x": 646, + "y": 1366 + }, + { + "x": 646, + "y": 1352 + }, + { + "x": 659, + "y": 1339 + } + ], + "center": { + "x": 669, + "y": 1358 + }, + "radius": 25.5691, + "bbox": { + "x": 646, + "y": 1337, + "width": 48, + "height": 45 + } + }, + { + "polygon": [ + { + "x": 910, + "y": 1187 + } + ], + "center": { + "x": 910, + "y": 1187 + }, + "radius": 1, + "bbox": { + "x": 910, + "y": 1187, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 915, + "y": 1176 + } + ], + "center": { + "x": 915, + "y": 1176 + }, + "radius": 1, + "bbox": { + "x": 915, + "y": 1176, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 987, + "y": 1170 + } + ], + "center": { + "x": 987, + "y": 1170 + }, + "radius": 1, + "bbox": { + "x": 987, + "y": 1170, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 1093, + "y": 414 + }, + { + "x": 1096, + "y": 476 + }, + { + "x": 1130, + "y": 476 + }, + { + "x": 1140, + "y": 459 + }, + { + "x": 1152, + "y": 457 + }, + { + "x": 1165, + "y": 433 + }, + { + "x": 1176, + "y": 430 + }, + { + "x": 1189, + "y": 435 + }, + { + "x": 1202, + "y": 427 + }, + { + "x": 1215, + "y": 426 + }, + { + "x": 1225, + "y": 411 + }, + { + "x": 1236, + "y": 408 + }, + { + "x": 1247, + "y": 411 + }, + { + "x": 1273, + "y": 430 + }, + { + "x": 1284, + "y": 445 + }, + { + "x": 1283, + "y": 456 + }, + { + "x": 1274, + "y": 467 + }, + { + "x": 1257, + "y": 471 + }, + { + "x": 1243, + "y": 465 + }, + { + "x": 1246, + "y": 476 + }, + { + "x": 1277, + "y": 474 + }, + { + "x": 1287, + "y": 457 + }, + { + "x": 1298, + "y": 454 + }, + { + "x": 1309, + "y": 457 + }, + { + "x": 1325, + "y": 476 + }, + { + "x": 1334, + "y": 476 + }, + { + "x": 1343, + "y": 464 + }, + { + "x": 1354, + "y": 461 + }, + { + "x": 1339, + "y": 380 + }, + { + "x": 1321, + "y": 346 + }, + { + "x": 1292, + "y": 318 + }, + { + "x": 1234, + "y": 302 + }, + { + "x": 1211, + "y": 299 + }, + { + "x": 1132, + "y": 334 + }, + { + "x": 1117, + "y": 347 + }, + { + "x": 1106, + "y": 369 + } + ], + "center": { + "x": 1224, + "y": 431 + }, + "radius": 136.743, + "bbox": { + "x": 1093, + "y": 299, + "width": 262, + "height": 178 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/maemo-new-site.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 106, + 68 + ], + [ + 275, + 123 + ] + ], + "bbox": { + "x": 106, + "y": 68, + "width": 169, + "height": 55 + }, + "confidence": 0.665574, + "polygon": [ + [ + 218, + 93 + ], + [ + 221, + 122 + ], + [ + 274, + 122 + ], + [ + 274, + 97 + ] + ], + "center": [ + 246, + 107 + ], + "radius": 32.4777, + "regions": [ + { + "polygon": [ + { + "x": 218, + "y": 93 + }, + { + "x": 221, + "y": 122 + }, + { + "x": 274, + "y": 122 + }, + { + "x": 274, + "y": 97 + } + ], + "center": { + "x": 246, + "y": 107 + }, + "radius": 32.4777, + "bbox": { + "x": 218, + "y": 93, + "width": 57, + "height": 30 + } + }, + { + "polygon": [ + { + "x": 106, + "y": 72 + }, + { + "x": 107, + "y": 78 + }, + { + "x": 171, + "y": 78 + }, + { + "x": 170, + "y": 70 + }, + { + "x": 141, + "y": 72 + }, + { + "x": 126, + "y": 68 + } + ], + "center": { + "x": 138, + "y": 75 + }, + "radius": 33.6173, + "bbox": { + "x": 106, + "y": 68, + "width": 66, + "height": 11 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/mattern-1-dashboard.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 362, + 289 + ], + [ + 1260, + 608 + ] + ], + "bbox": { + "x": 362, + "y": 289, + "width": 898, + "height": 319 + }, + "confidence": 0.26354, + "polygon": [ + [ + 1158, + 391 + ], + [ + 1149, + 415 + ], + [ + 1129, + 431 + ], + [ + 1116, + 456 + ], + [ + 1122, + 466 + ], + [ + 1121, + 518 + ], + [ + 1138, + 524 + ], + [ + 1150, + 542 + ], + [ + 1152, + 588 + ], + [ + 1147, + 600 + ], + [ + 1197, + 607 + ], + [ + 1177, + 601 + ], + [ + 1168, + 590 + ], + [ + 1167, + 579 + ], + [ + 1191, + 552 + ], + [ + 1243, + 556 + ], + [ + 1251, + 543 + ], + [ + 1259, + 417 + ], + [ + 1250, + 403 + ] + ], + "center": [ + 1191, + 496 + ], + "radius": 113.92, + "regions": [ + { + "polygon": [ + { + "x": 1158, + "y": 391 + }, + { + "x": 1149, + "y": 415 + }, + { + "x": 1129, + "y": 431 + }, + { + "x": 1116, + "y": 456 + }, + { + "x": 1122, + "y": 466 + }, + { + "x": 1121, + "y": 518 + }, + { + "x": 1138, + "y": 524 + }, + { + "x": 1150, + "y": 542 + }, + { + "x": 1152, + "y": 588 + }, + { + "x": 1147, + "y": 600 + }, + { + "x": 1197, + "y": 607 + }, + { + "x": 1177, + "y": 601 + }, + { + "x": 1168, + "y": 590 + }, + { + "x": 1167, + "y": 579 + }, + { + "x": 1191, + "y": 552 + }, + { + "x": 1243, + "y": 556 + }, + { + "x": 1251, + "y": 543 + }, + { + "x": 1259, + "y": 417 + }, + { + "x": 1250, + "y": 403 + } + ], + "center": { + "x": 1191, + "y": 496 + }, + "radius": 113.92, + "bbox": { + "x": 1116, + "y": 391, + "width": 144, + "height": 217 + } + }, + { + "polygon": [ + { + "x": 917, + "y": 363 + }, + { + "x": 924, + "y": 376 + }, + { + "x": 925, + "y": 497 + }, + { + "x": 915, + "y": 511 + }, + { + "x": 900, + "y": 514 + }, + { + "x": 910, + "y": 516 + }, + { + "x": 921, + "y": 529 + }, + { + "x": 932, + "y": 530 + }, + { + "x": 931, + "y": 519 + }, + { + "x": 939, + "y": 496 + }, + { + "x": 957, + "y": 486 + }, + { + "x": 975, + "y": 496 + }, + { + "x": 997, + "y": 498 + }, + { + "x": 1008, + "y": 514 + }, + { + "x": 1045, + "y": 519 + }, + { + "x": 1052, + "y": 463 + }, + { + "x": 1064, + "y": 454 + }, + { + "x": 1089, + "y": 452 + }, + { + "x": 1071, + "y": 421 + }, + { + "x": 1054, + "y": 412 + }, + { + "x": 1051, + "y": 387 + }, + { + "x": 1044, + "y": 376 + }, + { + "x": 962, + "y": 364 + } + ], + "center": { + "x": 982, + "y": 446 + }, + "radius": 109.679, + "bbox": { + "x": 900, + "y": 363, + "width": 190, + "height": 168 + } + }, + { + "polygon": [ + { + "x": 847, + "y": 353 + }, + { + "x": 757, + "y": 346 + }, + { + "x": 739, + "y": 349 + }, + { + "x": 725, + "y": 345 + }, + { + "x": 725, + "y": 354 + }, + { + "x": 735, + "y": 368 + }, + { + "x": 737, + "y": 472 + }, + { + "x": 726, + "y": 487 + }, + { + "x": 716, + "y": 490 + }, + { + "x": 728, + "y": 493 + }, + { + "x": 751, + "y": 517 + }, + { + "x": 751, + "y": 531 + }, + { + "x": 741, + "y": 542 + }, + { + "x": 759, + "y": 544 + }, + { + "x": 760, + "y": 524 + }, + { + "x": 791, + "y": 504 + }, + { + "x": 803, + "y": 504 + }, + { + "x": 816, + "y": 514 + }, + { + "x": 825, + "y": 515 + }, + { + "x": 828, + "y": 499 + }, + { + "x": 837, + "y": 491 + }, + { + "x": 847, + "y": 490 + } + ], + "center": { + "x": 780, + "y": 437 + }, + "radius": 111.356, + "bbox": { + "x": 716, + "y": 345, + "width": 132, + "height": 200 + } + }, + { + "polygon": [ + { + "x": 522, + "y": 296 + }, + { + "x": 538, + "y": 306 + }, + { + "x": 548, + "y": 320 + }, + { + "x": 544, + "y": 336 + }, + { + "x": 551, + "y": 347 + }, + { + "x": 559, + "y": 460 + }, + { + "x": 577, + "y": 463 + }, + { + "x": 589, + "y": 477 + }, + { + "x": 607, + "y": 481 + }, + { + "x": 622, + "y": 467 + }, + { + "x": 665, + "y": 469 + }, + { + "x": 665, + "y": 346 + }, + { + "x": 641, + "y": 330 + }, + { + "x": 641, + "y": 300 + } + ], + "center": { + "x": 593, + "y": 382 + }, + "radius": 115.592, + "bbox": { + "x": 522, + "y": 296, + "width": 144, + "height": 186 + } + }, + { + "polygon": [ + { + "x": 519, + "y": 295 + } + ], + "center": { + "x": 519, + "y": 295 + }, + "radius": 1, + "bbox": { + "x": 519, + "y": 295, + "width": 1, + "height": 1 + } + }, + { + "polygon": [ + { + "x": 479, + "y": 293 + }, + { + "x": 394, + "y": 289 + }, + { + "x": 362, + "y": 296 + }, + { + "x": 372, + "y": 310 + }, + { + "x": 366, + "y": 328 + }, + { + "x": 375, + "y": 341 + }, + { + "x": 381, + "y": 436 + }, + { + "x": 389, + "y": 447 + }, + { + "x": 408, + "y": 457 + }, + { + "x": 412, + "y": 479 + }, + { + "x": 426, + "y": 477 + }, + { + "x": 445, + "y": 454 + }, + { + "x": 474, + "y": 450 + }, + { + "x": 484, + "y": 440 + }, + { + "x": 484, + "y": 337 + }, + { + "x": 472, + "y": 320 + } + ], + "center": { + "x": 422, + "y": 377 + }, + "radius": 104.847, + "bbox": { + "x": 362, + "y": 289, + "width": 123, + "height": 191 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/noflo.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 281, + 164 + ], + [ + 931, + 492 + ] + ], + "bbox": { + "x": 281, + "y": 164, + "width": 650, + "height": 328 + }, + "confidence": 0.596158, + "polygon": [ + [ + 281, + 222 + ], + [ + 371, + 220 + ], + [ + 382, + 223 + ], + [ + 391, + 234 + ], + [ + 410, + 236 + ], + [ + 419, + 244 + ], + [ + 419, + 266 + ], + [ + 401, + 276 + ], + [ + 400, + 288 + ], + [ + 391, + 299 + ], + [ + 380, + 302 + ], + [ + 366, + 296 + ], + [ + 342, + 296 + ], + [ + 337, + 300 + ], + [ + 338, + 318 + ], + [ + 358, + 340 + ], + [ + 372, + 334 + ], + [ + 388, + 316 + ], + [ + 487, + 316 + ], + [ + 488, + 276 + ], + [ + 470, + 273 + ], + [ + 461, + 265 + ], + [ + 461, + 243 + ], + [ + 473, + 234 + ], + [ + 489, + 234 + ], + [ + 499, + 241 + ], + [ + 515, + 243 + ], + [ + 528, + 255 + ], + [ + 523, + 238 + ], + [ + 535, + 223 + ], + [ + 602, + 221 + ], + [ + 602, + 199 + ], + [ + 610, + 187 + ], + [ + 601, + 180 + ], + [ + 524, + 180 + ], + [ + 523, + 208 + ], + [ + 514, + 219 + ], + [ + 503, + 222 + ], + [ + 492, + 219 + ], + [ + 479, + 204 + ], + [ + 478, + 164 + ], + [ + 391, + 164 + ], + [ + 381, + 181 + ], + [ + 370, + 184 + ], + [ + 282, + 181 + ] + ], + "center": [ + 445, + 204 + ], + "radius": 170.391, + "regions": [ + { + "polygon": [ + { + "x": 930, + "y": 407 + }, + { + "x": 915, + "y": 405 + }, + { + "x": 908, + "y": 399 + }, + { + "x": 843, + "y": 399 + }, + { + "x": 840, + "y": 415 + }, + { + "x": 828, + "y": 424 + }, + { + "x": 816, + "y": 424 + }, + { + "x": 807, + "y": 418 + }, + { + "x": 729, + "y": 419 + }, + { + "x": 729, + "y": 491 + }, + { + "x": 809, + "y": 491 + }, + { + "x": 811, + "y": 459 + }, + { + "x": 825, + "y": 446 + }, + { + "x": 844, + "y": 450 + }, + { + "x": 908, + "y": 450 + }, + { + "x": 917, + "y": 441 + }, + { + "x": 930, + "y": 440 + } + ], + "center": { + "x": 829, + "y": 449 + }, + "radius": 112.191, + "bbox": { + "x": 729, + "y": 399, + "width": 202, + "height": 93 + } + }, + { + "polygon": [ + { + "x": 386, + "y": 377 + }, + { + "x": 385, + "y": 424 + }, + { + "x": 395, + "y": 438 + }, + { + "x": 396, + "y": 455 + }, + { + "x": 588, + "y": 455 + }, + { + "x": 606, + "y": 465 + }, + { + "x": 609, + "y": 478 + }, + { + "x": 635, + "y": 478 + }, + { + "x": 635, + "y": 455 + }, + { + "x": 613, + "y": 448 + }, + { + "x": 603, + "y": 438 + }, + { + "x": 593, + "y": 414 + }, + { + "x": 592, + "y": 395 + }, + { + "x": 506, + "y": 395 + }, + { + "x": 493, + "y": 400 + }, + { + "x": 475, + "y": 390 + }, + { + "x": 471, + "y": 377 + } + ], + "center": { + "x": 510, + "y": 427 + }, + "radius": 138.383, + "bbox": { + "x": 385, + "y": 377, + "width": 251, + "height": 102 + } + }, + { + "polygon": [ + { + "x": 629, + "y": 364 + }, + { + "x": 635, + "y": 373 + } + ], + "center": { + "x": 632, + "y": 368 + }, + "radius": 5.57058, + "bbox": { + "x": 629, + "y": 364, + "width": 7, + "height": 10 + } + }, + { + "polygon": [ + { + "x": 593, + "y": 324 + }, + { + "x": 607, + "y": 344 + }, + { + "x": 621, + "y": 349 + }, + { + "x": 608, + "y": 327 + }, + { + "x": 609, + "y": 316 + }, + { + "x": 618, + "y": 305 + }, + { + "x": 701, + "y": 302 + }, + { + "x": 701, + "y": 272 + }, + { + "x": 614, + "y": 272 + }, + { + "x": 613, + "y": 306 + } + ], + "center": { + "x": 647, + "y": 298 + }, + "radius": 61.7313, + "bbox": { + "x": 593, + "y": 272, + "width": 109, + "height": 78 + } + }, + { + "polygon": [ + { + "x": 661, + "y": 180 + }, + { + "x": 661, + "y": 211 + }, + { + "x": 728, + "y": 211 + }, + { + "x": 746, + "y": 221 + }, + { + "x": 749, + "y": 269 + }, + { + "x": 836, + "y": 268 + }, + { + "x": 835, + "y": 218 + }, + { + "x": 757, + "y": 216 + }, + { + "x": 745, + "y": 201 + }, + { + "x": 748, + "y": 187 + }, + { + "x": 738, + "y": 180 + } + ], + "center": { + "x": 748, + "y": 224 + }, + "radius": 100.878, + "bbox": { + "x": 661, + "y": 180, + "width": 176, + "height": 90 + } + }, + { + "polygon": [ + { + "x": 281, + "y": 222 + }, + { + "x": 371, + "y": 220 + }, + { + "x": 382, + "y": 223 + }, + { + "x": 391, + "y": 234 + }, + { + "x": 410, + "y": 236 + }, + { + "x": 419, + "y": 244 + }, + { + "x": 419, + "y": 266 + }, + { + "x": 401, + "y": 276 + }, + { + "x": 400, + "y": 288 + }, + { + "x": 391, + "y": 299 + }, + { + "x": 380, + "y": 302 + }, + { + "x": 366, + "y": 296 + }, + { + "x": 342, + "y": 296 + }, + { + "x": 337, + "y": 300 + }, + { + "x": 338, + "y": 318 + }, + { + "x": 358, + "y": 340 + }, + { + "x": 372, + "y": 334 + }, + { + "x": 388, + "y": 316 + }, + { + "x": 487, + "y": 316 + }, + { + "x": 488, + "y": 276 + }, + { + "x": 470, + "y": 273 + }, + { + "x": 461, + "y": 265 + }, + { + "x": 461, + "y": 243 + }, + { + "x": 473, + "y": 234 + }, + { + "x": 489, + "y": 234 + }, + { + "x": 499, + "y": 241 + }, + { + "x": 515, + "y": 243 + }, + { + "x": 528, + "y": 255 + }, + { + "x": 523, + "y": 238 + }, + { + "x": 535, + "y": 223 + }, + { + "x": 602, + "y": 221 + }, + { + "x": 602, + "y": 199 + }, + { + "x": 610, + "y": 187 + }, + { + "x": 601, + "y": 180 + }, + { + "x": 524, + "y": 180 + }, + { + "x": 523, + "y": 208 + }, + { + "x": 514, + "y": 219 + }, + { + "x": 503, + "y": 222 + }, + { + "x": 492, + "y": 219 + }, + { + "x": 479, + "y": 204 + }, + { + "x": 478, + "y": 164 + }, + { + "x": 391, + "y": 164 + }, + { + "x": 381, + "y": 181 + }, + { + "x": 370, + "y": 184 + }, + { + "x": 282, + "y": 181 + } + ], + "center": { + "x": 445, + "y": 204 + }, + "radius": 170.391, + "bbox": { + "x": 281, + "y": 164, + "width": 330, + "height": 177 + } + } + ] + } + } + }, + { + "image": "./test_set/bad/photo-original.jpg", + "measurement": { + "saliency": { + "bounding_rect": [ + [ + 832, + 737 + ], + [ + 1535, + 1151 + ] + ], + "bbox": { + "x": 832, + "y": 737, + "width": 703, + "height": 414 + }, + "confidence": 0.413421, + "polygon": [ + [ + 1534, + 738 + ], + [ + 1395, + 738 + ], + [ + 1387, + 741 + ], + [ + 1395, + 753 + ], + [ + 1394, + 768 + ], + [ + 1385, + 779 + ], + [ + 1374, + 782 + ], + [ + 1350, + 777 + ], + [ + 1340, + 763 + ], + [ + 1341, + 751 + ], + [ + 1350, + 740 + ], + [ + 1369, + 737 + ], + [ + 1319, + 737 + ], + [ + 1284, + 746 + ], + [ + 1225, + 737 + ], + [ + 1196, + 771 + ], + [ + 1185, + 774 + ], + [ + 1167, + 764 + ], + [ + 1164, + 738 + ], + [ + 832, + 738 + ], + [ + 832, + 903 + ], + [ + 1534, + 903 + ] + ], + "center": [ + 1183, + 820 + ], + "radius": 371.382, + "regions": [ + { + "polygon": [ + { + "x": 1165, + "y": 1086 + }, + { + "x": 1165, + "y": 1150 + }, + { + "x": 1339, + "y": 1150 + }, + { + "x": 1339, + "y": 1085 + } + ], + "center": { + "x": 1252, + "y": 1117 + }, + "radius": 95.6584, + "bbox": { + "x": 1165, + "y": 1085, + "width": 175, + "height": 66 + } + }, + { + "polygon": [ + { + "x": 1534, + "y": 738 + }, + { + "x": 1395, + "y": 738 + }, + { + "x": 1387, + "y": 741 + }, + { + "x": 1395, + "y": 753 + }, + { + "x": 1394, + "y": 768 + }, + { + "x": 1385, + "y": 779 + }, + { + "x": 1374, + "y": 782 + }, + { + "x": 1350, + "y": 777 + }, + { + "x": 1340, + "y": 763 + }, + { + "x": 1341, + "y": 751 + }, + { + "x": 1350, + "y": 740 + }, + { + "x": 1369, + "y": 737 + }, + { + "x": 1319, + "y": 737 + }, + { + "x": 1284, + "y": 746 + }, + { + "x": 1225, + "y": 737 + }, + { + "x": 1196, + "y": 771 + }, + { + "x": 1185, + "y": 774 + }, + { + "x": 1167, + "y": 764 + }, + { + "x": 1164, + "y": 738 + }, + { + "x": 832, + "y": 738 + }, + { + "x": 832, + "y": 903 + }, + { + "x": 1534, + "y": 903 + } + ], + "center": { + "x": 1183, + "y": 820 + }, + "radius": 371.382, + "bbox": { + "x": 832, + "y": 737, + "width": 703, + "height": 167 + } + } + ] + } + } + } ] }}; \ No newline at end of file diff --git a/test_set_app/views/template.ect b/test_set_app/views/template.ect index 68466a2..d9d8b6b 100644 --- a/test_set_app/views/template.ect +++ b/test_set_app/views/template.ect @@ -4,16 +4,17 @@

Test set: {{- set }}

{{ for img, i in images : }} - + {{ if img.measurement.saliency.confidence < 0.50 : }} - - - - -
- ({{- i}}) Test set: {{- set}}. File path: {{- img}}. + + + + + +
+ ({{- i}}) Confidence: {{- img.measurement.saliency.confidence}}. Test set: {{- set}}. File path: {{- img.image}}.


- + {{ end }} {{ end }}