Dahua Camera Picture Overlay

bp2008

Staff member
Joined
Mar 10, 2014
Messages
10,499
Reaction score
8,596
Location
USA
I tried to use the Picture Overlay on a Dahua camera, and found it cumbersome to produce an image that fits within the constraints required by the camera. So today I built a program that converts common image formats into a small bitmap image that works with the "Picture Overlay" feature available in some Dahua cameras.

You can get it from GitHub: bp2008/DahuaPictureOverlay

Implementation Details

Dahua cameras require the overlay image to be in BMP format with a 256 color palette, no larger than 16 KiB, and no larger than 128x128 pixels. Additionally, BMP files written by other software may or may not work fully depending on the header format used by that software. There are about a dozen bitmap header format specifications, and I had to try three different ones before I found a format that works well with my cameras. RLE bitmap compression does not appear to be properly supported by the cameras.
 

th182

BIT Beta Team
Joined
Sep 11, 2018
Messages
484
Reaction score
577
Location
Minnesota
Now I need to come up with a reason to use the overlay! Thank you for all your contributions to the community!


Sent from my iPhone using Tapatalk
 

tech101

Getting comfortable
Joined
Mar 30, 2015
Messages
762
Reaction score
802
Location
SF BayArea
I tried to use the Picture Overlay on a Dahua camera, and found it cumbersome to produce an image that fits within the constraints required by the camera. So today I built a program that converts common image formats into a small bitmap image that works with the "Picture Overlay" feature available in some Dahua cameras.

You can get it from GitHub: bp2008/DahuaPictureOverlay

Implementation Details

Dahua cameras require the overlay image to be in BMP format with a 256 color palette, no larger than 16 KiB, and no larger than 128x128 pixels. Additionally, BMP files written by other software may or may not work fully depending on the header format used by that software. There are about a dozen bitmap header format specifications, and I had to try three different ones before I found a format that works well with my cameras. RLE bitmap compression does not appear to be properly supported by the cameras.
Amazing! Thank you so much !
 
Top