Comments (6)
Use the zm IP address and :5000
Localhost:5000 will work if you are using a shell connected to your zm/es host.
from mlapi.
Ah ok. Well, now I get a "curl: (7) Failed to connect to localhost port 5000" error. I'm guessing I should be running mlapi or something when I try to do this? But of course when I do the "python3 ./mlapi.py -c mlapiconfig.ini" command in the mlapi folder, in the ZoneMinder logs and if I run the --debug it states secret token not found MLAPI_SECRET_KEY which I assume you get from running the 'Get an Access Token" command, but that isn't working cause of connection port 5000 error.
What would I do?
from mlapi.
That's a seperate thing. The secret key it is referring to is inside mlapiconfig.ini, you can put anything you want there it's just a "seed" to create access tokens with. You set it once and never have to worry about it again.
from mlapi.
I would focus on getting zmes setup and running first before setting mlapi up though.
from mlapi.
If you can sanitize the passwords and stuff from your config file you can post it as a github gist and then post the link here. I can look over the file and see if I can help you config it properly.
from mlapi.
Hey, don't worry about it. I got it working correctly. When you told me about just creating your own log string of text/characters for the secret key-pass, I did just that. And everything works correctly. I really appreciate it.
from mlapi.
Related Issues (20)
- Error executing remote API: Extra data: line 1 column 329 (char 328) HOT 8
- No timeout or no answer from coral Google TPU HOT 3
- Yolo v5 support HOT 1
- Support ML and stream sequences
- missing yolov3_classes.txt HOT 2
- remote ML requirements question HOT 6
- ValueError: malformed node or string: <_ast.Name object at 0x7f0e4cec2390> HOT 4
- show_percent=no not taken into account by mlapi HOT 6
- fix crappy ml_overrides approach from zm_detect to mlapi HOT 1
- platerecognizer chosen image quality HOT 2
- mlapi does not behave as ES does HOT 6
- mlapi crash on HOT 13
- RuntimeError: Internal: Unsupported data type in custom op handler HOT 2
- Unable to run mlapi as a service. Something to do with @jwt_required() HOT 4
- TypeError: 'float' object is not subscriptable HOT 2
- Error running model: invalid index to scalar variable. HOT 17
- ImportError: cannot import name 'soft_unicode' from 'markupsafe' HOT 1
- Dockerised version
- Secrets file is required, not optional HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlapi.