Hello there, first time poster so apologies if this is not the correct forum for the question.
I'm currently working on a system that will pull information of passing cars from a Dahua IPITC237-PW6M-IRLZF . It works great when there is a connection to the Camera. But I'm trying to just make a work around in case I lose connection to one of the IP Cameras, I can pull the information from the SD-card when connection is re-established.
Reading through the API docs. it seems this is possible.
I create a FileFinder with: . It returns the objectId of the "File Finder".
I then run: After this I run the "Get Next File"-call which can return up to 100 "entries" with the given parameters. This all works as described, but I noticed that some of the data I need for my system is not returned.
So this leads me to my actual question. Does anyone know if it is possible to get the information stored in the TrafficJunction Event through an API call. I'm specifically looking for TrafficJunction.Direction. Or if there is a workaround to get the Direction from somewhere else? I noticed in the Web GUI that under "Query/Capture Record Search" that it does have the Direction information stored as "Approaching/Departing/Unknown". So if it is not possible to get it through TrafficJunction, perhaps it is possible to pull this "Capture Record Search" information.
I added a snippit of the data returned in the Summary.
So here I hoped to see something akin to items[0].Summary.TrafficCar.Event.Direction=X/Y/Z
I'm currently working on a system that will pull information of passing cars from a Dahua IPITC237-PW6M-IRLZF . It works great when there is a connection to the Camera. But I'm trying to just make a work around in case I lose connection to one of the IP Cameras, I can pull the information from the SD-card when connection is re-established.
Reading through the API docs. it seems this is possible.
I create a FileFinder with: . It returns the objectId of the "File Finder".
I then run: After this I run the "Get Next File"-call which can return up to 100 "entries" with the given parameters. This all works as described, but I noticed that some of the data I need for my system is not returned.
So this leads me to my actual question. Does anyone know if it is possible to get the information stored in the TrafficJunction Event through an API call. I'm specifically looking for TrafficJunction.Direction. Or if there is a workaround to get the Direction from somewhere else? I noticed in the Web GUI that under "Query/Capture Record Search" that it does have the Direction information stored as "Approaching/Departing/Unknown". So if it is not possible to get it through TrafficJunction, perhaps it is possible to pull this "Capture Record Search" information.
I added a snippit of the data returned in the Summary.
So here I hoped to see something akin to items[0].Summary.TrafficCar.Event.Direction=X/Y/Z
Code:
items[0].StartTime=START
items[0].Summary.TrafficCar.Category=X
items[0].Summary.TrafficCar.CountInGroup=X
items[0].Summary.TrafficCar.Country=X
items[0].Summary.TrafficCar.CustomParkNo=X
items[0].Summary.TrafficCar.Event=TrafficJunction
items[0].Summary.TrafficCar.GroupID=X
items[0].Summary.TrafficCar.IndexInGroup=X
items[0].Summary.TrafficCar.Lane=X
items[0].Summary.TrafficCar.PlateColor=X
items[0].Summary.TrafficCar.PlateNumber=X
items[0].Summary.TrafficCar.PlateType=X
items[0].Summary.TrafficCar.RecNo=X
items[0].Summary.TrafficCar.RecordBeginUTC=X
items[0].Summary.TrafficCar.RecordEndUTC=X
items[0].Summary.TrafficCar.RecordState=X
items[0].Summary.TrafficCar.Speed=X
items[0].Summary.TrafficCar.UTC=X
items[0].Summary.TrafficCar.VehicleColor=X
items[0].Summary.TrafficCar.VehicleSign=X
items[0].Summary.TrafficCar.VehicleSize=X