Skip to content

A lightweight Chrome extension that captures your TradingView chart, sends it to a YOLOv8 model hosted on Hugging Face (FastAPI backend), and returns an annotated chart with detected patterns like Rising/Falling Channels, Head & Shoulders, Inverse Head & Shoulders, Double Top, and Double Bottom. Features: One-click capture of visible TradingView

Notifications You must be signed in to change notification settings

SyedAbdullahh/Stock-Chart-Pattern-Detection-Using-YOLOv8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📈 Stock Chart Pattern Detector – Chrome Extension

A Chrome Extension that captures your current TradingView chart view, sends it to a YOLOv8 model deployed on Hugging Face for inference, and displays the annotated chart with detected patterns like Rising Channel, Falling Channel,Head and Shoulders,Inverse Head and Shoulders,Double Top and Double Bottom.


🧠 Powered By

  • ✅ YOLOv8 model trained on candlestick chart patterns
  • ✅ Hugging Face Spaces (Gradio backend)
  • ✅ FastAPI inference server
  • ✅ Real-time Chrome Extension capture

Screenshots:

image image image

📸 Features

  • Capture the visible TradingView chart
  • Automatically sends the image to your detection API
  • Displays annotated image in a new browser tab
  • Lightweight and fast – one-click operation

🚀 How It Works

  1. Click the 📷 "Capture" button in the extension popup.

  2. image
  3. The extension captures the visible screen of the current tab.

  4. The image is sent to the backend via POST /predict/ with multipart/form-data.

  5. The backend runs YOLOv8 inference and returns an annotated image.

  6. The result is displayed in a new browser tab.



🔧 Setup & Installation

  1. Clone or download this repository.
  2. Open Chrome and go to chrome://extensions/.
  3. Enable Developer Mode (top-right toggle).
  4. Click "Load unpacked" and select this extension folder.
  5. The extension will appear in your toolbar. Click it and press "Capture" to test.

About

A lightweight Chrome extension that captures your TradingView chart, sends it to a YOLOv8 model hosted on Hugging Face (FastAPI backend), and returns an annotated chart with detected patterns like Rising/Falling Channels, Head & Shoulders, Inverse Head & Shoulders, Double Top, and Double Bottom. Features: One-click capture of visible TradingView

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published