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.2.tar.gz
(114.3 kB
view hashes)
Built Distribution
pu_xu-2023.10.1.2-py3-none-any.whl
(116.6 kB
view hashes)
Close
Hashes for pu_xu-2023.10.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d7bfa9b2909f3e17928a938c50402be66e27dcdce12450e3815f15e3959ed9 |
|
MD5 | e896e8cc02a0111deeccc9cfcafa2f5d |
|
BLAKE2b-256 | 8e3af6866816a583a9331365c319f58f4076f07cd56d911b499809822fdb8f7e |