[{"data":1,"prerenderedAt":624},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks":235,"docs-surround:\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks":619},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,37,55,70,128,146,191,217],{"title":10,"path":6,"stem":11,"icon":12},"Hubstruct documentation","docs\u002Findex","book-open",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":36},"Getting started","rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[19,24,28,32],{"title":20,"path":21,"stem":22,"icon":23},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",null,{"title":25,"path":26,"stem":27,"icon":23},"Requirements","\u002Fdocs\u002Fgetting-started\u002Frequirements","docs\u002F1.getting-started\u002F2.requirements",{"title":29,"path":30,"stem":31,"icon":23},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F3.quick-start",{"title":33,"path":34,"stem":35,"icon":23},"First steps","\u002Fdocs\u002Fgetting-started\u002Ffirst-steps","docs\u002F1.getting-started\u002F4.first-steps",false,{"title":38,"icon":39,"path":40,"stem":41,"children":42,"page":36},"Concepts","lightbulb","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[43,47,51],{"title":44,"path":45,"stem":46,"icon":23},"How it works","\u002Fdocs\u002Fconcepts\u002Fhow-it-works","docs\u002F2.concepts\u002F1.how-it-works",{"title":48,"path":49,"stem":50,"icon":23},"Processing steps","\u002Fdocs\u002Fconcepts\u002Fprocessing","docs\u002F2.concepts\u002F2.processing",{"title":52,"path":53,"stem":54,"icon":23},"Media","\u002Fdocs\u002Fconcepts\u002Fmedia","docs\u002F2.concepts\u002F3.media",{"title":56,"path":57,"stem":58,"children":59,"icon":69},"Libraries","\u002Fdocs\u002Flibraries","docs\u002F3.libraries\u002F1.index",[60,61,65],{"title":56,"path":57,"stem":58,"icon":23},{"title":62,"path":63,"stem":64,"icon":23},"Storage","\u002Fdocs\u002Flibraries\u002Fs3","docs\u002F3.libraries\u002F3.s3",{"title":66,"path":67,"stem":68,"icon":23},"Uploading","\u002Fdocs\u002Flibraries\u002Fuploading","docs\u002F3.libraries\u002F4.uploading","layer-group",{"title":71,"icon":72,"path":73,"stem":74,"children":75,"page":36},"Features","wand-magic-sparkles","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[76,80,84,88,92,96,100,104,108,112,116,120,124],{"title":77,"path":78,"stem":79,"icon":23},"Browsing","\u002Fdocs\u002Ffeatures\u002Fbrowsing","docs\u002F4.features\u002F01.browsing",{"title":81,"path":82,"stem":83,"icon":23},"Search","\u002Fdocs\u002Ffeatures\u002Fsearch","docs\u002F4.features\u002F02.search",{"title":85,"path":86,"stem":87,"icon":23},"Tags","\u002Fdocs\u002Ffeatures\u002Ftags","docs\u002F4.features\u002F03.tags",{"title":89,"path":90,"stem":91,"icon":23},"Albums","\u002Fdocs\u002Ffeatures\u002Falbums","docs\u002F4.features\u002F04.albums",{"title":93,"path":94,"stem":95,"icon":23},"People and faces","\u002Fdocs\u002Ffeatures\u002Fpeople","docs\u002F4.features\u002F05.people",{"title":97,"path":98,"stem":99,"icon":23},"Groups","\u002Fdocs\u002Ffeatures\u002Fgroups","docs\u002F4.features\u002F06.groups",{"title":101,"path":102,"stem":103,"icon":23},"Duplicates and stacks","\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks","docs\u002F4.features\u002F07.duplicates-and-stacks",{"title":105,"path":106,"stem":107,"icon":23},"NSFW","\u002Fdocs\u002Ffeatures\u002Fnsfw","docs\u002F4.features\u002F08.nsfw",{"title":109,"path":110,"stem":111,"icon":23},"Trash","\u002Fdocs\u002Ffeatures\u002Ftrash","docs\u002F4.features\u002F09.trash",{"title":113,"path":114,"stem":115,"icon":23},"Home and the dashboard","\u002Fdocs\u002Ffeatures\u002Fhome-and-dashboard","docs\u002F4.features\u002F10.home-and-dashboard",{"title":117,"path":118,"stem":119,"icon":23},"Live updates and offline","\u002Fdocs\u002Ffeatures\u002Flive-updates","docs\u002F4.features\u002F11.live-updates",{"title":121,"path":122,"stem":123,"icon":23},"Appearance and the app","\u002Fdocs\u002Ffeatures\u002Fappearance","docs\u002F4.features\u002F12.appearance",{"title":125,"path":126,"stem":127,"icon":23},"Places","\u002Fdocs\u002Ffeatures\u002Fplaces","docs\u002F4.features\u002F13.places",{"title":129,"icon":130,"path":131,"stem":132,"children":133,"page":36},"Administration","sliders","\u002Fdocs\u002Fadministration","docs\u002F5.administration",[134,138,142],{"title":135,"path":136,"stem":137,"icon":23},"Users and sign-in","\u002Fdocs\u002Fadministration\u002Fusers-and-sign-in","docs\u002F5.administration\u002F1.users-and-sign-in",{"title":139,"path":140,"stem":141,"icon":23},"API keys","\u002Fdocs\u002Fadministration\u002Fapi-keys","docs\u002F5.administration\u002F2.api-keys",{"title":143,"path":144,"stem":145,"icon":23},"Processing settings","\u002Fdocs\u002Fadministration\u002Fprocessing-settings","docs\u002F5.administration\u002F3.processing-settings",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":36},"Self-hosting","server","\u002Fdocs\u002Fself-hosting","docs\u002F6.self-hosting",[152,156,160,164,167,171,175,179,183,187],{"title":153,"path":154,"stem":155,"icon":23},"Architecture","\u002Fdocs\u002Fself-hosting\u002Farchitecture","docs\u002F6.self-hosting\u002F1.architecture",{"title":157,"path":158,"stem":159,"icon":23},"Telemetry","\u002Fdocs\u002Fself-hosting\u002Ftelemetry","docs\u002F6.self-hosting\u002F10.telemetry",{"title":161,"path":162,"stem":163,"icon":23},"Sharing one GPU","\u002Fdocs\u002Fself-hosting\u002Fgpu","docs\u002F6.self-hosting\u002F2.gpu",{"title":62,"path":165,"stem":166,"icon":23},"\u002Fdocs\u002Fself-hosting\u002Fstorage","docs\u002F6.self-hosting\u002F3.storage",{"title":168,"path":169,"stem":170,"icon":23},"Backups","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F6.self-hosting\u002F4.backups",{"title":172,"path":173,"stem":174,"icon":23},"Updating","\u002Fdocs\u002Fself-hosting\u002Fupdating","docs\u002F6.self-hosting\u002F5.updating",{"title":176,"path":177,"stem":178,"icon":23},"Scaling","\u002Fdocs\u002Fself-hosting\u002Fscaling","docs\u002F6.self-hosting\u002F6.scaling",{"title":180,"path":181,"stem":182,"icon":23},"HTTPS and a domain","\u002Fdocs\u002Fself-hosting\u002Freverse-proxy","docs\u002F6.self-hosting\u002F7.reverse-proxy",{"title":184,"path":185,"stem":186,"icon":23},"Troubleshooting","\u002Fdocs\u002Fself-hosting\u002Ftroubleshooting","docs\u002F6.self-hosting\u002F8.troubleshooting",{"title":188,"path":189,"stem":190,"icon":23},"The config file","\u002Fdocs\u002Fself-hosting\u002Fconfig-file","docs\u002F6.self-hosting\u002F9.config-file",{"title":192,"icon":193,"path":194,"stem":195,"children":196,"page":36},"Reference","book","\u002Fdocs\u002Freference","docs\u002F7.reference",[197,201,205,209,213],{"title":198,"path":199,"stem":200,"icon":23},"Environment variables","\u002Fdocs\u002Freference\u002Fenvironment","docs\u002F7.reference\u002F1.environment",{"title":202,"path":203,"stem":204,"icon":23},"Worker roles","\u002Fdocs\u002Freference\u002Fworker-roles","docs\u002F7.reference\u002F2.worker-roles",{"title":206,"path":207,"stem":208,"icon":23},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F7.reference\u002F3.api",{"title":210,"path":211,"stem":212,"icon":23},"Keyboard shortcuts","\u002Fdocs\u002Freference\u002Fkeyboard-shortcuts","docs\u002F7.reference\u002F4.keyboard-shortcuts",{"title":214,"path":215,"stem":216,"icon":23},"Models","\u002Fdocs\u002Freference\u002Fmodels","docs\u002F7.reference\u002F5.models",{"title":218,"icon":219,"path":220,"stem":221,"children":222,"page":36},"Hubstruct Cloud","cloud","\u002Fdocs\u002Fcloud","docs\u002F8.cloud",[223,227,231],{"title":224,"path":225,"stem":226,"icon":23},"Getting started with the cloud","\u002Fdocs\u002Fcloud\u002Fgetting-started","docs\u002F8.cloud\u002F1.getting-started",{"title":228,"path":229,"stem":230,"icon":23},"Plans and billing","\u002Fdocs\u002Fcloud\u002Fplans-and-billing","docs\u002F8.cloud\u002F2.plans-and-billing",{"title":232,"path":233,"stem":234,"icon":23},"Moving between cloud and self-hosted","\u002Fdocs\u002Fcloud\u002Fmoving","docs\u002F8.cloud\u002F3.moving",{"id":236,"title":101,"body":237,"description":613,"extension":614,"eyebrow":71,"icon":23,"meta":615,"navigation":616,"path":102,"seo":617,"stem":103,"__hash__":618},"docs\u002Fdocs\u002F4.features\u002F07.duplicates-and-stacks.md",{"type":238,"value":239,"toc":599},"minimark",[240,249,254,269,276,294,301,315,318,322,325,395,398,402,408,433,436,440,443,495,501,504,515,526,536,541,551,555,569,573,579],[241,242,243,244,248],"p",{},"Hubstruct finds media that are the same picture or clip: exact copies, the same photo at another size or re-saved, and edits or re-crops close enough to be worth a look. You decide what to do with each pair. ",[245,246,247],"strong",{},"Stacks"," keep related media together under one cover, whether they're duplicates or a burst of shots.",[250,251,253],"h2",{"id":252},"how-duplicates-are-found","How duplicates are found",[241,255,256,257,260,261,264,265,268],{},"The ",[245,258,259],{},"duplicates"," step runs on each media once its ",[245,262,263],{},"analysis"," (the perceptual hash) and ",[245,266,267],{},"visual"," (the image embedding) steps are done, and compares it with the rest of the library.",[241,270,271,272,275],{},"For ",[245,273,274],{},"stills",", a candidate is anything with:",[277,278,279,287],"ul",{},[280,281,282,283,286],"li",{},"a ",[245,284,285],{},"perceptual hash"," within a few bits of this one's, or",[280,288,289,290,293],{},"an ",[245,291,292],{},"image embedding"," close enough to catch what the hash misses.",[241,295,296,297,300],{},"Each candidate is then checked against the actual ",[245,298,299],{},"pixels",". A hash keeps only broad shapes, so two unrelated pictures with the same layout can hash alike; if their pixels are, on average, too far apart, or their shapes differ, they're not duplicates. How close the pixels are, overall and in the most different region, is kept, and is what the label says.",[241,302,271,303,306,307,310,311,314],{},[245,304,305],{},"GIFs and videos",", a first frame is a poor fingerprint, since many clips open on the same black frame or intro card. So clips match by their ",[245,308,309],{},"image embeddings"," (each clip watched through) and ",[245,312,313],{},"lengths"," within a few percent.",[241,316,317],{},"A media in the trash is compared too, but only with media you kept, so a trashed copy shows up as the duplicate of what you kept.",[250,319,321],{"id":320},"what-a-pair-says","What a pair says",[241,323,324],{},"Each pair is labelled by how close it really is:",[326,327,328,341],"table",{},[329,330,331],"thead",{},[332,333,334,338],"tr",{},[335,336,337],"th",{},"Label",[335,339,340],{},"Means",[342,343,344,355,365,375,385],"tbody",{},[332,345,346,352],{},[347,348,349],"td",{},[245,350,351],{},"Identical copy",[347,353,354],{},"The same pixels",[332,356,357,362],{},[347,358,359],{},[245,360,361],{},"Same picture at another size",[347,363,364],{},"The same picture, resized",[332,366,367,372],{},[347,368,369],{},[245,370,371],{},"Same picture, re-saved",[347,373,374],{},"The same picture, saved again with some compression change",[332,376,377,382],{},[347,378,379],{},[245,380,381],{},"Similar, possibly edited",[347,383,384],{},"Close: an edit, a crop, a filter, the next shot of a burst",[332,386,387,392],{},[347,388,389],{},[245,390,391],{},"Same clip",[347,393,394],{},"A GIF or video that matches by its frames and length",[241,396,397],{},"Everything short of identical shows how alike, as a percentage.",[250,399,401],{"id":400},"the-duplicates-page","The Duplicates page",[241,403,404,407],{},[245,405,406],{},"Duplicates"," has four tabs:",[277,409,410,416,421,427],{},[280,411,412,415],{},[245,413,414],{},"To review",": pairs waiting for a decision, with a count. The side rail's badge counts them too.",[280,417,418,420],{},[245,419,247],{},": every stack in the library.",[280,422,423,426],{},[245,424,425],{},"Resolved",": pairs where you kept one.",[280,428,429,432],{},[245,430,431],{},"Not duplicates",": pairs you said aren't.",[241,434,435],{},"Each pair shows both media side by side with their details, such as dimensions, file size and date, so you can see which is better.",[250,437,439],{"id":438},"deciding","Deciding",[241,441,442],{},"For each pair:",[326,444,445,455],{},[329,446,447],{},[332,448,449,452],{},[335,450,451],{},"Decision",[335,453,454],{},"Does",[342,456,457,476,485],{},[332,458,459,464],{},[347,460,461],{},[245,462,463],{},"Keep this",[347,465,466,467,471,472,475],{},"The other goes to the ",[468,469,470],"a",{"href":110},"trash",", marked as a duplicate of the one you kept. The pair moves to ",[473,474,425],"em",{}," until the trashed one is deleted for good, or restored (which reopens the pair).",[332,477,478,482],{},[347,479,480],{},[245,481,431],{},[347,483,484],{},"Both stay. The pair is never proposed again.",[332,486,487,492],{},[347,488,489],{},[245,490,491],{},"Stack them",[347,493,494],{},"Both stay, together in a stack: a new one, the one either is already in, or both stacks merged.",[241,496,497,498,500],{},"A media's own duplicates are on its page too, in the ",[245,499,406],{}," card, including copies already in the trash.",[250,502,247],{"id":503},"stacks",[241,505,506,507,510,511,514],{},"A ",[245,508,509],{},"stack"," is a set of media kept together under one ",[245,512,513],{},"cover",". Use stacks for:",[277,516,517,520,523],{},[280,518,519],{},"duplicates you want to keep (the original and an edit),",[280,521,522],{},"bursts and near-identical shots,",[280,524,525],{},"anything that belongs together but shouldn't crowd a list.",[241,527,528,529,531,532,535],{},"Make one by choosing ",[245,530,491],{}," on a duplicate pair, or by selecting media and choosing ",[245,533,534],{},"Stack"," in the selection bar. A media is in one stack at most: stacking it again moves it.",[537,538,540],"h3",{"id":539},"the-cover","The cover",[241,542,543,544,546,547,550],{},"The stack's ",[245,545,513],{}," is the media that stands for it. By default it's the ",[245,548,549],{},"best shot",", the sharpest and best exposed according to the analysis step, and it updates when a better one arrives. You can choose a cover yourself in the stack's viewer.",[537,552,554],{"id":553},"showing-stacks","Showing stacks",[241,556,557,558,560,561,564,565,568],{},"In any list, the toolbar's ",[245,559,247],{}," choice sets how stacks show: ",[245,562,563],{},"All"," (every media on its own) or ",[245,566,567],{},"Collapse"," (one tile per stack, its cover with a count). Ranked lists, such as search results and similar media, show only each stack's best match.",[537,570,572],{"id":571},"managing-a-stack","Managing a stack",[241,574,575,576,578],{},"Open a stack from its tile or the ",[245,577,247],{}," tab:",[277,580,581,587,593],{},[280,582,583,586],{},[245,584,585],{},"Open stack"," shows all its media, so you can change the cover or take media out.",[280,588,589,592],{},[245,590,591],{},"Keep only the cover…"," moves every other media in it to the trash, marked as tidied out of the stack.",[280,594,595,598],{},[245,596,597],{},"Dissolve stack…"," ends the stack and leaves all its media in place.",{"title":600,"searchDepth":601,"depth":601,"links":602},"",3,[603,605,606,607,608],{"id":252,"depth":604,"text":253},2,{"id":320,"depth":604,"text":321},{"id":400,"depth":604,"text":401},{"id":438,"depth":604,"text":439},{"id":503,"depth":604,"text":247,"children":609},[610,611,612],{"id":539,"depth":601,"text":540},{"id":553,"depth":601,"text":554},{"id":571,"depth":601,"text":572},"How copies and near copies are found and labelled, what each decision does, and stacks for keeping related media together.","md",{},true,{"title":101,"description":613},"9WlQAezbPp31Jvufwh57mbZRjOpwdaTIZU8WJxL9sqs",[620,622],{"title":97,"path":98,"stem":99,"description":621,"children":-1},"Groups of people, made by hand or from suggestions of people seen together, and the media they share.",{"title":105,"path":106,"stem":107,"description":623,"children":-1},"Automatic NSFW flagging, the threshold, your own answers, and hiding flagged media behind a blurred stand-in.",1795744072766]