camera IQ setting and xu command package
Project description
Project Name
Copyright (c) 2021 lorry_rui
IQ Set Usage
from pu_xu.IQ_set import iqset
test = iqset()
test.set_exposure("-2")
iq1 = {
"zoom": "120",
"brightness": "120",
"contrast": "119",
"saturation": "120",
"whitebalance": "4000",
"gain": "0",
"exposure": "-1",
"focus": "2",
"sharpness": "120",
"pan": "-1",
"tilt": "-2"
}
test.set_whitebalance("3000")
test.set_pan("-3")
test.set_brightness("120")
test.set_exposure("-1")
test.set_iq(None, True) ## this one is to set iq to be dfaut
test.set_iq(iq1) # this one for load all dictionary setting
print(test.reading_iq())
####xu_tde Library # this is for logitech camera XU use only
import pu_xu.xu_tde as lv
flag, index, value = lv.checkdevice(PID) # Flag, 0 means found. If -1 means not found.
flag1, value1 = lv.inforXURead(PID, address)
flag2, value2 = lv.TestXuRead(PID, address)
flag3, value3 = lv.TestXuWrite(PID, address, data)
flag4, value4 = lv.VideoXuRead(PID, address)
flag5, value5 = lv.VideoXuWrite(PID, zoomaddress, zoom_data)
flag6, value6 = lv.EepromWrite(PID, address, val_to_write)
flag7, value7 = lv.EepromRead(PID, address)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pu_xu-2023.10.1.1.tar.gz
(114.2 kB
view hashes)
Built Distribution
pu_xu-2023.10.1.1-py3-none-any.whl
(116.5 kB
view hashes)
Close
Hashes for pu_xu-2023.10.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17b34538f2a1e7f1e54b3f37f8f275358ecf638dc7fc6763566762d7a6e478c0 |
|
MD5 | 7a9e234ad180e7dd377ed786788be7d9 |
|
BLAKE2b-256 | 761ec3b9e4f564a31f01d417f6b791ed43e5bd19da5b209884bbc858872aca71 |