Skip to content

Commit

Permalink
adapt code convention names
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel-brostrom authored and Mikel Broström committed Jun 20, 2024
1 parent 49e7938 commit 2375bdf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from abc import ABC, abstractmethod


class CMCInterface(ABC):
class BaseCMC(ABC):

@abstractmethod
def apply(self, im):
Expand Down
4 changes: 2 additions & 2 deletions boxmot/motion/cmc/ecc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import cv2
import numpy as np

from boxmot.motion.cmc.cmc_interface import CMCInterface
from boxmot.motion.cmc.base_cmc import BaseCMC
from boxmot.utils import BOXMOT
from boxmot.utils import logger as LOGGER


class ECC(CMCInterface):
class ECC(BaseCMC):
def __init__(
self,
warp_mode: int = cv2.MOTION_EUCLIDEAN,
Expand Down
4 changes: 2 additions & 2 deletions boxmot/motion/cmc/orb.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import cv2
import numpy as np

from boxmot.motion.cmc.cmc_interface import CMCInterface
from boxmot.motion.cmc.base_cmc import BaseCMC
from boxmot.utils import BOXMOT


class ORB(CMCInterface):
class ORB(BaseCMC):

def __init__(
self,
Expand Down
4 changes: 2 additions & 2 deletions boxmot/motion/cmc/sift.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import cv2
import numpy as np

from boxmot.motion.cmc.cmc_interface import CMCInterface
from boxmot.motion.cmc.base_cmc import BaseCMC
from boxmot.utils import BOXMOT


class SIFT(CMCInterface):
class SIFT(BaseCMC):

def __init__(
self,
Expand Down
4 changes: 2 additions & 2 deletions boxmot/motion/cmc/sof.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import cv2
import numpy as np

from boxmot.motion.cmc.cmc_interface import CMCInterface
from boxmot.motion.cmc.base_cmc import BaseCMC
from boxmot.utils import BOXMOT
from boxmot.utils import logger as LOGGER


class SOF(CMCInterface):
class SOF(BaseCMC):

def __init__(
self,
Expand Down

0 comments on commit 2375bdf

Please sign in to comment.