CARVIEW |
Select Language
HTTP/2 302
date: Tue, 14 Oct 2025 23:32:04 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/46374199/4463560?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T233204Z&X-Amz-Expires=300&X-Amz-Signature=7f8f61f0e09cbaa86b7a997970c1a7dea1fb1694427d66f17361ede4cd64ce79&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3Bfilename%3Dcode.js.txt&response-content-type=text%2Fplain
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=bMlvVff%2BP%2FxBSilUVewzGwt9LMdk78KxF95OayKRZWZ5grvr4JtKQP755rvwsOswnKaIJOdiMnJvLjNaOqsWtZE6YySv623nqGU6FZHpN17uRVVt9DDqX9Ly0mqjFrBw7Ap1FxEgEoFNX5sp0f%2FoeJF7V68gTYrcRvx3gmGYQtT3ev80GoPgXe22pXxZm%2FfsnKKBAG0kqVSWcxZ4u6QyiqGIUNAO2KGmAJm%2FxSDrCX22dVFdQMdhCgvcVKm9dt4pO4YWuTCReJDvjY76ObYCTg%3D%3D--IZIPsvzbfMTB0i4Y--XJg%2BFW8Bukx2ZNeCZdsvdA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1784680609.1760484724; Path=/; Domain=github.com; Expires=Wed, 14 Oct 2026 23:32:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 14 Oct 2026 23:32:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B382:9B541:10DC11E:141B8F7:68EEDD74
HTTP/2 200
content-type: text/plain
last-modified: Tue, 04 Mar 2025 11:58:37 GMT
etag: "0x8DD5B13E593CDFC"
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 49bdb818-701e-004c-0962-3d08b4000000
x-ms-version: 2025-11-05
x-ms-creation-time: Tue, 04 Mar 2025 11:58:37 GMT
x-ms-blob-content-md5: 3p7wfry9bh4LCvPHL8YXQQ==
x-ms-lease-status: unlocked
x-ms-lease-state: available
x-ms-blob-type: BlockBlob
content-disposition: attachment;filename=code.js.txt
x-ms-server-encrypted: true
via: 1.1 varnish, 1.1 varnish
fastly-restarts: 1
accept-ranges: bytes
age: 0
date: Tue, 14 Oct 2025 23:32:06 GMT
x-served-by: cache-iad-kiad7000089-IAD, cache-bom-vanm7210044-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1760484725.172364,VS0,VE304
content-length: 1879
return new Promise(function(resolve, reject) {
try {
const dec_filter = new rs2.DecimationFilter();
const pc = new rs2.PointCloud();
const pipeline = new rs2.Pipeline();
const config = new rs2.Config();
let pointsFrame;
const alignToDepth = new rs2.Align(rs2.stream.STREAM_DEPTH);
const alignToColor = new rs2.Align(rs2.stream.STREAM_COLOR);
dec_filter.setOption(rs2.option.option_filter_magnitude, 4);
config.disableAllStreams();
config.enableStream(rs2.stream.STREAM_COLOR, -1, 1280, 720, rs2.format.FORMAT_BGR8, 30);
config.enableStream(rs2.stream.STREAM_DEPTH, -1, 848, 480, rs2.format.FORMAT_Z16, 30);
//Start streaming
const pipelineProfile = pipeline.start(config);
//Getting the depth sensor's depth scale (see rs-align example for explanation)
const depthSensor = pipelineProfile.getDevice().first;
depthSensor.setOption(rs2.option.option_depth_units, 0.0001);
let frameset; // Frameset();
for(let i=0; i < 50; i++) {
frameset = pipeline.waitForFrames();
// Align all frames to depth viewport
frameset = alignToDepth.process(frameset);
}
// Get aligned frames
let depthFrame = frameset.depthFrame;
let colorFrame = frameset.colorFrame;
var frame = dec_filter.process(depthFrame);
var depthFrameFiltered = new rs2.DepthFrame(frame.cxxFrame);
pc.mapTo(colorFrame);
pointsFrame = pc.calculate(depthFrameFiltered);
pointsFrame.exportToPly('D:/outputjs.ply', colorFrame);
pipeline.stop();
pipeline.destroy();
rs2.cleanup();
resolve(true);
}
catch(_error) {
reject(_error);
}
});