Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

CCTDecode

> 编程语言
Open source

Detect and decode the CCT (Circular Coded Target).

99 stars0 likes1 views
WebsiteGitHub

About

Detect and decode the CCT (Circular Coded Target).

CCTDecode

Detect and decode the CCT (Circular Coded Target).

Requirements:

python 3.7 (I don't know whether other python version would work correctly, you can have a try.)

opencv-python

pillow

numpy

matplotlib

progress

... (maybe others, you can follow the error infomation to 'pip install xxx' them.)

The main function is listed as following:

  1. Draw CCT images: DrawCCT.py

    usage:

    c
     cd root_path 
     python DrawCCT.py --bit_n=9 --size=400 --color=black      
  2. Detect and decode CCT: CCTDecodeRelease.py

    which can decode CCT from the signal image, or you can use it to decode the CCT images in the same folder.

    usage:

…

Actually, there are some args are default value which can be ignored if you follow my data construction. The whole args are listed as follows:

c
   batch=False,                // batch processing 
   bit_n=12,                   // the bit number of CCT image 
   filename=None,              // image name 
   save_folder='./result/',    // the folder for saving the processed images 
   src_folder='./data/',       // the folder which contains the source images 
   threshold=0.8               // the threshold for CCT detecion, which is between 0 and 1. 
   color=white                 // the color of CCT mark (white over black / black over white)

So, you can change these args as you whish. But remember to write it correctly and don't foget the '--' before each arg.

  1. Decode CCT from video: DecodeCCTFromVideo.py

    usage:

    c
     cd root_path 
     python DetectCCTFromVideo.py --bit_n=12 --threshold=0.7 --color=white

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言