feat: add standalone maps-to-dxf web application
Node.js/Express server with web GUI for converting Google Maps links to DXF files. Includes optional Python ML server for satellite lot detection. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b035ed1763
commit
7c20a404bf
14 files changed
+4491
No files matched your search
@@ -0,0 +1,40 @@
|
||||
@echo off
|
||||
title MAPS to DXF - ML segmentation server
|
||||
cd /d "%~dp0"
|
||||
|
||||
where python >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
where py >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo Python not found. Install Python from https://www.python.org/downloads/
|
||||
echo Then run this script again.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
set PY=py
|
||||
) else (
|
||||
set PY=python
|
||||
)
|
||||
|
||||
if not exist "ml_server" (
|
||||
echo ml_server folder not found.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
cd ml_server
|
||||
echo Installing Python dependencies...
|
||||
"%PY%" -m pip install -r requirements.txt -q
|
||||
if %errorlevel% neq 0 (
|
||||
echo.
|
||||
echo Pip install failed. Try: pip install -r requirements.txt
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo ML segmentation server starting on http://127.0.0.1:3457
|
||||
echo Keep this window open while using "Use server-side ML segmentation" in the app.
|
||||
echo.
|
||||
"%PY%" segment_server.py
|
||||
pause
|
||||
Reference in new issue
Block a user