import{s as Te,o as Ue,n as je}from"../chunks/scheduler.56730f09.js";import{S as be,i as Ce,g as p,s as a,u as c,A as xe,h as i,f as s,c as n,j as M,v as h,y as o,k as r,o as d,a as l,w as u,d as f,t as g,x as y,m as ke,n as Ze}from"../chunks/index.ba464511.js";import{T as _e}from"../chunks/Tip.70442610.js";import{I as qt}from"../chunks/IconCopyLink.89bde88e.js";import{C as U}from"../chunks/CodeBlock.2302fd0d.js";function We(dt){let m,w,j='<a href="../model_doc/dpt">DPT</a>, <a href="../model_doc/glpn">GLPN</a>';return{c(){m=ke(`이 튜토리얼에서 다루는 작업은 다음 모델 아키텍처에서 지원됩니다:

`),w=p("p"),w.innerHTML=j},l(v){m=Ze(v,`이 튜토리얼에서 다루는 작업은 다음 모델 아키텍처에서 지원됩니다:

`),w=i(v,"P",{"data-svelte-h":!0}),o(w)!=="svelte-940txo"&&(w.innerHTML=j)},m(v,J){l(v,m,J),l(v,w,J)},p:je,d(v){v&&(s(m),s(w))}}}function Ge(dt){let m,w,j,v,J,b,rt,G,Yt,pt,Dt="단일 영상 기반 깊이 추정",ut,I,Kt=`단일 영상 기반 깊이 추정은 한 장면의 단일 이미지에서 장면의 깊이 정보를 예측하는 컴퓨터 비전 작업입니다.
즉, 단일 카메라 시점의 장면에 있는 물체의 거리를 예측하는 과정입니다.`,ft,B,Ot=`단일 영상 기반 깊이 추정은 3D 재구성, 증강 현실, 자율 주행, 로봇 공학 등 다양한 분야에서 응용됩니다.
조명 조건, 가려짐, 텍스처와 같은 요소의 영향을 받을 수 있는 장면 내 물체와 해당 깊이 정보 간의 복잡한 관계를 모델이 이해해야 하므로 까다로운 작업입니다.`,gt,C,yt,H,te="이번 가이드에서 배울 내용은 다음과 같습니다:",wt,R,ee="<li>깊이 추정 파이프라인 만들기</li> <li>직접 깊이 추정 추론하기</li>",vt,V,se="시작하기 전에, 필요한 모든 라이브러리가 설치되어 있는지 확인하세요:",Jt,E,Mt,$,x,mt,N,Qt,it,le="깊이 추정 파이프라인",$t,z,ae=`깊이 추정을 추론하는 가장 간단한 방법은 해당 기능을 제공하는 <code>pipeline()</code>을 사용하는 것입니다.
<a href="https://huggingface.co/models?pipeline_tag=depth-estimation&amp;sort=downloads" rel="nofollow">Hugging Face Hub 체크포인트</a>에서 파이프라인을 초기화합니다:`,Tt,S,Ut,F,ne="다음으로, 분석할 이미지를 한 장 선택하세요:",jt,X,bt,k,pe='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/depth-estimation-example.jpg" alt="Photo of a busy street"/>',Ct,A,ie="이미지를 파이프라인으로 전달합니다.",xt,P,kt,Y,oe=`파이프라인은 두 개의 항목을 가지는 딕셔너리를 반환합니다.
첫 번째는 <code>predicted_depth</code>로 각 픽셀의 깊이를 미터로 표현한 값을 가지는 텐서입니다.
두 번째는 <code>depth</code>로 깊이 추정 결과를 시각화하는 PIL 이미지입니다.`,Zt,Q,re="이제 시각화한 결과를 살펴보겠습니다:",_t,L,Wt,Z,me='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/depth-visualization.png" alt="Depth estimation visualization"/>',Gt,T,_,ct,q,Lt,ot,ce="직접 깊이 추정 추론하기",It,D,he=`이제 깊이 추정 파이프라인 사용법을 살펴보았으니 동일한 결과를 복제하는 방법을 살펴보겠습니다.
<a href="https://huggingface.co/models?pipeline_tag=depth-estimation&amp;sort=downloads" rel="nofollow">Hugging Face Hub 체크포인트</a>에서 모델과 관련 프로세서를 가져오는 것부터 시작합니다.
여기서 이전에 사용한 체크포인트와 동일한 것을 사용합니다:`,Bt,K,Ht,O,de=`필요한 이미지 변환을 처리하는 <code>image_processor</code>를 사용하여 모델에 대한 이미지 입력을 준비합니다.
<code>image_processor</code>는 크기 조정 및 정규화 등 필요한 이미지 변환을 처리합니다:`,Rt,tt,Vt,et,ue="준비한 입력을 모델로 전달합니다:",Et,st,Nt,lt,fe="결과를 시각화합니다:",zt,at,St,W,ge='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/depth-visualization.png" alt="Depth estimation visualization"/>',Ft,ht,Xt;return G=new qt({}),C=new _e({props:{$$slots:{default:[We]},$$scope:{ctx:dt}}}),E=new U({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1xJTIwdHJhbnNmb3JtZXJz",highlighted:"pip install -q transformers",wrap:!1}}),N=new qt({}),S=new U({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMHBpcGVsaW5lJTBBJTBBY2hlY2twb2ludCUyMCUzRCUyMCUyMnZpbnZpbm8wMiUyRmdscG4tbnl1JTIyJTBBZGVwdGhfZXN0aW1hdG9yJTIwJTNEJTIwcGlwZWxpbmUoJTIyZGVwdGgtZXN0aW1hdGlvbiUyMiUyQyUyMG1vZGVsJTNEY2hlY2twb2ludCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline

<span class="hljs-meta">&gt;&gt;&gt; </span>checkpoint = <span class="hljs-string">&quot;vinvino02/glpn-nyu&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>depth_estimator = pipeline(<span class="hljs-string">&quot;depth-estimation&quot;</span>, model=checkpoint)`,wrap:!1}}),X=new U({props:{code:"ZnJvbSUyMFBJTCUyMGltcG9ydCUyMEltYWdlJTBBaW1wb3J0JTIwcmVxdWVzdHMlMEElMEF1cmwlMjAlM0QlMjAlMjJodHRwcyUzQSUyRiUyRnVuc3BsYXNoLmNvbSUyRnBob3RvcyUyRkh3QkFzU2JQQkRVJTJGZG93bmxvYWQlM0ZpeGlkJTNETW53eE1qQTNmREI4TVh4elpXRnlZMmg4TXpSOGZHTmhjaVV5TUdsdUpUSXdkR2hsSlRJd2MzUnlaV1YwZkdWdWZEQjhNSHg4ZkRFMk56ZzVNREV3T0RnJTI2Zm9yY2UlM0R0cnVlJTI2dyUzRDY0MCUyMiUwQWltYWdlJTIwJTNEJTIwSW1hZ2Uub3BlbihyZXF1ZXN0cy5nZXQodXJsJTJDJTIwc3RyZWFtJTNEVHJ1ZSkucmF3KSUwQWltYWdl",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> PIL <span class="hljs-keyword">import</span> Image
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> requests

<span class="hljs-meta">&gt;&gt;&gt; </span>url = <span class="hljs-string">&quot;https://unsplash.com/photos/HwBAsSbPBDU/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8MzR8fGNhciUyMGluJTIwdGhlJTIwc3RyZWV0fGVufDB8MHx8fDE2Nzg5MDEwODg&amp;force=true&amp;w=640&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>image = Image.<span class="hljs-built_in">open</span>(requests.get(url, stream=<span class="hljs-literal">True</span>).raw)
<span class="hljs-meta">&gt;&gt;&gt; </span>image`,wrap:!1}}),P=new U({props:{code:"cHJlZGljdGlvbnMlMjAlM0QlMjBkZXB0aF9lc3RpbWF0b3IoaW1hZ2Up",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>predictions = depth_estimator(image)',wrap:!1}}),L=new U({props:{code:"cHJlZGljdGlvbnMlNUIlMjJkZXB0aCUyMiU1RA==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>predictions[<span class="hljs-string">&quot;depth&quot;</span>]',wrap:!1}}),q=new qt({}),K=new U({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9JbWFnZVByb2Nlc3NvciUyQyUyMEF1dG9Nb2RlbEZvckRlcHRoRXN0aW1hdGlvbiUwQSUwQWNoZWNrcG9pbnQlMjAlM0QlMjAlMjJ2aW52aW5vMDIlMkZnbHBuLW55dSUyMiUwQSUwQWltYWdlX3Byb2Nlc3NvciUyMCUzRCUyMEF1dG9JbWFnZVByb2Nlc3Nvci5mcm9tX3ByZXRyYWluZWQoY2hlY2twb2ludCklMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvckRlcHRoRXN0aW1hdGlvbi5mcm9tX3ByZXRyYWluZWQoY2hlY2twb2ludCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoImageProcessor, AutoModelForDepthEstimation

<span class="hljs-meta">&gt;&gt;&gt; </span>checkpoint = <span class="hljs-string">&quot;vinvino02/glpn-nyu&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>image_processor = AutoImageProcessor.from_pretrained(checkpoint)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModelForDepthEstimation.from_pretrained(checkpoint)`,wrap:!1}}),tt=new U({props:{code:"cGl4ZWxfdmFsdWVzJTIwJTNEJTIwaW1hZ2VfcHJvY2Vzc29yKGltYWdlJTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMikucGl4ZWxfdmFsdWVz",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pixel_values = image_processor(image, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>).pixel_values',wrap:!1}}),st=new U({props:{code:"aW1wb3J0JTIwdG9yY2glMEElMEF3aXRoJTIwdG9yY2gubm9fZ3JhZCgpJTNBJTBBJTIwJTIwJTIwJTIwb3V0cHV0cyUyMCUzRCUyMG1vZGVsKHBpeGVsX3ZhbHVlcyklMEElMjAlMjAlMjAlMjBwcmVkaWN0ZWRfZGVwdGglMjAlM0QlMjBvdXRwdXRzLnByZWRpY3RlZF9kZXB0aA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> torch.no_grad():
<span class="hljs-meta">... </span>    outputs = model(pixel_values)
<span class="hljs-meta">... </span>    predicted_depth = outputs.predicted_depth`,wrap:!1}}),at=new U({props:{code:"aW1wb3J0JTIwbnVtcHklMjBhcyUyMG5wJTBBJTBBJTIzJTIwJUVDJTlCJTkwJUVCJUIzJUI4JTIwJUVDJTgyJUFDJUVDJTlEJUI0JUVDJUE2JTg4JUVCJUExJTlDJTIwJUVCJUIzJUI1JUVDJTlCJTkwJTBBcHJlZGljdGlvbiUyMCUzRCUyMHRvcmNoLm5uLmZ1bmN0aW9uYWwuaW50ZXJwb2xhdGUoJTBBJTIwJTIwJTIwJTIwcHJlZGljdGVkX2RlcHRoLnVuc3F1ZWV6ZSgxKSUyQyUwQSUyMCUyMCUyMCUyMHNpemUlM0RpbWFnZS5zaXplJTVCJTNBJTNBLTElNUQlMkMlMEElMjAlMjAlMjAlMjBtb2RlJTNEJTIyYmljdWJpYyUyMiUyQyUwQSUyMCUyMCUyMCUyMGFsaWduX2Nvcm5lcnMlM0RGYWxzZSUyQyUwQSkuc3F1ZWV6ZSgpJTBBb3V0cHV0JTIwJTNEJTIwcHJlZGljdGlvbi5udW1weSgpJTBBJTBBZm9ybWF0dGVkJTIwJTNEJTIwKG91dHB1dCUyMColMjAyNTUlMjAlMkYlMjBucC5tYXgob3V0cHV0KSkuYXN0eXBlKCUyMnVpbnQ4JTIyKSUwQWRlcHRoJTIwJTNEJTIwSW1hZ2UuZnJvbWFycmF5KGZvcm1hdHRlZCklMEFkZXB0aA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> numpy <span class="hljs-keyword">as</span> np

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># 원본 사이즈로 복원</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>prediction = torch.nn.functional.interpolate(
<span class="hljs-meta">... </span>    predicted_depth.unsqueeze(<span class="hljs-number">1</span>),
<span class="hljs-meta">... </span>    size=image.size[::-<span class="hljs-number">1</span>],
<span class="hljs-meta">... </span>    mode=<span class="hljs-string">&quot;bicubic&quot;</span>,
<span class="hljs-meta">... </span>    align_corners=<span class="hljs-literal">False</span>,
<span class="hljs-meta">... </span>).squeeze()
<span class="hljs-meta">&gt;&gt;&gt; </span>output = prediction.numpy()

<span class="hljs-meta">&gt;&gt;&gt; </span>formatted = (output * <span class="hljs-number">255</span> / np.<span class="hljs-built_in">max</span>(output)).astype(<span class="hljs-string">&quot;uint8&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>depth = Image.fromarray(formatted)
<span class="hljs-meta">&gt;&gt;&gt; </span>depth`,wrap:!1}}),{c(){m=p("meta"),w=a(),j=p("p"),v=a(),J=p("h1"),b=p("a"),rt=p("span"),c(G.$$.fragment),Yt=a(),pt=p("span"),pt.textContent=Dt,ut=a(),I=p("p"),I.textContent=Kt,ft=a(),B=p("p"),B.textContent=Ot,gt=a(),c(C.$$.fragment),yt=a(),H=p("p"),H.textContent=te,wt=a(),R=p("ul"),R.innerHTML=ee,vt=a(),V=p("p"),V.textContent=se,Jt=a(),c(E.$$.fragment),Mt=a(),$=p("h2"),x=p("a"),mt=p("span"),c(N.$$.fragment),Qt=a(),it=p("span"),it.textContent=le,$t=a(),z=p("p"),z.innerHTML=ae,Tt=a(),c(S.$$.fragment),Ut=a(),F=p("p"),F.textContent=ne,jt=a(),c(X.$$.fragment),bt=a(),k=p("div"),k.innerHTML=pe,Ct=a(),A=p("p"),A.textContent=ie,xt=a(),c(P.$$.fragment),kt=a(),Y=p("p"),Y.innerHTML=oe,Zt=a(),Q=p("p"),Q.textContent=re,_t=a(),c(L.$$.fragment),Wt=a(),Z=p("div"),Z.innerHTML=me,Gt=a(),T=p("h2"),_=p("a"),ct=p("span"),c(q.$$.fragment),Lt=a(),ot=p("span"),ot.textContent=ce,It=a(),D=p("p"),D.innerHTML=he,Bt=a(),c(K.$$.fragment),Ht=a(),O=p("p"),O.innerHTML=de,Rt=a(),c(tt.$$.fragment),Vt=a(),et=p("p"),et.textContent=ue,Et=a(),c(st.$$.fragment),Nt=a(),lt=p("p"),lt.textContent=fe,zt=a(),c(at.$$.fragment),St=a(),W=p("div"),W.innerHTML=ge,Ft=a(),ht=p("p"),this.h()},l(t){const e=xe("svelte-1phssyn",document.head);m=i(e,"META",{name:!0,content:!0}),e.forEach(s),w=n(t),j=i(t,"P",{}),M(j).forEach(s),v=n(t),J=i(t,"H1",{class:!0});var nt=M(J);b=i(nt,"A",{id:!0,class:!0,href:!0});var ye=M(b);rt=i(ye,"SPAN",{});var we=M(rt);h(G.$$.fragment,we),we.forEach(s),ye.forEach(s),Yt=n(nt),pt=i(nt,"SPAN",{"data-svelte-h":!0}),o(pt)!=="svelte-sv274"&&(pt.textContent=Dt),nt.forEach(s),ut=n(t),I=i(t,"P",{"data-svelte-h":!0}),o(I)!=="svelte-18h62fn"&&(I.textContent=Kt),ft=n(t),B=i(t,"P",{"data-svelte-h":!0}),o(B)!=="svelte-jyvqzi"&&(B.textContent=Ot),gt=n(t),h(C.$$.fragment,t),yt=n(t),H=i(t,"P",{"data-svelte-h":!0}),o(H)!=="svelte-pdyjx9"&&(H.textContent=te),wt=n(t),R=i(t,"UL",{"data-svelte-h":!0}),o(R)!=="svelte-1c78wn8"&&(R.innerHTML=ee),vt=n(t),V=i(t,"P",{"data-svelte-h":!0}),o(V)!=="svelte-1bc8bfk"&&(V.textContent=se),Jt=n(t),h(E.$$.fragment,t),Mt=n(t),$=i(t,"H2",{class:!0});var At=M($);x=i(At,"A",{id:!0,class:!0,href:!0});var ve=M(x);mt=i(ve,"SPAN",{});var Je=M(mt);h(N.$$.fragment,Je),Je.forEach(s),ve.forEach(s),Qt=n(At),it=i(At,"SPAN",{"data-svelte-h":!0}),o(it)!=="svelte-1qr6u1y"&&(it.textContent=le),At.forEach(s),$t=n(t),z=i(t,"P",{"data-svelte-h":!0}),o(z)!=="svelte-euk5zr"&&(z.innerHTML=ae),Tt=n(t),h(S.$$.fragment,t),Ut=n(t),F=i(t,"P",{"data-svelte-h":!0}),o(F)!=="svelte-16p0hj9"&&(F.textContent=ne),jt=n(t),h(X.$$.fragment,t),bt=n(t),k=i(t,"DIV",{class:!0,"data-svelte-h":!0}),o(k)!=="svelte-10bakl"&&(k.innerHTML=pe),Ct=n(t),A=i(t,"P",{"data-svelte-h":!0}),o(A)!=="svelte-85qecv"&&(A.textContent=ie),xt=n(t),h(P.$$.fragment,t),kt=n(t),Y=i(t,"P",{"data-svelte-h":!0}),o(Y)!=="svelte-wagku9"&&(Y.innerHTML=oe),Zt=n(t),Q=i(t,"P",{"data-svelte-h":!0}),o(Q)!=="svelte-orw6zi"&&(Q.textContent=re),_t=n(t),h(L.$$.fragment,t),Wt=n(t),Z=i(t,"DIV",{class:!0,"data-svelte-h":!0}),o(Z)!=="svelte-43wxxb"&&(Z.innerHTML=me),Gt=n(t),T=i(t,"H2",{class:!0});var Pt=M(T);_=i(Pt,"A",{id:!0,class:!0,href:!0});var Me=M(_);ct=i(Me,"SPAN",{});var $e=M(ct);h(q.$$.fragment,$e),$e.forEach(s),Me.forEach(s),Lt=n(Pt),ot=i(Pt,"SPAN",{"data-svelte-h":!0}),o(ot)!=="svelte-oqqcmi"&&(ot.textContent=ce),Pt.forEach(s),It=n(t),D=i(t,"P",{"data-svelte-h":!0}),o(D)!=="svelte-1ktk46w"&&(D.innerHTML=he),Bt=n(t),h(K.$$.fragment,t),Ht=n(t),O=i(t,"P",{"data-svelte-h":!0}),o(O)!=="svelte-1hncez5"&&(O.innerHTML=de),Rt=n(t),h(tt.$$.fragment,t),Vt=n(t),et=i(t,"P",{"data-svelte-h":!0}),o(et)!=="svelte-1wdrd3"&&(et.textContent=ue),Et=n(t),h(st.$$.fragment,t),Nt=n(t),lt=i(t,"P",{"data-svelte-h":!0}),o(lt)!=="svelte-k6e5ui"&&(lt.textContent=fe),zt=n(t),h(at.$$.fragment,t),St=n(t),W=i(t,"DIV",{class:!0,"data-svelte-h":!0}),o(W)!=="svelte-43wxxb"&&(W.innerHTML=ge),Ft=n(t),ht=i(t,"P",{}),M(ht).forEach(s),this.h()},h(){r(m,"name","hf:doc:metadata"),r(m,"content",JSON.stringify(Ie)),r(b,"id","depth-estimation-pipeline"),r(b,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(b,"href","#depth-estimation-pipeline"),r(J,"class","relative group"),r(x,"id","depth-estimation-inference-by-hand"),r(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(x,"href","#depth-estimation-inference-by-hand"),r($,"class","relative group"),r(k,"class","flex justify-center"),r(Z,"class","flex justify-center"),r(_,"id","depth-estimation-inference-by-hand"),r(_,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(_,"href","#depth-estimation-inference-by-hand"),r(T,"class","relative group"),r(W,"class","flex justify-center")},m(t,e){d(document.head,m),l(t,w,e),l(t,j,e),l(t,v,e),l(t,J,e),d(J,b),d(b,rt),u(G,rt,null),d(J,Yt),d(J,pt),l(t,ut,e),l(t,I,e),l(t,ft,e),l(t,B,e),l(t,gt,e),u(C,t,e),l(t,yt,e),l(t,H,e),l(t,wt,e),l(t,R,e),l(t,vt,e),l(t,V,e),l(t,Jt,e),u(E,t,e),l(t,Mt,e),l(t,$,e),d($,x),d(x,mt),u(N,mt,null),d($,Qt),d($,it),l(t,$t,e),l(t,z,e),l(t,Tt,e),u(S,t,e),l(t,Ut,e),l(t,F,e),l(t,jt,e),u(X,t,e),l(t,bt,e),l(t,k,e),l(t,Ct,e),l(t,A,e),l(t,xt,e),u(P,t,e),l(t,kt,e),l(t,Y,e),l(t,Zt,e),l(t,Q,e),l(t,_t,e),u(L,t,e),l(t,Wt,e),l(t,Z,e),l(t,Gt,e),l(t,T,e),d(T,_),d(_,ct),u(q,ct,null),d(T,Lt),d(T,ot),l(t,It,e),l(t,D,e),l(t,Bt,e),u(K,t,e),l(t,Ht,e),l(t,O,e),l(t,Rt,e),u(tt,t,e),l(t,Vt,e),l(t,et,e),l(t,Et,e),u(st,t,e),l(t,Nt,e),l(t,lt,e),l(t,zt,e),u(at,t,e),l(t,St,e),l(t,W,e),l(t,Ft,e),l(t,ht,e),Xt=!0},p(t,[e]){const nt={};e&2&&(nt.$$scope={dirty:e,ctx:t}),C.$set(nt)},i(t){Xt||(f(G.$$.fragment,t),f(C.$$.fragment,t),f(E.$$.fragment,t),f(N.$$.fragment,t),f(S.$$.fragment,t),f(X.$$.fragment,t),f(P.$$.fragment,t),f(L.$$.fragment,t),f(q.$$.fragment,t),f(K.$$.fragment,t),f(tt.$$.fragment,t),f(st.$$.fragment,t),f(at.$$.fragment,t),Xt=!0)},o(t){g(G.$$.fragment,t),g(C.$$.fragment,t),g(E.$$.fragment,t),g(N.$$.fragment,t),g(S.$$.fragment,t),g(X.$$.fragment,t),g(P.$$.fragment,t),g(L.$$.fragment,t),g(q.$$.fragment,t),g(K.$$.fragment,t),g(tt.$$.fragment,t),g(st.$$.fragment,t),g(at.$$.fragment,t),Xt=!1},d(t){t&&(s(w),s(j),s(v),s(J),s(ut),s(I),s(ft),s(B),s(gt),s(yt),s(H),s(wt),s(R),s(vt),s(V),s(Jt),s(Mt),s($),s($t),s(z),s(Tt),s(Ut),s(F),s(jt),s(bt),s(k),s(Ct),s(A),s(xt),s(kt),s(Y),s(Zt),s(Q),s(_t),s(Wt),s(Z),s(Gt),s(T),s(It),s(D),s(Bt),s(Ht),s(O),s(Rt),s(Vt),s(et),s(Et),s(Nt),s(lt),s(zt),s(St),s(W),s(Ft),s(ht)),s(m),y(G),y(C,t),y(E,t),y(N),y(S,t),y(X,t),y(P,t),y(L,t),y(q),y(K,t),y(tt,t),y(st,t),y(at,t)}}}const Ie={local:"depth-estimation-pipeline",sections:[{local:"depth-estimation-inference-by-hand",title:"깊이 추정 파이프라인"},{local:"depth-estimation-inference-by-hand",title:"직접 깊이 추정 추론하기"}],title:"단일 영상 기반 깊이 추정"};function Be(dt){return Ue(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ze extends be{constructor(m){super(),Ce(this,m,Be,Ge,Te,{})}}export{ze as component};
