Skip to content

Commit

Permalink
Fallback video for rerun
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkChenYutian committed Jul 25, 2024
1 parent ab55280 commit f62295e
Show file tree
Hide file tree
Showing 29 changed files with 172 additions and 99 deletions.
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

53 changes: 0 additions & 53 deletions docs/_next/static/chunks/202-7a9c7b0e0aed0852.js

This file was deleted.

53 changes: 53 additions & 0 deletions docs/_next/static/chunks/527-a0f544b5e7f24b60.js

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/_next/static/chunks/app/page-2bfbc3e652326b03.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/_next/static/chunks/app/page-3a0e09022d91063b.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions docs/_next/static/css/5aa5ac1f97c9baa7.css

This file was deleted.

3 changes: 3 additions & 0 deletions docs/_next/static/css/858b6e45a4b4ff6f.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/components.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/components.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
2:I[486,[],"ClientPageRoot"]
3:I[9986,["531","static/chunks/3cde7dfc-e749fadf267fcb89.js","845","static/chunks/845-0388f8331c4fe591.js","800","static/chunks/800-8be392c5a1b53006.js","373","static/chunks/373-b69f261dbfa182ed.js","540","static/chunks/app/components/page-615275fed64f9a10.js"],"default"]
3:I[7513,["531","static/chunks/3cde7dfc-e749fadf267fcb89.js","845","static/chunks/845-0388f8331c4fe591.js","800","static/chunks/800-8be392c5a1b53006.js","373","static/chunks/373-b69f261dbfa182ed.js","540","static/chunks/app/components/page-d617dab9f259771f.js"],"default"]
4:I[7071,[],""]
5:I[4008,[],""]
6:I[6435,["648","static/chunks/ce84277d-c3f00ebc806278a6.js","845","static/chunks/845-0388f8331c4fe591.js","601","static/chunks/app/error-a4c97aa3bef4eea8.js"],"default"]
0:["Oc8FhaiwGbZPKExna9-UJ",[[["",{"children":["components",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["components",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","components","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null],null]},[["$","html",null,{"children":["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$6","errorStyles":[],"errorScripts":[],"template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","main",null,{"children":["$","section",null,{"className":"bg-white","children":["$","div",null,{"className":"layout flex min-h-screen flex-col items-center justify-center text-center text-black","children":[["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 24 24","className":"drop-shadow-glow animate-flicker text-red-500","children":["$undefined",[["$","path","0",{"d":"M4.00098 20V14C4.00098 9.58172 7.5827 6 12.001 6C16.4193 6 20.001 9.58172 20.001 14V20H21.001V22H3.00098V20H4.00098ZM6.00098 14H8.00098C8.00098 11.7909 9.79184 10 12.001 10V8C8.68727 8 6.00098 10.6863 6.00098 14ZM11.001 2H13.001V5H11.001V2ZM19.7792 4.80761L21.1934 6.22183L19.0721 8.34315L17.6578 6.92893L19.7792 4.80761ZM2.80859 6.22183L4.22281 4.80761L6.34413 6.92893L4.92991 8.34315L2.80859 6.22183Z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":60,"width":60,"xmlns":"http://www.w3.org/2000/svg"}],["$","h1",null,{"className":"mt-8 text-4xl md:text-6xl","children":"Page Not Found"}],["$","a",null,{"href":"/","children":"Back to home"}]]}]}]}],"notFoundStyles":[],"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5d6f821b1830454f.css","precedence":"next","crossOrigin":"$undefined"}]]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5aa5ac1f97c9baa7.css","precedence":"next","crossOrigin":"$undefined"}]],"$L7"]]]]
0:["iZvUxgfquahj-XuzehLWp",[[["",{"children":["components",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["components",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","components","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null],null]},[["$","html",null,{"children":["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$6","errorStyles":[],"errorScripts":[],"template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","main",null,{"children":["$","section",null,{"className":"bg-white","children":["$","div",null,{"className":"layout flex min-h-screen flex-col items-center justify-center text-center text-black","children":[["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 24 24","className":"drop-shadow-glow animate-flicker text-red-500","children":["$undefined",[["$","path","0",{"d":"M4.00098 20V14C4.00098 9.58172 7.5827 6 12.001 6C16.4193 6 20.001 9.58172 20.001 14V20H21.001V22H3.00098V20H4.00098ZM6.00098 14H8.00098C8.00098 11.7909 9.79184 10 12.001 10V8C8.68727 8 6.00098 10.6863 6.00098 14ZM11.001 2H13.001V5H11.001V2ZM19.7792 4.80761L21.1934 6.22183L19.0721 8.34315L17.6578 6.92893L19.7792 4.80761ZM2.80859 6.22183L4.22281 4.80761L6.34413 6.92893L4.92991 8.34315L2.80859 6.22183Z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":60,"width":60,"xmlns":"http://www.w3.org/2000/svg"}],["$","h1",null,{"className":"mt-8 text-4xl md:text-6xl","children":"Page Not Found"}],["$","a",null,{"href":"/","children":"Back to home"}]]}]}]}],"notFoundStyles":[],"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5d6f821b1830454f.css","precedence":"next","crossOrigin":"$undefined"}]]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/858b6e45a4b4ff6f.css","precedence":"next","crossOrigin":"$undefined"}]],"$L7"]]]]
7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Components | MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","3",{"name":"description","content":"Pre-built components with awesome default"}],["$","link","4",{"rel":"manifest","href":"/favicon/site.webmanifest","crossOrigin":"use-credentials"}],["$","meta","5",{"name":"robots","content":"index, follow"}],["$","meta","6",{"property":"og:title","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","7",{"property":"og:description","content":"Pre-built components with awesome default"}],["$","meta","8",{"property":"og:url","content":"https://mac-vo.github.io"}],["$","meta","9",{"property":"og:site_name","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","10",{"property":"og:locale","content":"en_US"}],["$","meta","11",{"property":"og:image","content":"https://mac-vo.github.io/images/og.jpg"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","15",{"name":"twitter:description","content":"Pre-built components with awesome default"}],["$","meta","16",{"name":"twitter:image","content":"https://mac-vo.github.io/images/og.jpg"}],["$","link","17",{"rel":"shortcut icon","href":"/favicon/favicon-16x16.png"}],["$","link","18",{"rel":"icon","href":"/favicon/favicon.ico"}],["$","link","19",{"rel":"apple-touch-icon","href":"/favicon/apple-touch-icon.png"}]]
1:null
Binary file added docs/images/FlowformerCov.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
2:I[486,[],"ClientPageRoot"]
3:I[9411,["478","static/chunks/809ce7c2-c6b72ceb3175f9c8.js","845","static/chunks/845-0388f8331c4fe591.js","800","static/chunks/800-8be392c5a1b53006.js","202","static/chunks/202-7a9c7b0e0aed0852.js","931","static/chunks/app/page-2bfbc3e652326b03.js"],"default"]
3:I[8137,["478","static/chunks/809ce7c2-c6b72ceb3175f9c8.js","845","static/chunks/845-0388f8331c4fe591.js","800","static/chunks/800-8be392c5a1b53006.js","527","static/chunks/527-a0f544b5e7f24b60.js","931","static/chunks/app/page-3a0e09022d91063b.js"],"default"]
4:I[7071,[],""]
5:I[6435,["648","static/chunks/ce84277d-c3f00ebc806278a6.js","845","static/chunks/845-0388f8331c4fe591.js","601","static/chunks/app/error-a4c97aa3bef4eea8.js"],"default"]
6:I[4008,[],""]
0:["Oc8FhaiwGbZPKExna9-UJ",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"children":["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$5","errorStyles":[],"errorScripts":[],"template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","main",null,{"children":["$","section",null,{"className":"bg-white","children":["$","div",null,{"className":"layout flex min-h-screen flex-col items-center justify-center text-center text-black","children":[["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 24 24","className":"drop-shadow-glow animate-flicker text-red-500","children":["$undefined",[["$","path","0",{"d":"M4.00098 20V14C4.00098 9.58172 7.5827 6 12.001 6C16.4193 6 20.001 9.58172 20.001 14V20H21.001V22H3.00098V20H4.00098ZM6.00098 14H8.00098C8.00098 11.7909 9.79184 10 12.001 10V8C8.68727 8 6.00098 10.6863 6.00098 14ZM11.001 2H13.001V5H11.001V2ZM19.7792 4.80761L21.1934 6.22183L19.0721 8.34315L17.6578 6.92893L19.7792 4.80761ZM2.80859 6.22183L4.22281 4.80761L6.34413 6.92893L4.92991 8.34315L2.80859 6.22183Z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":60,"width":60,"xmlns":"http://www.w3.org/2000/svg"}],["$","h1",null,{"className":"mt-8 text-4xl md:text-6xl","children":"Page Not Found"}],["$","a",null,{"href":"/","children":"Back to home"}]]}]}]}],"notFoundStyles":[],"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/f87fff2ab93d05a7.css","precedence":"next","crossOrigin":"$undefined"}]]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5aa5ac1f97c9baa7.css","precedence":"next","crossOrigin":"$undefined"}]],"$L7"]]]]
0:["iZvUxgfquahj-XuzehLWp",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"children":["$","body",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$5","errorStyles":[],"errorScripts":[],"template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","main",null,{"children":["$","section",null,{"className":"bg-white","children":["$","div",null,{"className":"layout flex min-h-screen flex-col items-center justify-center text-center text-black","children":[["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 24 24","className":"drop-shadow-glow animate-flicker text-red-500","children":["$undefined",[["$","path","0",{"d":"M4.00098 20V14C4.00098 9.58172 7.5827 6 12.001 6C16.4193 6 20.001 9.58172 20.001 14V20H21.001V22H3.00098V20H4.00098ZM6.00098 14H8.00098C8.00098 11.7909 9.79184 10 12.001 10V8C8.68727 8 6.00098 10.6863 6.00098 14ZM11.001 2H13.001V5H11.001V2ZM19.7792 4.80761L21.1934 6.22183L19.0721 8.34315L17.6578 6.92893L19.7792 4.80761ZM2.80859 6.22183L4.22281 4.80761L6.34413 6.92893L4.92991 8.34315L2.80859 6.22183Z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":60,"width":60,"xmlns":"http://www.w3.org/2000/svg"}],["$","h1",null,{"className":"mt-8 text-4xl md:text-6xl","children":"Page Not Found"}],["$","a",null,{"href":"/","children":"Back to home"}]]}]}]}],"notFoundStyles":[],"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/f87fff2ab93d05a7.css","precedence":"next","crossOrigin":"$undefined"}]]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/858b6e45a4b4ff6f.css","precedence":"next","crossOrigin":"$undefined"}]],"$L7"]]]]
7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","link","3",{"rel":"manifest","href":"/favicon/site.webmanifest","crossOrigin":"use-credentials"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","meta","5",{"property":"og:title","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","6",{"property":"og:url","content":"https://mac-vo.github.io"}],["$","meta","7",{"property":"og:site_name","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","8",{"property":"og:locale","content":"en_US"}],["$","meta","9",{"property":"og:image","content":"https://mac-vo.github.io/images/og.jpg"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"MAC-VO: Metric-Aware Covariance for Learning-based Stereo Visual Odometry"}],["$","meta","13",{"name":"twitter:image","content":"https://mac-vo.github.io/images/og.jpg"}],["$","link","14",{"rel":"shortcut icon","href":"/favicon/favicon-16x16.png"}],["$","link","15",{"rel":"icon","href":"/favicon/favicon.ico"}],["$","link","16",{"rel":"apple-touch-icon","href":"/favicon/apple-touch-icon.png"}]]
1:null
Binary file added docs/video/Rotate_EuRoC_V102.mp4
Binary file not shown.
Binary file added docs/video/Rotate_KITTI07.mp4
Binary file not shown.
Binary file added docs/video/Rotate_TartanAir1.mp4
Binary file not shown.
Binary file added public/images/FlowformerCov.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/video/Rotate_EuRoC_V102.mp4
Binary file not shown.
Binary file added public/video/Rotate_KITTI07.mp4
Binary file not shown.
Binary file added public/video/Rotate_TartanAir1.mp4
Binary file not shown.
35 changes: 27 additions & 8 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import '@/lib/env';
import Figure from '@/components/Figure';
import KatexSpan from '@/components/KaTeX';
import ArrowLink from '@/components/links/ArrowLink';
import ButtonLink from '@/components/links/ButtonLink';
import RerunViewerInline from '@/components/RerunViewer/InlineViewer';
import RerunViewerPopup from '@/components/RerunViewer/RerunViewer';
import ExternalSwitch from '@/components/Switch';

/**
* SVGR Support
Expand All @@ -31,7 +31,6 @@ export default function HomePage() {
const bgColor = mode === 'dark' ? 'bg-dark' : 'bg-white';
const maskColor = mode === 'dark' ? 'bg-dark/70' : 'bg-white/70';
const secondaryBgColor = mode === 'dark' ? 'bg-neutral-700' : 'bg-gray-100';
const buttonText = mode === "dark" ? "☀ Light Mode" : "🌙 Dark Mode";
const hlTextColor = mode === "dark" ? "text-primary-500" : "text-primary-600";

return (
Expand All @@ -41,9 +40,10 @@ export default function HomePage() {
"relative flex items-center justify-center h-screen overflow-hidden"
)
}>
<ButtonLink className={clsx('mt-6 absolute top-1 right-2 rounded-md z-20', textColor)} href='' variant="outline" isDarkBg={mode === "dark"} onClick={changeMode}>
{buttonText}
</ButtonLink>
<div className='absolute top-6 right-4 z-20'>
<span>Light Mode </span>
<ExternalSwitch state={mode === "light"} switch_state={changeMode} />
</div>
<div className='layout z-20 relative flex min-h-screen flex-col items-center justify-center py-12 text-center'>
<h1 className='mt-4 text-5xl'>MAC-VO: {" "}
<span className={hlTextColor}>M</span>etrics-<span className={hlTextColor}>A</span>ware {" "}
Expand Down Expand Up @@ -112,13 +112,29 @@ export default function HomePage() {
/>

<h3 className='pt-4'>Matching Network</h3>
<Figure
img_src='/images/FlowformerCov.png'
caption={
<span>
<span className='font-semibold'>Left:</span>
Architecture of the uncertainty-aware matching network. We employ the motion aggregator and the iterative update {" "}
structure to help the covariance module learn the relationship between the covariance estimation and global motion. {" "}
<span className='font-semibold'>Right:</span> In each iteration, the model captures the inconsistency between the motions. {" "}
For the <KatexSpan text="$\Delta \sigma$" />, the <span className='text-red-400'>red</span> means increasing the uncertainty, and {" "}
<span className='text-blue-400'>blue</span> means decreasing the uncertainty.
</span>
}
isDark={mode === "dark"}
idx={2}
/>


<h3 className='pt-4'>Uncertainty Aware Keypoint Selector</h3>
<Figure
img_src="/images/KPSelector.png"
caption="We include three filters: Non-minimum Suppression (NMS) filter, a geometric filter, and an uncertainty-based filter. In the KITTI odometry dataset, the uncertainty filter can capture the inconsistency and implicitly filter out the unreliable features on the moving objects in the scene. "
isDark={mode === "dark"}
idx={2}
idx={3}
/>

<h3 className='pt-4'>Metrics-Aware Spatial Covariance</h3>
Expand All @@ -132,7 +148,7 @@ export default function HomePage() {
</span>
}
isDark={mode === "dark"}
idx={3}
idx={4}
/>
</div>
</section>
Expand All @@ -156,18 +172,21 @@ export default function HomePage() {
<RerunViewerInline
title="EuRoC V102"
rrd_file="https://mac-vo.github.io/rerun/EuRoC_V102_Map.rrd"
fallback_video='/video/Rotate_EuRoC_V102.mp4'
height='500px'
width='45vw'
/>
<RerunViewerInline
title="TartanAir Abandoned Factory 001"
title="TartanAir Abandon Factory 1"
rrd_file="https://mac-vo.github.io/rerun/TartanAir_AbandonFac_001.rrd"
fallback_video='/video/Rotate_TartanAir1.mp4'
height='500px'
width='45vw'
/>
<RerunViewerInline
title="KITTI 07"
rrd_file="https://mac-vo.github.io/rerun/KITTI_07_Map.rrd"
fallback_video='/video/Rotate_KITTI07.mp4'
height='500px'
width='45vw'
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Figure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type FigureProp = { img_src: string; caption: React.ReactNode; isDark: boolean;

const Figure = ({ img_src, caption, isDark, idx }: FigureProp) => {
const caption_clr = isDark ? 'text-gray-400' : 'text-gray-600';
const img_style = isDark ? 'w-full h-auto rounded-md bg-neutral-700 p-2' : 'w-full h-auto rounded-md p-2';
const img_style = isDark ? 'w-full h-auto rounded-md bg-neutral-400 p-2' : 'w-full h-auto rounded-md p-2';

return (
<figure className='flex flex-col items-center justify-center'>
Expand Down
Loading

0 comments on commit f62295e

Please sign in to comment.