739 questions
-3 votes
2 answers
79 views
Return the depth of an object with multiple properties [closed]
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 = { ...
Tooling
0 votes
1 replies
82 views
Object detection + metric depth on mobile for outdoor navigation (blind users)
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 ...
0 votes
0 answers
52 views
React Native GiftedChat: Maximum update depth exceeded error on minimal example
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 ...
0 votes
0 answers
46 views
Is there a way to use attachMovie in different layers?
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: ...
1 vote
0 answers
221 views
How to Generate a Point Cloud from an Image with Intrinsic Camera Parameters and a Depth Map?
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 ...
0 votes
1 answer
125 views
Sony ToFAR: Coexistence of ToFARToFManager and XR Origin's main camera
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 ...
0 votes
1 answer
41 views
I have a "depth" problem with z-index during transiton
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. ...
0 votes
1 answer
150 views
Kinect v1 Camera not connect with Kinect SDK
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 ...
0 votes
1 answer
149 views
Qt Vulkan: How to enable depth test?
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). ...
0 votes
1 answer
55 views
Check if the number of nodes at any depth of the binary tree is equal to the height of the tree
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> /...
2 votes
0 answers
575 views
ARCore does not work in certain Android environments
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 ...
0 votes
0 answers
68 views
Extracting max bottom depth in NetCDF files
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 ...
0 votes
0 answers
68 views
Disparity Map obtained through StereoSGBM is flickering
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, ...
0 votes
1 answer
80 views
how to count the number of keys in an json in front of a nested scalar wih jq
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": { "...
1 vote
1 answer
92 views
PHP, RecursiveIteratorIterator, depth of 2 only
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="./...