Added README.md

This commit is contained in:
Hamza committed 2026-04-23 16:01:24 +02:00
1 parent 3967933773
commit aa72a62d0e
4 files changed
+19

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
# Multi-Object Detection SIFT Python Implementation
<img src="assets/Multi-Object Detection with SIFT - Pipline.png" />
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

+15
View File
@@ -1,10 +1,25 @@
from fastapi import FastAPI
import cv2
import numpy as np
from dataclasses import dataclass
@dataclass
class Templates:
name : str
image : np.ndarray
keypoints : list
descriptors: np.ndarray
app = FastAPI()
@app.get("/")
def root():
sift = cv2.SIFT_create(nfeatures=500)
flann = cv2.FlannBasedMatcher()
r = add("d", "h")
print(r)
return {"status": "READY!"}
def add(a: int, b: int) -> int:
return a + b