fix: added model folder

main
Artem-Darius Weber 2 months ago
parent 6cfbece237
commit 257bdc4ad6

@ -7,7 +7,7 @@
<resourceRoots>
<path value="file://$PROJECT_DIR$/assets" />
<path value="file://$PROJECT_DIR$/docs" />
<path value="file://$PROJECT_DIR$/models" />
<path value="file://$PROJECT_DIR$/agentic/real-sense-object-detection-and-track-service/models" />
<path value="file://$PROJECT_DIR$/librealsense" />
</resourceRoots>
</entryData>

@ -1,6 +1,5 @@
from flask import Flask, request, jsonify
from flask_cors import CORS
from Interfaces.CameraProcessor import CameraProcessor
from Algorithms.TargetFollower import TargetFollower
from Interfaces.DataProcessor import DataProcessor
import numpy as np
@ -10,10 +9,8 @@ import base64
app = Flask(__name__)
CORS(app)
camera_processor = CameraProcessor()
data_processor = DataProcessor()
@app.route('/follow-vector', methods=['POST'])
def follow_vector():
try:

Loading…
Cancel
Save