Hi i have a folder called “data” in root dir and have sub folders called “images” and “audio” in the data folder. I tried naming the path in Disk as /data. But it didn’t work. What should I do?
Disks are mounted as an absolute path so /data
would be at the top level of the container. If you want it in your project path then use /opt/render/project/src/data
Regards,
John B
Render Support, UTC
Actually this is fine. But I found my issue was something asked before. Is there any solution to openCV won’t open webcam when I deploy it on render?
We’re unclear on how a package running on a Render hosted service would attach to a webcam on your local computer? Does it present something that uses the connected camera to the visitors browser?
I suspect OpenCV is probably expecting direct access to the camera via USB and the intention is for the package to be used locally and therefore isn’t suitable for hosted environments.
John B
Render Support, UTC
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.