Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono #14

Merged
merged 31 commits into from
Apr 19, 2021
Merged

Mono #14

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
turn compression way down
  • Loading branch information
luke-iqt committed Mar 27, 2021
commit c8a88c39fa96db2b16d035adbce55b045ed61ec9
16 changes: 8 additions & 8 deletions Config.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,24 @@
},
{
"cell_type": "code",
"execution_count": 68,
"execution_count": 69,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<paho.mqtt.client.MQTTMessageInfo at 0x7f8d0104a9f0>"
"<paho.mqtt.client.MQTTMessageInfo at 0x7f8d01045a90>"
]
},
"execution_count": 68,
"execution_count": 69,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"client.connect(broker)\n",
"data = {}\n",
"data['cameraZoom'] = 0 # Update this Value\n",
"data['cameraZoom'] = 9999 # Update this Value\n",
"json_data = json.dumps(data)\n",
"client.publish(\"skyscan/config/json\",json_data)"
]
Expand Down Expand Up @@ -159,24 +159,24 @@
},
{
"cell_type": "code",
"execution_count": 61,
"execution_count": 70,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<paho.mqtt.client.MQTTMessageInfo at 0x7f8d010529f0>"
"<paho.mqtt.client.MQTTMessageInfo at 0x7f8d01054680>"
]
},
"execution_count": 61,
"execution_count": 70,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"client.connect(broker)\n",
"data = {}\n",
"data['cameraLead'] = 0.25 # Update this Value\n",
"data['cameraLead'] = 0.45 # Update this Value\n",
"json_data = json.dumps(data)\n",
"client.publish(\"skyscan/config/json\",json_data)"
]
Expand Down
2 changes: 1 addition & 1 deletion axis-ptz/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_jpeg_request(): # 5.2.4.1
"""
payload = {
'resolution': "1920x1080",
'compression': 5,
'compression': 0,
'camera': 1,
}
url = 'http:https://' + args.axis_ip + '/axis-cgi/jpg/image.cgi'
Expand Down