Overlay from received data. #1060
Replies: 9 comments 8 replies
-
|
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @KBarringer90 , There are multiple ways of sending the POS data to the Axis camera overlay: VAPIXACAP
MQTT OverlayHow to add MQTT overlays in Axis devices Use 3rd Party paid ACAP solution:Electronic scale data integration with Lantronix and Axis Camera Station Serial communication directly with the Axis Camera:I don't think you have the option here to use serial communication directly as mentioned in page 38 of NVS_User_Guide_6-0 with the AXIS P1465-LE Bullet Camera and AXIS P1455-LE Network Camera using axserialport example.
For example, the serial port can be found in the AXIS Q1728 Block Camera |
Beta Was this translation helpful? Give feedback.
-
|
You need write an ACAP to open the port inside the camera and monitor the data on that port, after receiving the xml, try to add them to camera overlay via axoverlay, The main overlay sample is here: |
Beta Was this translation helpful? Give feedback.
-
|
@KBarringer90 ping me if you need help |
Beta Was this translation helpful? Give feedback.
-
|
Based on what I see, the information is sent in an XML format. I'm not positive if that's what you need. As for the data format, I can get that for you here shortly. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, that’s how it is sent. It is raw xml.
Kenneth Barringer
IT Analyst
|
Beta Was this translation helpful? Give feedback.
-
|
@KenB1990 ok so whats the issue ? you can send this to an ACAP application, did you try that ? you just need to open a socket listen on them for your xml and use axoverlay then to display your data =) |
Beta Was this translation helpful? Give feedback.
-
|
Just beware that if you use axoverlay in ACAP, the overlay info is only available in rtsp/http video streaming, not in the jpeg for example, if you take a snapshot with http://192.168.1.115/axis-cgi/jpg/image.cgi, it will not contains the overlay info. To have it both in video streaming and jpg, you should use the VAPIX dynamic overlay API in ACAP. |
Beta Was this translation helpful? Give feedback.
-
|
@KenB1990 you could decide if these need to run in camera or may on that PC where the driver runs. You could just write a simple Programm that create a TCP Server inspect the XML, take a snapshot from camera and made the overlay via an option that the programming language provide. Since its windows may c# fits best because it would easy to run that as an windows service. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to work on a project for the P-1465 and the P-1455 that can be installed on the camera, and it will take a snapshot of what's on the scale, and on the image, put an overlay on it that contains the received information. I've worked through numerous amounts of this code, and the main problem is after getting it to the .eap file, the camera doesn't accept it.
We have a system that sends xml data to an IP and Port via a windows generic text driver, and currently another device receives it and overlays the information across the image. Well, we are trying to do this same thing, but have it run on the camera themselves. I'm at my wits end on this and I'm not an expert developer. Can anyone possibly help with this or have any ideas how to make this work? The image explains the goal basically.
Beta Was this translation helpful? Give feedback.
All reactions