fix: added model folder

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

@ -7,7 +7,7 @@
<resourceRoots> <resourceRoots>
<path value="file://$PROJECT_DIR$/assets" /> <path value="file://$PROJECT_DIR$/assets" />
<path value="file://$PROJECT_DIR$/docs" /> <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" /> <path value="file://$PROJECT_DIR$/librealsense" />
</resourceRoots> </resourceRoots>
</entryData> </entryData>

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

Loading…
Cancel
Save