Supergiovane / node-red-contrib-hikvision-ultimate

A native set of node for Hikvision Cameras, Doorbells, Alarms, Radars etc.
https://www.facebook.com/supergiovaneDev
MIT License
51 stars 11 forks source link

Feature request: text overlay node #7

Closed xury77 closed 3 years ago

xury77 commented 3 years ago

Hi. Supergiovane. It would be nice to have a text overlay node using Hikvision ISAPI I use following flow to show temperature on video stream: textoverlay.txt Unfortunately, I don't have the skills to make a node. I don't think it would be a problem for you.

Supergiovane commented 3 years ago

Hi, will take a look for the next releases.

Supergiovane commented 3 years ago

Hi v.1.0.27 is out with a simple text overlay. For more advanced one, you can use any other node-red image manipulation node.

xury77 commented 3 years ago

Thanks. Its works fine, but my intention was use Hikvision ISAPI text overlay to lay text overlay visible on live stream, and recorded to DVR/NVR device. Same way as cooperation with POS device or a date and name of camera. However using with dashboard is also cool feature.

Supergiovane commented 3 years ago

Hi ISAPI docs are very very poorly documented, so for now i opted for a simpler way.

Supergiovane commented 3 years ago

Hi xury77 a textoverlay node with ISAPI will be out today with 1.0.28

xury77 commented 3 years ago

Hi Supergiovane. Unfortunately, it does not work for me, but I expected it, because the xml format for my DVR is probably slightly different from most hikvision IP cameras. I have a cheap TurboHD DVR DS-7104HGHI-F1. But I'll check on other cameras. My error is: client.Generic.Request.Fetch.Error: Error Response: Bad request(29,21.33.14) I suppose you used the shortened xml. as described below: https://www.iotwithus.com/hikvision-and-text-overlay/ The example from the first post in textoverlay.txt works for me. Nevertheless, I appreciate your work and thank you for that. [edited] OK. Its works!!! I fixed 83 row in hikvisionUltimateText.js node.server.request(node, "PUT", "/ISAPI/System/Video/inputs/channels/1/overlays/text", sRows); to node.server.request(node, "PUT", "/ISAPI/System/Video/inputs/channels/1/overlays", sRows); so just remove the "text" Can you make an option to selection this link? And also selector for a channel number as is in picture node.

Supergiovane commented 3 years ago

Hi If you change che channel by hand in the url, does it works?

Supergiovane commented 3 years ago

V. 1.0.29 is out. It should work for you as well.