Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
2 answers
88 views

I'm doing a coding exercise. I must create a recursive function that return the depth of an object. Said object has several properties and arrays of children, emulating a family tree: const foo = { ...
Annie McGarden's user avatar
Tooling
0 votes
1 replies
82 views

I’m building a mobile navigation app (android) for blind users. Two core features needed: real-time detection of outdoor objects (cars, benches, curbs, stairs, pedestrians) on the phone camera. a ...
Mays Al-reem's user avatar
0 votes
0 answers
53 views

I am building a chatbot screen in React Native CLI using the react-native-gifted-chat package (version 0.16.3). However, when I run even a minimal example, I get the following error: Maximum update ...
Arjun Singh's user avatar
0 votes
0 answers
46 views

I'm currently writing a code that when executed, it'll attach lots of movieClips into the _root property. Is there is a way to choose which layer these movieClips are attached into? For example: ...
Juan Francisco's user avatar
1 vote
0 answers
222 views

I am working on generating a point cloud from an image, and I have the following data: 1. An image (height x width) 2. Intrinsic camera parameters (camera matrix). 3. A depth map of the image (height ...
SashaDance's user avatar
0 votes
1 answer
125 views

I am currently trying to implement a simple Unity app for obstacle detection using iPhone PointCloud data obtained by ToFAR. In addition to ToF AR, I have implemented AR display content and originally ...
yuuki's user avatar
  • 1
0 votes
1 answer
41 views

I want the clicked box to be most top during transition. I tried some ways but couldn't figure out. This is short (minimized) form of code. I removed my failed tries like loops etc. to achive my aim. ...
Tukenmezkelam's user avatar
0 votes
1 answer
150 views

I tried to connect Kinect V1 depth camera with my windows lap. It couldn't connect with Kinect for Windows SDK v1.8. But i can use kinect with "Processing" IDE. I need to record 3D point ...
Pasan Thilakarathna's user avatar
0 votes
1 answer
149 views

I use this Vulkan under QML approach to integrate Vulkan with QtQuick. But I noticed that the depth test is disabled (the model that was rendered later overlaps the first model even if it is behind). ...
tomeadom's user avatar
0 votes
1 answer
55 views

I'm trying to do a function that checks if the number of nodes at any depth of the binary tree is equal to the height of the tree. Here's the code: #include <stdio.h> #include <stdlib.h> /...
XionLovis's user avatar
2 votes
0 answers
576 views

I am testing the aar file extracted with Unity in the Android environment. The problem is that ARCore does not work on the Galaxy S22 Ultra device. The way to implement this bug is to reboot the ...
nudge411's user avatar
0 votes
0 answers
68 views

I have global 4 dimenions (lon, lat, time and depth) with two variables NetCDF files for environmental marine variables. I am looking to extract data from the bottom-most depth for each cell that does ...
Arnaud Boulenger's user avatar
0 votes
0 answers
68 views

I am trying to implement stereo vision using 2 RPI v2 Cameras kept 8.43cm apart. After performing camera calibration and rectification, I used StereoSGBM to compute disparity map. But for some reason, ...
Ketan P's user avatar
0 votes
1 answer
80 views

I have deep nested jsons and I want to count how many keys I have in front of a scalar with jq. Here a very simplified example { "one": { "two": { "...
john-soda's user avatar
1 vote
1 answer
92 views

I would like to retrieve all subdirectories of a directory, but only those subdirectories that have a depth of 2 only. By now, I've written this code, which works fine. $directory="./...
Potivier's user avatar
0 votes
1 answer
100 views

How do you get the depth of a List in flutter/ dart language, given a list like this one List testRy = [1,2,[3,4,[5,6],7,[8,[9,91]],10],11,12]; Can you help me create something like an extension for ...
Frankline Sable's user avatar
0 votes
0 answers
152 views

I'm using ARKit and need to count physical size of captured image, for now I'm only have distance from camera to object. One of my idea was to have Max top point and Max bottom so then with hitTest I ...
Volodymyr Buha's user avatar
1 vote
2 answers
175 views

I'm facing an issue when trying to add a depth value to each object to a nested array. The specific issue I'm facing is that when an object has multiple siblings the depth is applied to the first but ...
Jane Delugas's user avatar
1 vote
0 answers
473 views

I'm trying to detect object and get the depth using realsense d415 and yolov8 trained model. I've already trained yolov8 and I have best.pt file about it. So I want to use this best.pt file to put it ...
sleepy-puppy's user avatar
-1 votes
1 answer
157 views

everyone! i am trying to find distance of an object(apple for example) from my camera(using a single camera) by using depth map created by neural network(like pydnet or MiDaS) I have two problems: I ...
Reza shahriari's user avatar
0 votes
1 answer
713 views

I've implemented solution similar to Apple's example of capturing depth data with iPhone lidar camera. Main code snippets are as follow: Setting depth formats let device = AVCaptureDevice.default(....
Matej Ukmar's user avatar
  • 2,255
2 votes
0 answers
444 views

I'm working on a project where I need to use stereoscopic vision to calculate the depth and distance of people and objects from the camera. I'm using OpenCV and the IMX219-83 camera from Waveshare ...
user avatar
0 votes
2 answers
564 views

I have written a Python script which uses a RealSense depth camera to measure the distance between two points in the input image. The distance returned is very accurate. I have tried converting this ...
Vuro H's user avatar
  • 41
1 vote
0 answers
312 views

I have two images from my stereo camera model is ZED 1 from stereoLabs. I want to rectify those images, This is the code I used to try that : import numpy as np import cv2 # Load the calibration ...
Talha Tahir's user avatar
1 vote
0 answers
207 views

I'm trying to understand how glPolygonOffset works from the inside. After researching, I found this formula: o = m * factor + r * units but I don't understand how the "m" parameter (depth ...
tomeadom's user avatar
0 votes
1 answer
382 views

I have some json data that looks like: { "a1": { "b1": { "c1": {...}, "c2": [...] }, "b2": { ...
dmay's user avatar
  • 1,335
3 votes
3 answers
759 views

How can I get the first x levels of depth of an object and remove the rest using jq ? I have the following example: { "Service1": { "Production": { "Location 1&...
Haim Marko's user avatar
1 vote
1 answer
429 views

The downloadable binaries for the C implementation of jq come with a rather low hard-coded value of MAX_PARSING_DEPTH (currently 256). Without having to recompile jq, what are my options for ...
peak's user avatar
  • 120k
0 votes
1 answer
411 views

I have a ZED 2 camera that gives me the not normalized depth map values (real depth values) in GRAY16_LE format and I want to save this information without loosing the real depth values (so I can ...
jessicalfr's user avatar
1 vote
0 answers
428 views

i want to understand the point cloud data generated by zed. and my saved .ply file looks like this ply format ascii 1.0 element vertex 1614755 property float x property float y property float z ...
mannem's user avatar
  • 41
1 vote
0 answers
228 views

Code section 1 !mkdir -p inputs !mkdir -p outputs_midas !mkdir -p outputs_leres Code section 2 Clone git repo !git clone https://github.com/compphoto/BoostingMonocularDepth.git !wget https://sfu.ca/~...
Ghofran Meftah's user avatar
0 votes
1 answer
25 views

I have a script for counting the paranthese depth of a text. My function counts the depth and checks for open parantheses, and is supposed to return the following tupel: (depth, valid, balanced). The ...
Finn-arild's user avatar
1 vote
1 answer
4k views

I have some questions regarding the max_depth and max_leaves hyperparams in XGBoost (I'm using Python). Let's go through some examples. Example 1. In the following case I have set: max_depth = 3 ...
Giampaolo Levorato's user avatar
-6 votes
1 answer
444 views

Design a function depth_map which returns a dictionary whose keys are the depths of the items in and the value for a given key is a list of the items at that depth. The depth of an object in a ...
nima kazemi's user avatar
0 votes
1 answer
141 views

I am using the following insertion sort function to sort an array of Z-depth float values: for (int i = 1; i < n; i++) { float temp = depth[i]; for (j = i - 1; j >= 0 && depth[j] ...
Rich95's user avatar
  • 345
1 vote
0 answers
83 views

I'm having an issue with depth values using iOS 16. I'm getting noisier depth data from my AVFCaptureSession on iOS 16 than iOS 15 and below. Has something changed for iOS 16? If anyone has ...
Ishani Vyas's user avatar
2 votes
0 answers
417 views

Does anyone know if it is possible to access the apple watch ultra depth data from diving? Trying to find api access for this.
Jack Hoskins's user avatar
0 votes
1 answer
876 views

I have a compute shader that samples a depth sampler2D, however when using texture() the result is weird with some jagged edges. If I use texelFetch() then it works fine, so I would guess its an issue ...
DarxDev's user avatar
  • 23
0 votes
1 answer
764 views

I'm trying to stream the depth and RGB video of a depth camera (Intel D455) through web. I'm re-using a script from here: https://pyshine.com/Live-streaming-multiple-videos-on-a-webpage/ My probleme ...
5zigen's user avatar
  • 13
0 votes
1 answer
275 views

What is the depth definition of the pixels in an image? In the sketch map as following, if the target position of the red star represent the pixels with depth in its corresponding image, I am not sure ...
xc-2021's user avatar
  • 47
1 vote
1 answer
108 views

My goal is to detect any change in frames(single channel. each pixel is depth value). On app init, I take average of all corresponding pixels of first 30 frames so one average background frame will be ...
Mitesh Patel's user avatar
0 votes
1 answer
433 views

I am using ROS with a depth camera, and the data for each pixel is 4 bytes. Example: 0,0,192,127 I am trying to extract the distance to a point but I don't know what the 4 numbers represent.
Saveer Jain's user avatar
3 votes
1 answer
770 views

I am working with a simulation in Python equipped with a depth sensor. The visualization it's done in C++. The sensor gives me the following image that I need to convert to gray. For the conversion, ...
GabyUnalaq's user avatar
0 votes
0 answers
355 views

Most of my work now is based on this project: https://github.com/plluke/tof I can already get depth image on my Android phone (see below) but my ultimate goal is to generate a 3D model. Is there any ...
Pt_lin's user avatar
  • 41
0 votes
1 answer
70 views

I am making checkers. I encountered quite a big problem. The code below describes cells king can move on. 1 cell is 100x100. He starts from (550, 50). This picture describes current_battlefield: And ...
HaterOfCaptcha's user avatar
2 votes
0 answers
488 views

I have a depth video stream (grayscale) of a pen and pen-like objects. Since they are mostly of an ellipse shape, I want to fit an ellipse using PCA and get real-time output of ellipse angles. The ...
Shukrullo's user avatar
0 votes
1 answer
66 views

Given two binary trees T1 and T2 having the same height, I would like to know how to check if the number of nodes of T1 is equal to the number of nodes in T2, for each value of depth D. I wrote a ...
Simone's user avatar
  • 4,980
0 votes
1 answer
115 views

I would like to know how I can find the depth of a given element E in a binary tree. For simplicity, the tree has no repeated elements. I tried: ElemDepth(E,t(E,T1,T2), D). ElemDepth(E,t(M,T1,T2), D):-...
Simone's user avatar
  • 4,980
1 vote
1 answer
769 views

Imagine we have a graph like this: The DFS would search it in the order of the digits in the picture. I wonder how it knows when to pick 6 over 8. I know it searches for the deepest part first but ...
antekkalafior's user avatar
0 votes
1 answer
112 views

I have a depth image with a shape of 11 x 23, and I do want to balance the depth in all cells using the fact that the depth in the four corners is the same, the values are shown in the drawing here: ...
Bilal's user avatar
  • 4,175

1
2 3 4 5
15