Skip to main content

Python pattern recognition [closed]

Good evening, I have a pronleme that I can not solve, when I call the function "search_figures" and I enter parameters "x, y" I have a error message.

this is the error message

>>> search_figures(x,y) av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 85.73425568394163 69.21660923542944 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 87.42386051005897 35.27685634185226 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 83.01845522622216 45.32537448340496 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 51.322646552859695 69.9527028251635 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 3.08569815272679 66.30463831578771 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 62.41033400206221 80.05712601988002 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 10 10 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 70 10 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 30 90 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 70 30 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 70 89.11423668645706 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 92.58342391495769 44.22604145548783 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 95.42720095700402 21.435826737054732 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 19.37910846507328 48.943206051376606 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 97.68362835412275 72.59631895251266 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 63.809973321904366 31.42076659631765 av 47.17788031846174 9.155162513788252 87.31106451765086 90.18098777410545 83.88946390215908 62.116866264263216 Traceback (most recent call last): File "<interactive input>", line 1, in <module> File "E:\polygone3.py", line 60, in search_figures yC=A[tri[2]+1] IndexError: list index out of range

i want to recognize differents figures in a scatterplot



source https://stackoverflow.com/questions/75422679/python-pattern-recognition

Comments

Popular posts from this blog

How to show number of registered users in Laravel based on usertype?

i'm trying to display data from the database in the admin dashboard i used this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count(); echo $users; ?> and i have successfully get the correct data from the database but what if i want to display a specific data for example in this user table there is "usertype" that specify if the user is normal user or admin i want to user the same code above but to display a specific usertype i tried this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count()->WHERE usertype =admin; echo $users; ?> but it didn't work, what am i doing wrong? source https://stackoverflow.com/questions/68199726/how-to-show-number-of-registered-users-in-laravel-based-on-usertype

Why is my reports service not connecting?

I am trying to pull some data from a Postgres database using Node.js and node-postures but I can't figure out why my service isn't connecting. my routes/index.js file: const express = require('express'); const router = express.Router(); const ordersCountController = require('../controllers/ordersCountController'); const ordersController = require('../controllers/ordersController'); const weeklyReportsController = require('../controllers/weeklyReportsController'); router.get('/orders_count', ordersCountController); router.get('/orders', ordersController); router.get('/weekly_reports', weeklyReportsController); module.exports = router; My controllers/weeklyReportsController.js file: const weeklyReportsService = require('../services/weeklyReportsService'); const weeklyReportsController = async (req, res) => { try { const data = await weeklyReportsService; res.json({data}) console

How to split a rinex file if I need 24 hours data

Trying to divide rinex file using the command gfzrnx but getting this error. While doing that getting this error msg 'gfzrnx' is not recognized as an internal or external command Trying to split rinex file using the command gfzrnx. also install'gfzrnx'. my doubt is I need to run this program in 'gfzrnx' or in 'cmdprompt'. I am expecting a rinex file with 24 hrs or 1 day data.I Have 48 hrs data in RINEX format. Please help me to solve this issue. source https://stackoverflow.com/questions/75385367/how-to-split-a-rinex-file-if-i-need-24-hours-data