GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tkinjo1985/lobe_localapi: How to use Lobe Local API from Python

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cat.101.png
cat.101.png
 
 
cat.102.png
cat.102.png
 
 
image_utils.py
image_utils.py
 
 
request_utils.py
request_utils.py
 
 
requirements.txt
requirements.txt
 
 
sample_predict.py
sample_predict.py
 
 

Repository files navigation

How to use Lobe Local API

After Training...

1, [File]-[Export]-[Local API]

2, copy URL(http://localhost:38100/predict/xxxx)

3, Try it with this sample code.

from image_utils import image2base64
from request_utils import predict_from_base64

url = 'Lobe LocalAPI URL'
x = image2base64('image file(jpeg or jpg or png)')
result = predict_from_base64(x, url)
print(result)

About

How to use Lobe Local API from Python

Topics

lobepython

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.