Posts by pic • 460 points
17 posts
-
0
votes1
answer1603
viewsA: Format percentage in python
Just use the modifier .xf to define how many decimal places you want, in which case just replace the letter x by an integer. Note that doing so will not truncate the number, but rather round it.…
-
5
votes1
answer123
viewsQ: How to perform semantic analysis using pure functional programming without side Effect?
I wonder if there is any way to know what the current context is without using side effects as Agente of the elixir , letting semantic analysis be carried out along a pipeline of functions that walk…
-
0
votes1
answer49
viewsA: Notification permission dialog is not called in Chrome/firefox mobile
The problem was that I was trying to access within my local network and without the certificate does not work. The solution was to use the ngrook to expose the application via internet and access…
-
0
votes1
answer49
viewsQ: Notification permission dialog is not called in Chrome/firefox mobile
I’m trying to make a notification using the Notification on Chrome/firefox mobile, however I cannot request permission for the user. I put a alert to show what is the current page notification…
-
1
votes1
answer110
views -
1
votes1
answer38
viewsQ: Opencv build does not find include
I’m trying to compile a simple code just to test but when I compile with both g++ and Clang++ they say that the reference to the method was not found. I followed the steps of this official Opencv…
-
1
votes1
answer589
viewsQ: Top Bar VS Code
Is it possible to remove or hide this bar that is named after the VS Code project? Using Ubuntu 19.04…
visual-studio-codeasked pic 460 -
5
votes1
answer247
viewsQ: Remove eye shine on image
Well, I’m trying to apply Canny edge to the image but the brightness that is contained in the pupil hinders the result because to have an edge with cv2.Canny() or feature.canny() needs there to be a…
-
5
votes1
answer992
viewsQ: Image segmentation with Canny Edge Opencv
I’m trying to target the edge of both the iris and the pupil using Canny Edge from Opencv. However all the parameters I used do not meet the criterion of leaving well delimited the two edges. The…
-
3
votes1
answer87
viewsQ: Depth in some opencv methods
What is the parameter depth that appears in many opencv functions? For example from filter2D(), what I understood by what ta in the documentation would be the number of bits to represent the…
-
0
votes1
answer57
views -
2
votes1
answer488
viewsA: Black screen when running a program with Kivy
As commented by Anderson python is case-sensitive (case-sensitive), and according to the kivy documentation the method build() is in low (lower case). To correct just replace Build() for build()…
-
1
votes0
answers123
viewsQ: Create samples of various positive Opencv images
I’m creating an Aarscade to find a part of the eye, but I can’t create the image samples. I have a file containing the path for all positive images and one for all negative images, but when it comes…
-
5
votes1
answer56
viewsA: Generate new centered image at one point
I searched the OS in English and saw that my slice in the array was wrong, I do the following: array[inicio:fim][incio:fim] But the right thing so: array[inicio:fim, inicio:fim] The idea of crop…
-
3
votes1
answer56
viewsQ: Generate new centered image at one point
I did a processing and found a point in the image that meets my criteria. I need to cut the original image into a smaller one (120x120) that has that center point. I tried to do the following: img =…
-
0
votes2
answers1251
viewsQ: Foreign key for different tables (Mysql)
When executing the error query stating that it is not possible to create the Foreign Keys, I looked in the documentation and did not understand right if this code is possible or not. create table…
-
3
votes1
answer72
viewsA: Point-to-point operation on image
Try to do it like this inside for: Vec3b pixel = img.at<Vec3b>(i,j); Vec3b result = logPoint(pixel); dest.at<Vec3b>(i,j)[0] = result[0]; dest.at<Vec3b>(i,j)[1] = result[1];…