-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(node:40) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'filename' of undefined #635
Comments
This sounds like an error in your |
Thanks for the response. {
"OPENDATACAM_VERSION": "3.0.2",
"PATH_TO_YOLO_DARKNET" : "/var/local/darknet",
"VIDEO_INPUT": "file",
"NEURAL_NETWORK": "yolov4",
"VIDEO_INPUTS_PARAMS": {
"file": "opendatacam_videos/demo.mp4",
"usbcam": "v4l2src device=/dev/video0 ! video/x-raw, framerate=30/1, width=640, height=360 ! videoconvert ! appsink",
"raspberrycam": "nvarguscamerasrc ! video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12 ! nvvidconv ! video/x-raw, format=BGRx, width=640, height=360 ! videoconvert ! video/x-raw, format=BGR ! appsink",
"remote_cam": "YOUR IP CAM STREAM (can be .m3u8, MJPEG ...), anything supported by opencv",
"remote_hls_gstreamer": "souphttpsrc location=http://YOUR_HLSSTREAM_URL_HERE.m3u8 ! hlsdemux ! decodebin ! videoconvert ! videoscale ! appsink"
},
"TRACKER_SETTINGS": {
"objectMaxAreaInPercentageOfFrame": 80,
"confidence_threshold": 0.2,
"iouLimit": 0.05,
"unMatchedFrameTolerance": 5
},
"COUNTER_SETTINGS": {
"minAngleWithCountingLineThreshold": 5,
"computeTrajectoryBasedOnNbOfPastFrame": 5
},
"VALID_CLASSES": ["*"],
"DISPLAY_CLASSES": [
{ "class": "bicycle", "hexcode": "1F6B2"},
{ "class": "person", "hexcode": "1F6B6"},
{ "class": "truck", "hexcode": "1F69B"},
{ "class": "motorbike", "hexcode": "1F6F5"},
{ "class": "car", "hexcode": "1F697"},
{ "class": "bus", "hexcode": "1F68C"}
],
"PATHFINDER_COLORS": [
"#1f77b4",
"#ff7f0e",
"#2ca02c",
"#d62728",
"#9467bd",
"#8c564b",
"#e377c2",
"#7f7f7f",
"#bcbd22",
"#17becf"
],
"COUNTER_COLORS": {
"yellow": "#FFE700",
"turquoise": "#A3FFF4",
"green": "#a0f17f",
"purple": "#d070f0",
"red": "#AB4435"
},
"NEURAL_NETWORK_PARAMS": {
"yolov4": {
"data": "cfg/coco.data",
"cfg": "cfg/yolov4-416x416.cfg",
"weights": "yolov4.weights"
},
"yolov4-tiny": {
"data": "cfg/coco.data",
"cfg": "cfg/yolov4-tiny.cfg",
"weights": "yolov4-tiny.weights"
}
},
"TRACKER_ACCURACY_DISPLAY": {
"nbFrameBuffer": 300,
"settings": {
"radius": 3.1,
"blur": 6.2,
"step": 0.1,
"gradient": {
"0.4":"orange",
"1":"red"
},
"canvasResolutionFactor": 0.1
}
},
"MONGODB_URL": "mongodb://mongo:27017",
"PORTS": {
"app": 8080,
"darknet_json_stream": 8070,
"darknet_mjpeg_stream": 8090
}
} |
After multiple tries now it shows its loading the default
{
"frame_id":36,
"objects": [
{"class_id":0, "name":"person", "relative_coordinates":{"center_x":0.968587, "center_y":0.155538, "width":0.142953, "height":1.267735}, "confidence":0.865290},
{"class_id":57, "name":"sofa", "relative_coordinates":{"center_x":0.968587, "center_y":0.155538, "width":0.142953, "height":1.267735}, "confidence":0.838910},
{"class_id":0, "name":"person", "relative_coordinates":{"center_x":0.961556, "center_y":0.861943, "width":0.114604, "height":0.354715}, "confidence":0.911529},
{"class_id":0, "name":"person", "relative_coordinates":{"center_x":0.982083, "center_y":0.207010, "width":0.107570, "height":0.453541}, "confidence":0.703170}
]
}, Keep in mind, I am using default Somewhere something is pointing to the wrong config file or the settings in |
Hi guys,
Need help. I am trying to get
opendatacam
working for testing onUbuntu
running inWSL2
.Installation and running docker works fine. But the initial loading phase does not complete with the following exception.
I have manually verified the uploaded file is in the expected folder inside the container.
Exception details here
docker-compose.yml file here
Complete log below
Thanks in advance.
The text was updated successfully, but these errors were encountered: