MCPcopy Create free account
hub / github.com/Improbable-AI/VisionProTeleop / main

Function main

avp_stream/calibration_server.py:2331–2347  ·  view source on GitHub ↗

Start the calibration web server.

()

Source from the content-addressed store, hash-verified

2329 )
2330
2331def main():
2332 """Start the calibration web server."""
2333 print("=" * 60)
2334 print("CAMERA CALIBRATION WEB UI")
2335 print("=" * 60)
2336 print()
2337 print("Starting web server...")
2338 print("Open your browser to: http://localhost:5050")
2339 print()
2340 print("Press Ctrl+C to stop the server.")
2341 print()
2342
2343 # Open browser
2344 webbrowser.open('http://localhost:5050')
2345
2346 # Start Flask
2347 app.run(host='0.0.0.0', port=5050, debug=False, threaded=True)
2348
2349if __name__ == '__main__':
2350 main()

Callers 1

Calls 2

runMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected