Libraries folder not showing up anywhere in file explorer

I have been trying to use a huskylens. But, my file explorer is not showing the library folder, even when I try to look everywhere. I even tried uninstalling and reinstalling. Help please!

Hi, @anishpalwa
Welcome to the forum.

What operating system?
What IDE?
What is "huskeylens"?

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

I am using Windows and the Arduino IDE. HuskyLens is a type of AI camera. Could you help me?

What version?
Where do you save your projects?
Look in that folder.

Tom.. :smiley: :+1: :coffee: :australia:

What did you install? How did you install it?

I could not immediately find a HuskyLens library on the DFRobot pages (https://www.dfrobot.com/product-1922.html and Gravity: HUSKYLENS AI Machine Vision Sensor - DFRobot Wiki) hence the questions.

Sorry, let me clarify.

I want to learn how to use the HuskyLens camera, and there is some code on a github page and following this Youtube video: https://www.youtube.com/watch?v=AgU_lKmhBn0

I am not able to find the libraries file where he puts it in, though. I am using the most recent version of the IDE and have looked in the file with my projects, but it is not there.

Thanks if you can help!

I had a quick glance at the video. They seem to have downloaded a file from GitHub - HuskyLens/HUSKYLENSArduino. If you did that, you should have a zip file somewhere on your system called HUSKYLENSArduino-master.zip.

Extract that file somewhere (in a place not related to Arduino). In that extracted file is a directory called HUSKYLENS and a file called HUSKYLENS.zip.

You have two options. Either copy the HUSKYLENS directory to the libraries directory or use the IDE to add the HUSKYLENS.zip file.

I used the latter; use sketch / include libraries / add .zip library, find the HUSKYLENS.zip file and click OK.

The issue is, I can't find either of those files to place it in. When I go to my Documents folder, it only shows the program I am trying to run.

Did you install the Arduino IDE? If not, install it.
Next start the IDE, go to file/preferences and check the sketchbook location.
Navigate to that directory using Windows Explorer (or similar for other operating systems).
There should be a libraries (I think it's with lower case L, I can't check now) directory.

This is the issue-I can't find either of those files.

Hi, @anishpalwa

Click on Files, select Preferences.
You should get the page shown below.

What is written in the "Sketchbook Location" window?

Tom.. :smiley: :+1: :coffee: :australia:

I wasn't talking about files in in reply #7 but about directories.


Screenshot 2024-07-07 135009

This is what I see. the Arduino IDE is installed. Does this answer your questions?

Hi.
It looks like you haven't installed any libraries so far. To fix this:

  1. Create a folder and call it libraries.
  2. (Optional, but recommended) Rename HUSKYLENSArduino-master to HUSKYLENSArduino.
  3. Move HUSKYLENSArduino-master (or HUSKYLENSArduino if you've followed step 2) to the libraries folder.
  4. If Arduino IDE's open, close and reopen it.

The issue is, I need it to look like this for it to be functional:

Creating the libraries folder doesn't do that for some reason. Could you help me with this?

HUSKYLENSArduino-master is not a valid library. So moving it is not the correct way to do it.

I've seen the repository by now, so let's do it in a different way:

  1. Download this file (copied from the repository).
  2. Go to Arduino IDE.
  3. Go to Sketch>Include Library>Add .ZIP Library.
  4. Select the file you've downloaded.

@amirreza_ipchi-e-haq

Did you try?
Did you read post #7?

I'll have to apologise; I did not realise that you were now suggesting another file for the download

Yes, it worked! Thank you so much!