15,895,509 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SilentH11 (Top 8 by date)
SilentH11
25-Nov-21 20:27pm
View
you are very welcome!!!🤗
SilentH11
25-Nov-21 14:18pm
View
i dont find anything wrong with the code on the contrary i have seen a bunch of projects tried them and came out with the same result it always detects the picture
SilentH11
25-Nov-21 14:15pm
View
i have already thought about it the thing is smartphones now can actually differ
a picture from reality that gives me hope of finding the solution
SilentH11
5-Nov-21 5:19am
View
its ok i just solved it thanks mate for the help !!🤗🤗🤗🤗
SilentH11
5-Nov-21 5:06am
View
thanks they were helpful in getting imgRGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) to work but still got another error:
'numpy.ndarray' object has no attribute 'hands' after trying alot more examples another error decided to show up
Traceback (most recent call last):
File "C:/Users/hamdan/PycharmProjects/Hamdan/HandTrackingMod.py", line 49, in <module>
main()
File "C:/Users/hamdan/PycharmProjects/Hamdan/HandTrackingMod.py", line 33, in main
detector = handDetector()
File "C:/Users/hamdan/PycharmProjects/Hamdan/HandTrackingMod.py", line 16, in __init__
,self.detectCon, self.trCon)
File "C:\Users\hamdan\PycharmProjects\Hamdan\venv\lib\site-packages\mediapipe\python\solutions\hands.py", line 127, in __init__
outputs=['multi_hand_landmarks', 'multi_handedness'])
File "C:\Users\hamdan\PycharmProjects\Hamdan\venv\lib\site-packages\mediapipe\python\solution_base.py", line 260, in __init__
for name, data in (side_inputs or {}).items()
File "C:\Users\hamdan\PycharmProjects\Hamdan\venv\lib\site-packages\mediapipe\python\solution_base.py", line 260, in <dictcomp>
for name, data in (side_inputs or {}).items()
File "C:\Users\hamdan\PycharmProjects\Hamdan\venv\lib\site-packages\mediapipe\python\solution_base.py", line 513, in _make_packet
return getattr(packet_creator, 'create_' + packet_data_type.value)(data)
TypeError: create_int(): incompatible function arguments. The following argument types are supported:
1. (arg0: int) -> mediapipe.python._framework_bindings.packet.Packet
Invoked with: 0.5
[ WARN:0] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
SilentH11
21-Oct-21 14:41pm
View
thanks it was helpful 🤗🤗
SilentH11
19-Oct-21 2:27am
View
thanks for the help!!🤗
SilentH11
11-Oct-21 11:26am
View
//check the last line too
import java.awt.BorderLayout;//here i add this but doesnt work it only shows an error message "The import java.awt.BorderLayout cannot be resolved"
import java.awt.*;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Hk {
public static void main(String[] args) {
JFrame frame=new JFrame();
frame.setLayout(new BorderLayout(20,15));<---even here it doesnt give me the option to import the borderlayout
}
Show More