Instructions to use Emreuludasdemir/teknofest2026-task3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LightGlue
How to use Emreuludasdemir/teknofest2026-task3 with LightGlue:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 931 Bytes
699f3cd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Any
from src.core.frame_state import FrameEnvelope, FrameResult
from src.core.session_state import SessionState
from src.server.client import HttpResponse
class ProtocolError(RuntimeError):
"""Protokol seviyesinde beklenmeyen durum."""
class ProtocolAdapter(ABC):
@abstractmethod
def login(self) -> str:
raise NotImplementedError
@abstractmethod
def fetch_session_state(self) -> SessionState:
raise NotImplementedError
@abstractmethod
def download_image(self, frame: FrameEnvelope) -> bytes:
raise NotImplementedError
@abstractmethod
def build_wire_prediction(self, result: FrameResult) -> dict[str, Any]:
raise NotImplementedError
@abstractmethod
def send_wire_prediction(self, payload: dict[str, Any]) -> HttpResponse:
raise NotImplementedError
|